Changeset 6459 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- Jan 10, 2006, 2:00:20 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_game_manager.cc
r6424 r6459 25 25 26 26 #include "p_node.h" 27 #include "state.h" 28 #include "game_world.h" 29 #include "world_entity.h" 27 30 28 31 … … 474 477 s->setIsOutOfSync( true ); 475 478 PRINTF(0)("Fabricated %s with id %d\n", s->getClassName(), s->getUniqueID()); 479 480 481 if( !strcmp( s->getClassName(), "SkyBox")) 482 { 483 PRINTF(0)("==> Created the Sky!\n"); 484 (dynamic_cast<GameWorld*>(State::getCurrentStoryEntity()))->setSky( dynamic_cast<WorldEntity*>(s) ); 485 } 486 // this->sky = dynamic_cast<WorldEntity*>(created); 487 if( !strcmp( s->getClassName(), "Terrain")) 488 { 489 PRINTF(0)("==> Created the Terrain\n"); 490 // this->terrain = dynamic_cast<Terrain*>(created); 491 // CDEngine::getInstance()->setTerrain(terrain); 492 } 493 476 494 return b; 477 495 }
Note: See TracChangeset
for help on using the changeset viewer.