Changeset 4005 in orxonox.OLD for orxonox/branches/ll2trunktemp/src/story_entities/world.cc
- Timestamp:
- Apr 28, 2005, 8:24:43 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/ll2trunktemp/src/story_entities/world.cc
r4004 r4005 158 158 this->setPath( name); 159 159 } 160 161 this->localPlayer = NULL;162 163 160 } 164 161 … … 333 330 //todo do this more elegant 334 331 if( element->Value() != NULL && !strcmp( element->Value(), "Player")) localPlayer = (Player*) created; 332 if( element->Value() != NULL && !strcmp( element->Value(), "SkyBox")) skyBox = (SkyBox*) created; 335 333 element = element->NextSiblingElement(); 336 334 } … … 456 454 lightMan->debug(); 457 455 lightMan->setPosition(-5.0, 10.0, -40.0); 458 459 460 // Create SkySphere461 this->skySphere = new Skysphere("../data/pictures/sky-replace.jpg");462 this->skySphere->setName("SkySphere");463 this->localCamera->addChild(this->skySphere);464 spawn(skySphere);465 466 456 467 457 // trackManager->setBindSlave(env);
Note: See TracChangeset
for help on using the changeset viewer.