Changeset 6412 in orxonox.OLD for branches/network/src/story_entities
- Timestamp:
- Jan 6, 2006, 1:28:36 PM (19 years ago)
- Location:
- branches/network/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/story_entities/game_world.cc
r6409 r6412 319 319 { 320 320 /* the frame-rate is limited to 100 frames per second, all other things are for nothing. */ 321 PRINTF(0)("fps = 1000 - frame rate is adjusted\n");321 //PRINTF(0)("fps = 1000 - frame rate is adjusted\n"); 322 322 SDL_Delay(10 - dt); 323 323 this->dt = 10; -
branches/network/src/story_entities/multi_player_world_data.cc
r6409 r6412 145 145 BaseObject* created = NetworkGameManager::getInstance()->createEntity(element); 146 146 if( created != NULL ) 147 PRINTF(1)("Created a %s: %s \n", created->getClassName(), created->getName());147 PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClassName(), created->getName(), created->getLeafClassID(), element->Value()); 148 148 else 149 149 PRINTF(1)("NetworkWorld: could not create this entity\n"); … … 158 158 } 159 159 /* clients only spawn the SpaceShip */ 160 /// FIXME it is not said to be a SpaceShip 160 161 else if( !strcmp( element->Value(), "SpaceShip")) 161 162 { 162 163 BaseObject* created = Factory::fabricate(element); 163 164 if( created != NULL ) 164 PRINTF(1)("Created a %s: %s \n", created->getClassName(), created->getName());165 PRINTF(1)("Created a %s: %s (%8.u)\n", created->getClassName(), created->getName(), created->getLeafClassID()); 165 166 else 166 167 PRINTF(1)("NetworkWorld: could not create this entity\n");
Note: See TracChangeset
for help on using the changeset viewer.