Changeset 4621 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Jun 13, 2005, 2:29:41 PM (20 years ago)
- Location:
- orxonox/trunk/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r4620 r4621 458 458 localCamera->setParentMode(PNODE_MOVEMENT); 459 459 localCamera->setClipRegion(1, 10000.0); 460 this->sky->setSize(10000.0);461 460 this->localPlayer->setParentMode(PNODE_ALL); 462 461 Vector* cameraOffset = new Vector (0, 5, -10); … … 641 640 642 641 // Create SkySphere 643 //this->sky = new Skysphere("pictures/sky-replace.jpg");644 //this->sky->setName("SkySphere");645 //this->spawn(this->sky);642 this->sky = new Skysphere("pictures/sky-replace.jpg"); 643 this->sky->setName("SkySphere"); 644 this->spawn(this->sky); 646 645 this->localCamera->addChild(this->sky); 647 646 this->sky->setParentMode(PNODE_MOVEMENT); … … 1044 1043 this->dt = 10; 1045 1044 } 1046 //this->timeSlice (dt); 1047 1048 /* function to let all entities tick (iterate through list) */ 1045 1049 1046 this->dtS = (float)this->dt / 1000.0; 1050 1047 this->gameTime += this->dtS; -
orxonox/trunk/src/story_entities/world.h
r4620 r4621 27 27 class PilotNode; 28 28 class EventHandler; 29 class SkyBox;30 29 31 30 //! The game world Interface … … 121 120 ParticleEngine* particleEngine; //!< The ParticleEngine of the World. 122 121 Camera* localCamera; //!< The current Camera 123 SkyBox* sky;//!< The Environmental Heaven of orxonox \todo insert this to environment insted122 WorldEntity* sky; //!< The Environmental Heaven of orxonox \todo insert this to environment insted 124 123 LightManager* lightMan; //!< The Lights of the Level 125 124 Terrain* terrain; //!< The Terrain of the World.
Note: See TracChangeset
for help on using the changeset viewer.