Changeset 4918 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Jul 21, 2005, 12:37:46 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r4917 r4918 276 276 277 277 GraphicsEngine::getInstance()->displayFPS(true); 278 279 CDEngine::getInstance()->setEntityList( this->entities); 278 280 } 279 281 … … 377 379 if( element->Value() != NULL && !strcmp( element->Value(), "Player")) localPlayer = (Player*) created; 378 380 if( element->Value() != NULL && !strcmp( element->Value(), "SkyBox")) sky = (SkyBox*) created; 379 if( element->Value() != NULL && !strcmp( element->Value(), "Terrain")) terrain = (Terrain*) created; 381 if( element->Value() != NULL && !strcmp( element->Value(), "Terrain")) 382 { 383 terrain = (Terrain*) created; 384 CDEngine::getInstance()->setTerrain(terrain); 385 } 380 386 element = element->NextSiblingElement(); 381 387 glmis->step(); //! @todo temporary … … 949 955 void World::collide() 950 956 { 951 957 CDEngine::getInstance()->checkCollisions(); 952 958 } 953 959
Note: See TracChangeset
for help on using the changeset viewer.