Changeset 6363 in orxonox.OLD for branches/network
- Timestamp:
- Dec 30, 2005, 11:36:13 PM (19 years ago)
- Location:
- branches/network/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/Makefile.am
r6357 r6363 100 100 story_entities/single_player_world.h \ 101 101 story_entities/multi_player_world.h \ 102 story_entities/network_world.h \103 102 world_entities/world_entity.h \ 104 103 world_entities/camera.h \ -
branches/network/src/story_entities/game_world.h
r6360 r6363 79 79 virtual void display (); 80 80 81 virtual void debug ();82 83 81 84 82 protected: -
branches/network/src/story_entities/multi_player_world.cc
r6361 r6363 32 32 33 33 MultiPlayerWorld::MultiPlayerWorld(const TiXmlElement* root) 34 : GameWorld(root) 34 35 { 35 36 this->constuctorInit("", -1); … … 86 87 void MultiPlayerWorld::loadParams(const TiXmlElement* root) 87 88 { 88 static_cast< GameWorld*>(this)->loadParams(root);89 static_cast<MultiPlayerWorld*>(this)->loadParams(root); 89 90 90 91 PRINTF(4)("Creating a MultiPlayerWorld\n"); … … 99 100 * before the load and after the proceeding storyentity has finished 100 101 */ 101 ErrorMessage GameWorld::preLoad()102 ErrorMessage MultiPlayerWorld::preLoad() 102 103 { 103 static_cast< GameWorld*>(this)->preLoad();104 static_cast<MultiPlayerWorld*>(this)->preLoad(); 104 105 105 106 /* the the single player specific stuff */ … … 108 109 109 110 /** 110 * loads the GameWorld by initializing all resources, and set their default values.111 * loads the MultiPlayerWorld by initializing all resources, and set their default values. 111 112 */ 112 ErrorMessage GameWorld::load()113 ErrorMessage MultiPlayerWorld::load() 113 114 { 114 static_cast< GameWorld*>(this)->load();115 static_cast<MultiPlayerWorld*>(this)->load(); 115 116 116 117 /* the the single player specific stuff here */ … … 119 120 120 121 /** 121 * post loads the GameWorld by initializing all resources, and set their default values.122 * post loads the MultiPlayerWorld by initializing all resources, and set their default values. 122 123 */ 123 ErrorMessage GameWorld::postLoad()124 ErrorMessage MultiPlayerWorld::postLoad() 124 125 { 125 static_cast< GameWorld*>(this)->postLoad();126 static_cast<MultiPlayerWorld*>(this)->postLoad(); 126 127 127 128 /* the single player specific stuff here */ -
branches/network/src/story_entities/single_player_world.cc
r6360 r6363 88 88 void SinglePlayerWorld::loadParams(const TiXmlElement* root) 89 89 { 90 static_cast< GameWorld*>(this)->loadParams(root);90 static_cast<SinglePlayerWorld*>(this)->loadParams(root); 91 91 92 92 PRINTF(4)("Creating a SinglePlayerWorld\n"); … … 101 101 * before the load and after the proceeding storyentity has finished 102 102 */ 103 ErrorMessage GameWorld::preLoad()103 ErrorMessage SinglePlayerWorld::preLoad() 104 104 { 105 static_cast< GameWorld*>(this)->preLoad();105 static_cast<SinglePlayerWorld*>(this)->preLoad(); 106 106 107 107 /* the the single player specific stuff */ … … 110 110 111 111 /** 112 * loads the GameWorld by initializing all resources, and set their default values.112 * loads the SinglePlayerWorld by initializing all resources, and set their default values. 113 113 */ 114 ErrorMessage GameWorld::load()114 ErrorMessage SinglePlayerWorld::load() 115 115 { 116 static_cast< GameWorld*>(this)->load();116 static_cast<SinglePlayerWorld*>(this)->load(); 117 117 118 118 /* the the single player specific stuff here */ … … 132 132 133 133 /** 134 * post loads the GameWorld by initializing all resources, and set their default values.134 * post loads the SinglePlayerWorld by initializing all resources, and set their default values. 135 135 */ 136 ErrorMessage GameWorld::postLoad()136 ErrorMessage SinglePlayerWorld::postLoad() 137 137 { 138 static_cast< GameWorld*>(this)->postLoad();138 static_cast<SinglePlayerWorld*>(this)->postLoad(); 139 139 140 140 /* the single player specific stuff here */
Note: See TracChangeset
for help on using the changeset viewer.