Changeset 6263 in orxonox.OLD for branches/height_map/src/story_entities
- Timestamp:
- Dec 22, 2005, 6:43:49 PM (19 years ago)
- Location:
- branches/height_map/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/height_map/src/story_entities/world.cc
r6074 r6263 73 73 #include "playable.h" 74 74 75 #include "vertex_array_model.h" 76 75 77 76 78 SHELL_COMMAND(speed, World, setSpeed); … … 384 386 localCamera->lookAt(playable); 385 387 // this->localPlayer->setParentMode(PNODE_ALL); 386 if (sky != NULL) 387 { 388 this->sky->setParent(this->localCamera); 389 this->sky->setParentMode(PNODE_MOVEMENT); 390 } 388 // if (sky != NULL) 389 // { 390 // this->sky->setParent(this->localCamera); 391 // this->sky->setParentMode(PNODE_MOVEMENT); 392 // } 393 394 VertexArrayModel* mod = new VertexArrayModel; 395 mod->planeModel(); 396 mod->finalize(); 397 mod->debug(); 398 this->TEST = mod; 399 this->testMat = new Material; 400 this->testMat->setDiffuse( 1,1,1); 391 401 392 402 // initialize debug coord system … … 826 836 GraphicsEngine::getInstance()->draw(); 827 837 //TextEngine::getInstance()->draw(); 838 this->testMat->select(); 839 this->TEST->draw(); 828 840 } 829 841 -
branches/height_map/src/story_entities/world.h
r6048 r6263 25 25 class OggPlayer; 26 26 template<class T> class tList; 27 28 #include "vertex_array_model.h" 29 #include "material.h" 27 30 28 31 //! The game world … … 116 119 WorldEntity* sky; //!< The Environmental Heaven of orxonox @todo insert this to environment insted 117 120 Terrain* terrain; //!< The Terrain of the World. 118 121 Material* testMat; 122 Model* TEST; 119 123 GLuint objectList; //!< temporary: @todo this will be ereased soon 120 124 tList<WorldEntity>* entities; //!< A template List of all entities. Every moving thing should be included here, and world automatically updates them.
Note: See TracChangeset
for help on using the changeset viewer.