- Timestamp:
- Apr 19, 2006, 5:46:35 PM (19 years ago)
- Location:
- branches/bsp_model
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/Makefile.am
r6532 r7352 16 16 height_map.cc \ 17 17 media_container.cc \ 18 movie_player.cc 18 movie_player.cc \ 19 bsp_tree_node.cc \ 20 bsp_file.cc \ 21 bsp_manager.cc 19 22 20 23 libtc_a_SOURCES = tc.cc … … 36 39 anormtab.h \ 37 40 media_container.h \ 38 movie_player.h 41 movie_player.h \ 42 bsp_tree_node.h \ 43 bsp_file.h \ 44 bsp_manager.h -
branches/bsp_model/src/world_entities/terrain.cc
r7221 r7352 30 30 31 31 #include "glincl.h" 32 32 #include "lib/graphics/importer/bsp_manager.h" 33 33 #include "state.h" 34 34 … … 107 107 this->toList(OM_ENVIRON_NOTICK); 108 108 109 109 this->objectList = 0; 110 110 this->ssp = NULL; 111 111 this->vegetation = NULL; 112 112 113 this->bspManager = new BspManager(); 113 114 this->heightMap = NULL; 114 115 115 this->heightMapMaterial = new Material(); 116 this->heightMapMaterial = new Material(); 117 118 this->bspManager = new BspManager(); 119 //this->loadTexture("maps/wall1.jpeg"); 116 120 } 117 121 … … 204 208 // Vector tmpRot = this->getAbsDir().getSpacialAxis(); 205 209 //glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); 206 210 /* 207 211 if (this->objectList) 208 212 glCallList(this->objectList); … … 221 225 this->heightMap->draw(); 222 226 } 227 228 */ 229 230 this->bspManager->draw(); 223 231 glPopMatrix(); 224 232 -
branches/bsp_model/src/world_entities/terrain.h
r7221 r7352 18 18 class HeightMap; 19 19 class Material; 20 class BspManager; 20 21 21 22 //! A simple method to call a desired debug world. … … 60 61 61 62 HeightMap* heightMap; 63 BspManager* bspManager; 62 64 Material* heightMapMaterial; 63 65 Vector terrainScale;
Note: See TracChangeset
for help on using the changeset viewer.