31 #include "common/list.h" 32 #include "hpl1/engine/game/Updateable.h" 33 #include "hpl1/engine/physics/PhysicsMaterial.h" 34 #include "hpl1/engine/system/SystemTypes.h" 35 #include "common/stablemap.h" 39 class iLowLevelPhysics;
74 void Update(
float afTimeStep);
81 bool LoadSurfaceData(
const tString &asFile);
85 void SetGameWorld(
cWorld3D *apWorld) { mpGameWorld = apWorld; }
86 cWorld3D *GetGameWorld() {
return mpGameWorld; }
88 void SetImpactDuration(
float afX) { mfImpactDuration = afX; }
89 float GetImpactDuration() {
return mfImpactDuration; }
91 void SetMaxImpacts(
int alX) { mlMaxImpacts = alX; }
92 int GetMaxImpacts() {
return mlMaxImpacts; }
93 int GetNumOfImpacts() {
return (
int)mlstImpactCounts.size(); }
98 void SetDebugLog(
bool abX) { mbLog = abX; }
99 bool GetDebugLog() {
return mbLog; }
102 ePhysicsMaterialCombMode GetCombMode(
const char *apName);
104 void UpdateImpactCounts(
float afTimeStep);
111 tPhysicsWorldList mlstWorlds;
112 tSurfaceDataMap m_mapSurfaceData;
114 tPhysicsImpactCountList mlstImpactCounts;
115 float mfImpactDuration;
122 #endif // HPL_Physics_H
Definition: LowLevelPhysics.h:38
Definition: PhysicsWorld.h:115
Definition: SurfaceData.h:74
typename TreeT::BasicIterator iterator
Definition: stablemap.h:48
Definition: World3D.h:179
ListInternal::Iterator< t_T > iterator
Definition: list.h:52
Definition: Updateable.h:35
Definition: Resources.h:160
Definition: list_intern.h:51