Changeset 4607 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Jun 12, 2005, 7:12:40 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r4600 r4607 396 396 if( element->Value() != NULL && !strcmp( element->Value(), "Player")) localPlayer = (Player*) created; 397 397 if( element->Value() != NULL && !strcmp( element->Value(), "SkyBox")) sky = (SkyBox*) created; 398 if( element->Value() != NULL && !strcmp( element->Value(), "Terrain")) terrain = (Terrain*) created; 398 399 element = element->NextSiblingElement(); 399 400 glmis->step(); //! \todo temporary … … 444 445 // lightMan->setDiffuseColor(0,0,0); 445 446 //lightMan->debug(); 446 lightMan->setPosition(-5.0, 10.0, -40.0); 447 lightMan->setPosition(-5.0, 50.0, -40.0); 448 lightMan->addLight(); 449 lightMan->setPosition(100, 80, 60); 447 450 448 451 // trackManager->setBindSlave(env); … … 467 470 //trackManager->debug(2); 468 471 glEndList(); 469 470 terrain = new Terrain("worlds/newGround.obj");471 terrain->setRelCoor(Vector(0,-10,0));472 this->spawn(terrain);473 472 474 473 SoundEngine::getInstance()->setListener(this->localCamera);
Note: See TracChangeset
for help on using the changeset viewer.