Changeset 10056 in orxonox.OLD for branches/mount_points/src/world_entities/world_entity.h
- Timestamp:
- Dec 13, 2006, 10:21:34 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mount_points/src/world_entities/world_entity.h
r10052 r10056 15 15 #include "object_manager.h" 16 16 #include "glincl.h" 17 18 #include "aabb_tree_node.h" 19 20 #include "physics_interface.h" 21 17 22 #include <vector> 18 19 #include "aabb_tree_node.h"20 21 #include "physics_interface.h"22 23 23 24 24 … … 32 32 class AABBTreeNode; 33 33 class Model; 34 34 35 class ObjectInformationFile; 36 class MountPoint; 35 37 36 38 … … 52 54 53 55 void loadObjectInformationFile(const std::string& fileName); 54 55 56 inline void loadMD2Texture(const std::string& fileName) { this->md2TextureFileName = fileName; } 57 58 void addMountPoint(MountPoint* mountPoint); 59 void addMountPoint(int slot, MountPoint* mountPoint); 60 void mount(int slot, WorldEntity* entity); 61 void unmount(int slot); 56 62 57 63 /** @param visibility if the Entity should be visible (been draw) */ … … 189 195 std::vector<Model*> models; //!< The model that should be loaded for this entity. 190 196 ObjectInformationFile* oiFile; //!< Reference to the object information file discribing the model of this WE 197 std::vector<MountPoint*> mountPoints; //!< A list with mount points for this model 191 198 std::string md2TextureFileName; //!< the file name of the md2 model texture, only if this 192 199 std::string modelLODName; //!< the name of the model lod file
Note: See TracChangeset
for help on using the changeset viewer.