Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 20, 2005, 3:24:14 PM (20 years ago)
Author:
patrick
Message:

christmas: the texture gets loaded now and is loadable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/christmas_branche/src/world_entities/world_entity.h

    r6179 r6191  
    3636  void setModel(Model* model, unsigned int modelNumber = 0);
    3737  Model* getModel(unsigned int modelNumber = 0) const { return (this->models.size() > modelNumber)? this->models[modelNumber] : NULL; };
     38
     39  inline void loadMD2Texture(const char* fileName) { this->md2TextureFileName = fileName; }
    3840
    3941  bool buildObbTree(unsigned int depth);
     
    7981 private:
    8082  std::vector<Model*>     models;             //!< The model that should be loaded for this entity.
     83  const char*             md2TextureFileName; //!< the file name of the md2 model texture, only if this
    8184  BVTree*                 obbTree;            //!< this is the obb tree reference needed for collision detection
    8285
Note: See TracChangeset for help on using the changeset viewer.