Changeset 6364 in orxonox.OLD
- Timestamp:
- Dec 30, 2005, 11:56:26 PM (19 years ago)
- Location:
- branches/network/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/story_entities/multi_player_world.cc
r6363 r6364 87 87 void MultiPlayerWorld::loadParams(const TiXmlElement* root) 88 88 { 89 static_cast< MultiPlayerWorld*>(this)->loadParams(root);89 static_cast<GameWorld*>(this)->loadParams(root); 90 90 91 91 PRINTF(4)("Creating a MultiPlayerWorld\n"); … … 102 102 ErrorMessage MultiPlayerWorld::preLoad() 103 103 { 104 static_cast< MultiPlayerWorld*>(this)->preLoad();104 static_cast<GameWorld*>(this)->preLoad(); 105 105 106 106 /* the the single player specific stuff */ … … 113 113 ErrorMessage MultiPlayerWorld::load() 114 114 { 115 static_cast< MultiPlayerWorld*>(this)->load();115 static_cast<GameWorld*>(this)->load(); 116 116 117 117 /* the the single player specific stuff here */ … … 124 124 ErrorMessage MultiPlayerWorld::postLoad() 125 125 { 126 static_cast< MultiPlayerWorld*>(this)->postLoad();126 static_cast<GameWorld*>(this)->postLoad(); 127 127 128 128 /* the single player specific stuff here */ -
branches/network/src/story_entities/single_player_world.cc
r6363 r6364 88 88 void SinglePlayerWorld::loadParams(const TiXmlElement* root) 89 89 { 90 static_cast< SinglePlayerWorld*>(this)->loadParams(root);90 static_cast<GameWorld*>(this)->loadParams(root); 91 91 92 92 PRINTF(4)("Creating a SinglePlayerWorld\n"); … … 103 103 ErrorMessage SinglePlayerWorld::preLoad() 104 104 { 105 static_cast< SinglePlayerWorld*>(this)->preLoad();105 static_cast<GameWorld*>(this)->preLoad(); 106 106 107 107 /* the the single player specific stuff */ … … 114 114 ErrorMessage SinglePlayerWorld::load() 115 115 { 116 static_cast< SinglePlayerWorld*>(this)->load();116 static_cast<GameWorld*>(this)->load(); 117 117 118 118 /* the the single player specific stuff here */ … … 136 136 ErrorMessage SinglePlayerWorld::postLoad() 137 137 { 138 static_cast< SinglePlayerWorld*>(this)->postLoad();138 static_cast<GameWorld*>(this)->postLoad(); 139 139 140 140 /* the single player specific stuff here */
Note: See TracChangeset
for help on using the changeset viewer.