Changeset 6459 in orxonox.OLD for branches/network/src/story_entities
- Timestamp:
- Jan 10, 2006, 2:00:20 AM (19 years ago)
- Location:
- branches/network/src/story_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/story_entities/game_world.cc
r6424 r6459 200 200 this->isRunning = true; 201 201 202 State::setCurrentStoryEntity(dynamic_cast<StoryEntity*>(this)); 203 202 204 this->run(); 203 205 } -
branches/network/src/story_entities/game_world.h
r6424 r6459 9 9 10 10 #include "story_entity.h" 11 11 #include "game_world_data.h" 12 12 13 13 class TiXmlElement; … … 56 56 57 57 58 inline void setSky(WorldEntity* sky) { this->dataTank->sky = sky; } 59 60 58 61 protected: 59 62 /* world - running functions */ -
branches/network/src/story_entities/multi_player_world_data.cc
r6424 r6459 48 48 49 49 #include "glmenu_imagescreen.h" 50 50 51 51 52 … … 177 178 this->localPlayer = new Player(); 178 179 Playable* playable; 179 const list<BaseObject*>* playableList = ClassList::getList(CL_PLAYABLE); 180 const std::list<BaseObject*>* playableList = ClassList::getList(CL_PLAYABLE); 181 assert( playableList != NULL); 182 183 std::list<BaseObject*>::const_iterator entity; 184 for (entity = playableList->begin(); entity != playableList->end(); entity++) 185 PRINTF(0)("Got a playable, class: %s, name: %s\n", (*entity)->getClassName(), (*entity)->getName()); 186 187 180 188 if (playableList != NULL) 181 189 { … … 184 192 } 185 193 186 187 194 /* init the pnode tree */ 188 195 PNode::getNullParent()->init();
Note: See TracChangeset
for help on using the changeset viewer.