Changeset 6222 in orxonox.OLD for trunk/src/world_entities/world_entity.h
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
-
Property
svn:ignore
set to
-
trunk/src
-
Property
svn:ignore
set to
.deps
orxonox
Makefile
Makefile.in
-
Property
svn:ignore
set to
-
trunk/src/world_entities/world_entity.h
r6142 r6222 37 37 Model* getModel(unsigned int modelNumber = 0) const { return (this->models.size() > modelNumber)? this->models[modelNumber] : NULL; }; 38 38 39 inline void loadMD2Texture(const char* fileName) { this->md2TextureFileName = fileName; } 40 39 41 bool buildObbTree(unsigned int depth); 40 42 /** @returns a reference to the obb tree of this worldentity */ … … 72 74 /** @returns a Reference to the Iterator */ 73 75 std::list<WorldEntity*>::iterator& getEntityIterator() { return this->objectListIterator; } 76 77 74 78 protected: 75 79 // CharacterAttributes* charAttr; //!< the character attributes of a world_entity … … 77 81 private: 78 82 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 79 84 BVTree* obbTree; //!< this is the obb tree reference needed for collision detection 80 85
Note: See TracChangeset
for help on using the changeset viewer.