Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 10, 2005, 6:29:20 PM (19 years ago)
Author:
patrick
Message:

orxonox/branches/md2_loader: removed the md2 loader stuff from the world and implemented it in the testentity class, where its more local and makes more sense

Location:
orxonox/branches/md2_loader/src/story_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/md2_loader/src/story_entities/world.cc

    r4147 r4152  
    484484  terrain->setRelCoor(Vector(0,-10,0));
    485485  this->spawn(terrain);
    486  
    487  
    488 
    489   //This is for md2 test purposes only! if this is seen in the trunk: hit me :)
    490   MD2Loader* md2loader = new MD2Loader();
    491   this->model = new t3DModel;
    492   this->md2Model = new MD2Model();
    493 
    494   md2loader->importMD2(model, "../data/models/jack/tris.md2", "test.bmp");
    495 
    496 }
     486}
     487
    497488
    498489void World::loadDebugWorld(int worldID)
     
    951942    }
    952943  delete iterator;
    953 
    954   /* TESTGING TESTING TESTING */
    955   this->md2Model->draw(this->model);
    956944 
    957945  glCallList (objectList);
  • orxonox/branches/md2_loader/src/story_entities/world.h

    r4138 r4152  
    2424class Text;
    2525
    26 /* TESTING TESTING TESTING */
    27 struct t3DModel;
    28 class MD2Model;
    2926
    3027//! The game world Interface
     
    122119  GarbageCollector* garbageCollector; //!< reference to the garbage  collector
    123120
    124   /* TESTING TESTING TESTING */
    125   t3DModel* model;
    126   MD2Model* md2Model;
    127 
    128 
    129121  /* function for main-loop */
    130122  void mainLoop ();
Note: See TracChangeset for help on using the changeset viewer.