Changeset 1502 for code/trunk/src/orxonox/hud/OverlayElementFactories.h
- Timestamp:
- Jun 1, 2008, 3:54:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/hud/OverlayElementFactories.h
r1362 r1502 1 1 /* 2 * ORXONOX - the hottest 3D action shooter ever to exist 3 * 4 * 5 * License notice: 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License 9 * as published by the Free Software Foundation; either version 2 10 * of the License, or (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 * 21 * Author: 22 * Yuning Chai 23 * Co-authors: 24 * Felix Schulthess 25 * 26 */ 2 * ORXONOX - the hottest 3D action shooter ever to exist 3 * > www.orxonox.net < 4 * 5 * 6 * License notice: 7 * 8 * This program is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU General Public License 10 * as published by the Free Software Foundation; either version 2 11 * of the License, or (at your option) any later version. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with this program; if not, write to the Free Software 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 21 * 22 * Author: 23 * Yuning Chai 24 * Co-authors: 25 * Felix Schulthess 26 * 27 */ 27 28 28 #ifndef _ FACTORIES_H__29 #define _ FACTORIES_H__29 #ifndef _OverlayElementFactories_H__ 30 #define _OverlayElementFactories_H__ 30 31 32 #include "OrxonoxPrereqs.h" 33 34 #include <OgrePrerequisites.h> 31 35 #include <OgreOverlayElement.h> 32 #include <OgrePrerequisites.h>33 36 #include <OgreOverlayElementFactory.h> 34 37 35 38 #include "BarOverlayElement.h" 39 #include "RadarOverlayElement.h" 36 40 37 41 namespace orxonox{ 38 42 class _OrxonoxExport BarOverlayElementFactory : public Ogre::OverlayElementFactory{ 39 43 public: 40 44 Ogre::OverlayElement* createOverlayElement(const Ogre::String& instanceName){ 41 45 return new BarOverlayElement(instanceName); … … 48 52 49 53 class _OrxonoxExport RadarOverlayElementFactory : public Ogre::OverlayElementFactory{ 50 54 public: 51 55 Ogre::OverlayElement* createOverlayElement(const Ogre::String& instanceName){ 52 56 return new RadarOverlayElement(instanceName); … … 59 63 } 60 64 61 #endif 65 #endif /* _OverlayElementFactories_H__ */
Note: See TracChangeset
for help on using the changeset viewer.