Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6222 in orxonox.OLD for trunk/src/world_entities/world_entity.h


Ignore:
Timestamp:
Dec 21, 2005, 1:49:06 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the christmas branche to the trunk
merged with command:
svn merge -r6165:HEAD christmas_branche/ ../trunk/
no conflicts

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore set to
      Makefile.in
      Makefile
      configure
      *.kdevelop
      Doxyfile
      config.log
      config.h
      config.status
      stamp-h1
      autom4te.cache
      aclocal.m4
  • trunk/src

    • Property svn:ignore set to
      .deps
      orxonox
      Makefile
      Makefile.in

  • trunk/src/world_entities/world_entity.h

    r6142 r6222  
    3737  Model* getModel(unsigned int modelNumber = 0) const { return (this->models.size() > modelNumber)? this->models[modelNumber] : NULL; };
    3838
     39  inline void loadMD2Texture(const char* fileName) { this->md2TextureFileName = fileName; }
     40
    3941  bool buildObbTree(unsigned int depth);
    4042  /** @returns a reference to the obb tree of this worldentity */
     
    7274  /** @returns a Reference to the Iterator */
    7375  std::list<WorldEntity*>::iterator& getEntityIterator() { return this->objectListIterator; }
     76
     77
    7478 protected:
    7579  //  CharacterAttributes*    charAttr;         //!< the character attributes of a world_entity
     
    7781 private:
    7882  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
    7984  BVTree*                 obbTree;            //!< this is the obb tree reference needed for collision detection
    8085
Note: See TracChangeset for help on using the changeset viewer.