31 #include "hpl1/engine/graphics/GraphicsTypes.h" 32 #include "hpl1/engine/math/MathTypes.h" 33 #include "hpl1/engine/resources/ResourceBase.h" 34 #include "hpl1/engine/system/SystemTypes.h" 36 #include "hpl1/engine/physics/CollideShape.h" 37 #include "hpl1/engine/physics/PhysicsJoint.h" 39 #include "common/array.h" 40 #include "hpl1/engine/scene/Light3D.h" 41 #include "common/stablemap.h" 42 #include "common/multimap.h" 46 class cMaterialManager;
47 class cAnimationManager;
59 class cParticleSystem3D;
75 typedef tSubMeshMap::iterator tSubMeshMapIt;
86 eCollideShapeType mType;
98 ePhysicsJointType mType;
224 bool CreateFromFile(
const tString asFile);
228 cSubMesh *GetSubMesh(
unsigned int alIdx);
239 int GetAnimationIndex(
const tString &asName);
241 void ClearAnimations(
bool abDeleteAll);
243 int GetAnimationNum();
248 cMeshJoint *CreatePhysicsJoint(ePhysicsJointType);
250 int GetPhysicsJointNum();
263 bool HasSeveralBodies();
268 int GetColliderNum();
282 int GetBillboardNum();
296 int GetParticleSystemNum();
303 int GetReferenceNum();
311 int GetSoundEntityNum();
330 tSubMeshVec mvSubMeshes;
331 tSubMeshMap m_mapSubMeshes;
335 tAnimationVec mvAnimations;
336 tAnimationIndexMap m_mapAnimIndices;
341 tMeshJointVec mvPhysicJoints;
342 tMeshColliderVec mvColliders;
344 tMeshLightVec mvLights;
345 tMeshBillboardVec mvBillboards;
346 tMeshBeamVec mvBeams;
347 tMeshParticleSystemVec mvParticleSystems;
348 tMeshSoundEntityVec mvSoundEntities;
349 tMeshReferenceVec mvReferences;
Definition: Skeleton.h:46
Definition: ResourceBase.h:36
Definition: Light3D.h:117
Definition: MaterialManager.h:41
Definition: PhysicsWorld.h:115
T * iterator
Definition: array.h:54
typename TreeT::BasicIterator iterator
Definition: stablemap.h:48
Definition: CollideShape.h:50
Definition: Animation.h:44
Definition: AnimationManager.h:39
Definition: BillBoard.h:78
Definition: PhysicsBody.h:117
Definition: World3D.h:179
void unload()
Definition: Mesh.h:323
void destroy()
Definition: Mesh.h:324
Definition: ParticleSystem3D.h:90
Definition: Entity3D.h:81
Definition: MeshEntity.h:96
Definition: SoundEntity.h:86
Definition: PhysicsJoint.h:135
bool reload()
Definition: Mesh.h:322