Serious-Engine/Sources/EntitiesMP/Santa.h
2016-03-11 15:57:17 +02:00

101 lines
2.9 KiB
C++

/*
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
*/
#ifndef _EntitiesMP_Santa_INCLUDED
#define _EntitiesMP_Santa_INCLUDED 1
#include <EntitiesMP/EnemyBase.h>
extern "C" DECL_DLL CDLLEntityClass CSanta_DLLClass;
class CSanta : public CEnemyBase {
public:
DECL_DLL virtual void SetDefaultProperties(void);
FLOAT m_tmLastSpawnTime;
FLOAT m_tmMinSpawnInterval;
FLOAT m_fSantaHealth;
CSoundObject m_soRunning;
BOOL m_bRunSoundPlaying;
CEntityPointer m_penTemplate0;
CEntityPointer m_penTemplate1;
CEntityPointer m_penTemplate2;
CEntityPointer m_penTemplate3;
CEntityPointer m_penTemplate4;
#line 49 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
void Precache(void);
#line 56 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
virtual const CTFileName & GetComputerMessageName(void)const;
#line 63 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
void * GetEntityInfo(void);
#line 68 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
void ActivateRunningSound(void);
#line 75 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
void DeactivateRunningSound(void);
#line 82 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
BOOL HandleEvent(const CEntityEvent & ee);
#line 93 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
void ReceiveDamage(CEntity * penInflictor,enum DamageType dmtType,
#line 94 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
FLOAT fDamageAmmount,const FLOAT3D & vHitPoint,const FLOAT3D & vDirection);
#line 138 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
void LeaveStain(BOOL bGrow);
#line 143 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
INDEX AnimForDamage(FLOAT fDamage);
#line 149 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
INDEX AnimForDeath(void);
#line 154 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
void DeathNotify(void);
#line 161 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
CModelObject * GetBody(void);
#line 167 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
void StandingAnim(void);
#line 171 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
void WalkingAnim(void);
#line 176 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
void RunningAnim(void);
#line 181 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
void RotatingAnim(void);
#line 188 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
void IdleSound(void);
#line 191 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
void SightSound(void);
#line 194 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
void WoundSound(void);
#line 197 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
void DeathSound(void);
#line 203 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
void EnemyPostInit(void);
#define STATE_CSanta_Fire 0x01630000
BOOL
#line 214 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
Fire(const CEntityEvent &__eeInput);
#define STATE_CSanta_Hit 0x01630001
BOOL
#line 219 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
Hit(const CEntityEvent &__eeInput);
#define STATE_CSanta_Main 1
BOOL
#line 226 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
Main(const CEntityEvent &__eeInput);
};
#endif // _EntitiesMP_Santa_INCLUDED