Changeset 4138 in orxonox.OLD for orxonox/branches/md2_loader/src/story_entities
- Timestamp:
- May 10, 2005, 10:15:57 AM (20 years ago)
- Location:
- orxonox/branches/md2_loader/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/md2_loader/src/story_entities/world.cc
r4072 r4138 50 50 51 51 #include "substring.h" 52 53 #include "md2Model.h" 52 54 53 55 using namespace std; … … 473 475 terrain->setRelCoor(Vector(0,-10,0)); 474 476 this->spawn(terrain); 477 478 479 480 //This is for md2 test purposes only! if this is seen in the trunk: hit me :) 481 MD2Loader* md2loader = new MD2Loader(); 482 this->model = new t3DModel; 483 this->md2Model = new MD2Model(); 484 485 md2loader->importMD2(model, "test.md2", "test.bmp"); 475 486 476 487 } … … 931 942 } 932 943 delete iterator; 944 945 /* TESTGING TESTING TESTING */ 946 this->md2Model->draw(this->model); 933 947 934 948 glCallList (objectList); -
orxonox/branches/md2_loader/src/story_entities/world.h
r4015 r4138 23 23 class GarbageCollector; 24 24 class Text; 25 26 /* TESTING TESTING TESTING */ 27 struct t3DModel; 28 class MD2Model; 25 29 26 30 //! The game world Interface … … 118 122 GarbageCollector* garbageCollector; //!< reference to the garbage collector 119 123 124 /* TESTING TESTING TESTING */ 125 t3DModel* model; 126 MD2Model* md2Model; 127 128 120 129 /* function for main-loop */ 121 130 void mainLoop ();
Note: See TracChangeset
for help on using the changeset viewer.