28 #ifndef GAME_PLAYER_HELPER_H 29 #define GAME_PLAYER_HELPER_H 31 #include "hpl1/engine/engine.h" 35 #include "hpl1/penumbra-overture/GameTypes.h" 45 virtual tString GetModelFile() = 0;
46 virtual cMatrixf GetOffsetMatrix() = 0;
48 virtual void OnAttackDown() = 0;
49 virtual void OnAttackUp() = 0;
82 void CalculateResults();
90 float mfPickedAreaDist;
92 eGameEntityType mLastEntityType;
97 float mfMinStaticDist;
106 void Update(
float afTimeStep);
113 bool IsActive() {
return mbActive; }
114 float GetPosition() {
return mfPos; }
115 float GetClimbPosition() {
return mfClimbPos; }
116 float GetClimbCount() {
return mfClimbCount; }
120 float mfHeadMoveSpeed;
121 float mfHeadMoveBackSpeed;
146 void Update(
float afTimeStep);
157 float mfGfxGlobalAlpha;
160 float mfTerrorCheckCount;
172 void Update(
float afTimeStep);
174 void Start(
float afTime);
175 void Stop(
bool abStopDirectly);
198 void Update(
float afTimeStep);
200 void Lean(
float afMul,
float afTimeStep);
234 void Start(
float afSize, ePlayerDamageType aType);
236 void Update(
float afTimeStep);
251 cGfxObject *mvHitGfx[ePlayerDamageType_LastEnum];
253 ePlayerDamageType mType;
271 void Update(
float afTimeStep);
275 bool IsActive() {
return mbActive; }
277 float GetHeighAdd() {
return mfHeightAdd; }
285 float mfMinHeightAdd;
312 void Update(
float afTimeStep);
314 void SetActive(
bool abX);
315 bool IsActive() {
return mbActive; }
317 void SetDisabled(
bool abX);
318 bool IsDisabled() {
return mbDisabled; }
320 void OnPostSceneDraw();
355 void Update(
float afTimeStep);
357 void SetActive(
bool abX);
358 bool IsActive() {
return mbActive; }
378 void Update(
float afTimeStep);
380 void SetActive(
bool abX);
381 bool IsActive() {
return mbActive; }
383 float GetTime() {
return mfTime; }
384 void SetTime(
float afX) { mfTime = afX; }
394 float mfMaxLightRadius;
397 float mfLightPulseAdd;
411 void Update(
float afTimeStep);
413 void SetActive(
bool abX);
414 bool IsActive() {
return mbActive; }
443 void Update(
float afTimeStep);
447 void SetActive(
bool abX);
448 bool IsActive() {
return mbActive; }
466 void Update(
float afTimeStep);
470 void SetTarget(
const cVector3f &avTargetPos,
float afSpeedMul,
float afMaxSpeed);
472 void SetActive(
bool abX);
473 bool IsActive() {
return mbActive; }
494 void Update(
float afTimeStep);
502 bool IsHidden() {
return mbHidden; }
510 void UpdateEnemyTooClose(
float afTimeStep);
521 float mfInShadowAlpha;
522 float mfInShadowPulse;
523 float mfInShadowPulseAdd;
526 float mfHiddenAspect;
535 float mfStartEffectOffset;
536 float mfHiddenEffectOffset;
537 float mfEffectOffset;
538 float mfEffectOffsetAdd;
540 float mfHiddenOnTime;
541 float mfHiddenOffTime;
543 float mfCheckEnemyCloseCount;
544 float mfEnemyTooCloseCount;
545 float mfEnemyTooCloseMax;
546 bool mbEnemyTooClose;
548 float mfCloseEffectFov;
549 float mfCloseEffectFovAdd;
550 float mfCloseEffectFovMax;
551 float mfCloseEffectFovMin;
563 float mfHiddenOnCount;
584 float mfFallSpeed_Min;
585 float mfFallDamage_Min;
588 float mfFallSpeed_Med;
589 float mfFallDamage_Med;
592 float mfFallSpeed_Max;
593 float mfFallDamage_Max;
599 #endif // GAME_PLAYER_HELPER_H
Definition: PlayerHelper.h:229
Definition: PlayerHelper.h:301
Definition: PhysicsWorld.h:92
Definition: PlayerHelper.h:487
Definition: Light3D.h:117
Definition: PlayerHelper.h:42
Definition: font_data.h:67
Definition: PhysicsWorld.h:100
Definition: PlayerHelper.h:345
Definition: PlayerHelper.h:572
Definition: PhysicsWorld.h:115
Definition: PlayerHelper.h:102
Definition: SoundHandler.h:71
Definition: GraphicsDrawer.h:77
Definition: CollideShape.h:50
Definition: PlayerHelper.h:140
Definition: PlayerHelper.h:262
Definition: PlayerHelper.h:72
Definition: RendererPostEffects.h:71
Definition: GfxObject.h:38
Definition: PhysicsBody.h:117
Definition: Renderer3D.h:139
Definition: PlayerHelper.h:168
Definition: CollideData.h:46
Definition: PlayerHelper.h:192
Definition: PhysicsMaterial.h:77
Definition: PlayerHands.h:74
Definition: PlayerHelper.h:54
Definition: PlayerHelper.h:436
Definition: SoundHandler.h:122
Definition: PlayerHelper.h:404
Definition: PlayerHelper.h:461
Definition: CharacterBody.h:153
Definition: PlayerHelper.h:369
Definition: CharacterBody.h:49