Changeset 9973 in orxonox.OLD for branches/gui
- Timestamp:
- Nov 29, 2006, 4:51:57 PM (18 years ago)
- Location:
- branches/gui/src/world_entities
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/world_entities/Makefile.am
r9869 r9973 28 28 spawning_point.cc \ 29 29 \ 30 terminal/terminal.cc \ 31 terminal/questGUI.cc \ 30 32 \ 31 33 effects/explosion.cc \ … … 58 60 spawning_point.h \ 59 61 \ 62 terminal/terminal.h \ 63 terminal/questGUI.h \ 60 64 \ 61 65 effects/explosion.h \ -
branches/gui/src/world_entities/WorldEntities.am
r9967 r9973 26 26 \ 27 27 world_entities/terminal/terminal.cc \ 28 world_entities/terminal/questGUI.cc \ 28 29 \ 29 30 world_entities/weapons/test_gun.cc \ … … 131 132 \ 132 133 terminal/terminal.h \ 134 terminal/questGUI.h \ 133 135 \ 134 136 weapons/test_gun.h \ -
branches/gui/src/world_entities/terminal/terminal.cc
r9967 r9973 22 22 #include "terminal.h" 23 23 24 #include "event_handler.h" 25 26 #include "state.h" 27 28 #include "util/loading/load_param.h" 29 #include "util/loading/factory.h" 30 31 #include "graphics_engine.h" 32 #include "camera.h" 33 #include "sound_engine.h" 34 35 #include "sound_source.h" 36 37 #include "glgui.h" 38 #include "menu/glgui_imagebutton.h" 39 #include "glgui_text.h" 24 40 25 41 26 42 ObjectListDefinition(Terminal); 27 43 28 44 CREATE_FACTORY(Terminal); 29 45 30 46 … … 35 51 this->toList(OM_GROUP_00); 36 52 37 this->guiInit();38 53 39 54 if( root != NULL) 55 this->loadParams(root); 40 56 41 57 } 42 58 43 44 Terminal::~Terminal (){}59 Terminal::~Terminal () 60 {} 45 61 46 62 … … 55 71 WorldEntity::loadParams(root); 56 72 } 57 58 59 60 61 /**62 * initializes the gui63 */64 void Terminal::guiInit()65 {66 67 68 } -
branches/gui/src/world_entities/terminal/terminal.h
r9967 r9973 4 4 5 5 #include "world_entity.h" 6 #include "glgui.h" 7 #include <vector> 6 8 7 9 8 10 9 class Terminal : public WorldEntity { 11 class Terminal : public WorldEntity 12 { 10 13 11 14 ObjectListDeclaration(Terminal); 12 public: 15 16 public: 13 17 Terminal (const TiXmlElement* root); 14 virtual ~Terminal ();18 virtual ~Terminal (); 15 19 16 virtual void loadParams(const TiXmlElement* root = NULL);20 virtual void loadParams(const TiXmlElement* root = NULL); 17 21 18 19 20 private: 21 22 void guiInit(); 22 private: 23 23 24 24 };
Note: See TracChangeset
for help on using the changeset viewer.