Changeset 4607 in orxonox.OLD for orxonox/trunk/src/world_entities/terrain.cc
- Timestamp:
- Jun 12, 2005, 7:12:40 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/terrain.cc
r4597 r4607 16 16 17 17 #include "terrain.h" 18 #include "stdincl.h" 18 19 19 #include "model.h" 20 20 #include "vector.h" 21 21 #include "glincl.h" 22 22 23 #include "factory.h" 24 #include "load_param.h" 25 23 26 using namespace std; 24 27 28 CREATE_FACTORY(Terrain); 25 29 26 30 /** … … 28 32 29 33 */ 30 Terrain::Terrain ( )34 Terrain::Terrain (const TiXmlElement* root) 31 35 { 32 36 this->init(); 37 this->loadParams(root); 33 38 } 34 39 … … 68 73 69 74 */ 70 Terrain::~Terrain ( )75 Terrain::~Terrain (void) 71 76 { 72 77 if (objectList) … … 82 87 } 83 88 84 89 void Terrain::loadParams(const TiXmlElement* root) 90 { 91 static_cast<WorldEntity*>(this)->loadParams(root); 92 93 //LoadParam<Terrain>(root, "DebugTerrain", ); 94 95 96 } 85 97 86 98 void Terrain::draw ()
Note: See TracChangeset
for help on using the changeset viewer.