Changeset 6460 in orxonox.OLD for branches/network/src
- Timestamp:
- Jan 10, 2006, 2:05:57 AM (19 years ago)
- Location:
- branches/network/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/story_entities/game_world.cc
r6459 r6460 131 131 this->shell = new Shell(); 132 132 133 State::setCurrentStoryEntity(dynamic_cast<StoryEntity*>(this)); 133 134 this->dataTank->init(); 134 135 } … … 199 200 this->isPaused = false; 200 201 this->isRunning = true; 201 202 State::setCurrentStoryEntity(dynamic_cast<StoryEntity*>(this));203 202 204 203 this->run(); -
branches/network/src/story_entities/multi_player_world_data.cc
r6459 r6460 181 181 assert( playableList != NULL); 182 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 188 183 if (playableList != NULL) 189 184 { … … 192 187 } 193 188 189 /* some debug output */ 190 PRINT(0)("==================================================\n"); 191 std::list<BaseObject*>::const_iterator entity; 192 for (entity = playableList->begin(); entity != playableList->end(); entity++) 193 PRINTF(0)("Got a playable, class: %s, name: %s\n", (*entity)->getClassName(), (*entity)->getName()); 194 195 196 PNode* cam = State::getCameraTarget(); 197 PRINT(0)("Camera has target - class: %s, name: %s\n", cam->getClassName(), cam->getName()); 198 199 200 PRINT(0)("==================================================\n"); 201 202 194 203 /* init the pnode tree */ 195 204 PNode::getNullParent()->init();
Note: See TracChangeset
for help on using the changeset viewer.