28 #ifndef GAME_GAME_OBJECT_H 29 #define GAME_GAME_OBJECT_H 31 #include "hpl1/engine/engine.h" 32 #include "hpl1/penumbra-overture/GameEntity.h" 46 eObjectInteractMode mInteractMode;
82 float mfMinCloseDistance;
99 float mfMinNormalSpeed;
100 float mfMinPlayerImpulse;
105 float mfExpl_MinDamage;
106 float mfExpl_MaxDamage;
107 float mfExpl_MinForce;
108 float mfExpl_MaxForce;
109 float mfExpl_MaxImpulse;
110 float mfExpl_MinMass;
115 float mfLight_Radius;
116 float mfLight_AddTime;
117 float mfLight_NegTime;
121 float mfEarRing_MaxDist;
122 float mfEarRing_Time;
150 float mfMinLinearDamageSpeed;
151 float mfMinAngularDamageSpeed;
152 float mfMaxLinearDamageSpeed;
153 float mfMaxAngularDamageSpeed;
156 int mlDamageStrength;
170 void OnPlayerInteract();
174 if (mDisappearProps.mbActive)
179 void Update(
float afTimeStep);
183 void OnDeath(
float afDamage);
185 bool IsBreakable() {
return mBreakProps.mbActive; }
189 void SetInteractMode(eObjectInteractMode aInteractMode);
190 eObjectInteractMode GetInteractMode() {
return mInteractMode; }
192 void SetupBreakObject();
194 bool IsDestroyable() {
return mbDestroyable; }
195 float GetDestroyStrength() {
return mfDestroyStrength; }
196 const tString &GetDestroySound() {
return msDestoySound; }
198 void SetupForceOffset();
214 void UpdateAttraction(
float afTimeStep);
217 float mfAttractCount;
219 eObjectInteractMode mInteractMode;
221 float mfForwardUpMul;
222 float mfForwardRightMul;
228 bool mbRotateWithPlayer;
230 bool mbUseNormalMass;
239 float mfDestroyStrength;
242 bool mbForceLightOffset;
246 float mfHapticTorqueMul;
248 float mfCloseToSameCount;
268 static eObjectInteractMode ToInteractMode(
const char *apString);
277 #endif // GAME_GAME_OBJECT_H
Definition: GameObject.h:263
Definition: GameObject.h:87
Definition: GameObject.h:68
Definition: GameObject.h:161
Definition: GameEntity.h:76
Definition: PhysicsBody.h:49
Definition: GameObject.h:143
Definition: GameObject.h:127
Definition: PhysicsBody.h:117
Definition: World3D.h:179
Definition: CollideData.h:46
Definition: GameObject.h:42
Definition: CharacterBody.h:153
Definition: EntityLoader_Object.h:52
Definition: tinyxml.h:864
Definition: GameObject.h:54
Definition: GameEnemy.h:189
Definition: GameEntity.h:126