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

276 lines
11 KiB
C++

/*
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
*/
#ifndef _EntitiesMP_Elemental_INCLUDED
#define _EntitiesMP_Elemental_INCLUDED 1
#include <EntitiesMP/EnemyBase.h>
extern DECL_DLL CEntityPropertyEnumType ElementalType_enum;
enum ElementalType {
ELT_AIR = 0,
ELT_ICE = 1,
ELT_LAVA = 2,
ELT_STONE = 3,
ELT_WATER = 4,
};
DECL_DLL inline void ClearToDefault(ElementalType &e) { e = (ElementalType)0; } ;
extern DECL_DLL CEntityPropertyEnumType ElementalCharacter_enum;
enum ElementalCharacter {
ELC_SMALL = 0,
ELC_BIG = 1,
ELC_LARGE = 2,
};
DECL_DLL inline void ClearToDefault(ElementalCharacter &e) { e = (ElementalCharacter)0; } ;
extern DECL_DLL CEntityPropertyEnumType ElementalState_enum;
enum ElementalState {
ELS_NORMAL = 0,
ELS_BOX = 1,
ELS_PLANE = 2,
};
DECL_DLL inline void ClearToDefault(ElementalState &e) { e = (ElementalState)0; } ;
extern "C" DECL_DLL CDLLEntityClass CElemental_DLLClass;
class CElemental : public CEnemyBase {
public:
DECL_DLL virtual void SetDefaultProperties(void);
enum ElementalType m_EetType;
enum ElementalCharacter m_EecChar;
enum ElementalState m_EesStartState;
BOOL m_bSpawnWhenHarmed;
BOOL m_bSpawnOnBlowUp;
enum ElementalState m_EesCurrentState;
BOOL m_bSpawned;
BOOL m_bMovable;
RANGE m_fLookRange;
INDEX m_iFireCount;
FLOAT m_fWaitTime;
INDEX m_iCounter;
FLOAT m_fDensity;
CEntityPointer m_penPosition1;
CEntityPointer m_penPosition2;
CEntityPointer m_penPosition3;
CEntityPointer m_penPosition4;
CEntityPointer m_penPosition5;
CEntityPointer m_penPosition6;
CSoundObject m_soBackground;
INDEX m_ctSpawned;
FLOAT m_fSpawnDamage;
BOOL m_bSpawnEnabled;
CSoundObject m_soFireL;
CSoundObject m_soFireR;
INDEX m_bCountAsKill;
#line 273 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
virtual CTString GetPlayerKillDescription(const CTString & strPlayerName,const EDeath & eDeath);
#line 279 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
virtual const CTFileName & GetComputerMessageName(void)const;
#line 285 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void RenderParticles(void);
#line 300 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void Precache(void);
#line 340 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void * GetEntityInfo(void);
#line 381 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
BOOL FillEntityStatistics(EntityStats * pes);
#line 400 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void ReceiveDamage(CEntity * penInflictor,enum DamageType dmtType,
#line 401 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
FLOAT fDamageAmmount,const FLOAT3D & vHitPoint,const FLOAT3D & vDirection);
#line 443 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void LeaveStain(BOOL bGrow);
#line 449 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
INDEX AnimForDamage(FLOAT fDamage);
#line 469 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void StandingAnimFight(void);
#line 474 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void StandingAnim(void);
#line 492 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void WalkingAnim(void);
#line 506 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void RunningAnim(void);
#line 514 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void RotatingAnim(void);
#line 522 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
INDEX AnimForDeath(void);
#line 535 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void IdleSound(void);
#line 538 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void SightSound(void);
#line 540 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void WoundSound(void);
#line 543 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void DeathSound(void);
#line 547 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
BOOL CountAsKill(void);
#line 553 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void SpawnNewElemental(void);
#line 617 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void ThrowRocks(ProjectileType EptProjectile);
#line 650 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void BossFirePredictedLavaRock(FLOAT3D vFireingRel);
#line 681 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void ShakeItBaby(FLOAT tmShaketime,FLOAT fPower);
#line 701 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void SpawnShockwave(FLOAT fSize);
#line 715 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void HitGround(void);
#line 788 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void AddAttachments(void);
#line 828 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void RemoveAttachments(void);
#line 855 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void BlowUp(void);
#line 918 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
void EnemyPostInit(void);
#define STATE_CElemental_FallOnFloor 0x01420000
BOOL
#line 940 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
FallOnFloor(const CEntityEvent &__eeInput);
BOOL H0x01420001_FallOnFloor_01(const CEntityEvent &__eeInput);
BOOL H0x01420002_FallOnFloor_02(const CEntityEvent &__eeInput);
#define STATE_CElemental_LavamanFire 0x01420003
BOOL
#line 1006 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
LavamanFire(const CEntityEvent &__eeInput);
BOOL H0x01420004_LavamanFire_01(const CEntityEvent &__eeInput);
BOOL H0x01420005_LavamanFire_02(const CEntityEvent &__eeInput);
BOOL H0x01420006_LavamanFire_03(const CEntityEvent &__eeInput);
BOOL H0x01420007_LavamanFire_04(const CEntityEvent &__eeInput);
BOOL H0x01420008_LavamanFire_05(const CEntityEvent &__eeInput);
BOOL H0x01420009_LavamanFire_06(const CEntityEvent &__eeInput);
BOOL H0x0142000a_LavamanFire_07(const CEntityEvent &__eeInput);
BOOL H0x0142000b_LavamanFire_08(const CEntityEvent &__eeInput);
BOOL H0x0142000c_LavamanFire_09(const CEntityEvent &__eeInput);
BOOL H0x0142000d_LavamanFire_10(const CEntityEvent &__eeInput);
BOOL H0x0142000e_LavamanFire_11(const CEntityEvent &__eeInput);
BOOL H0x0142000f_LavamanFire_12(const CEntityEvent &__eeInput);
BOOL H0x01420010_LavamanFire_13(const CEntityEvent &__eeInput);
BOOL H0x01420011_LavamanFire_14(const CEntityEvent &__eeInput);
BOOL H0x01420012_LavamanFire_15(const CEntityEvent &__eeInput);
BOOL H0x01420013_LavamanFire_16(const CEntityEvent &__eeInput);
BOOL H0x01420014_LavamanFire_17(const CEntityEvent &__eeInput);
BOOL H0x01420015_LavamanFire_18(const CEntityEvent &__eeInput);
BOOL H0x01420016_LavamanFire_19(const CEntityEvent &__eeInput);
#define STATE_CElemental_LavamanStones 0x01420017
BOOL
#line 1086 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
LavamanStones(const CEntityEvent &__eeInput);
BOOL H0x01420018_LavamanStones_01(const CEntityEvent &__eeInput);
BOOL H0x01420019_LavamanStones_02(const CEntityEvent &__eeInput);
BOOL H0x0142001a_LavamanStones_03(const CEntityEvent &__eeInput);
BOOL H0x0142001b_LavamanStones_04(const CEntityEvent &__eeInput);
BOOL H0x0142001c_LavamanStones_05(const CEntityEvent &__eeInput);
BOOL H0x0142001d_LavamanStones_06(const CEntityEvent &__eeInput);
#define STATE_CElemental_LavamanHit 0x0142001e
BOOL
#line 1106 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
LavamanHit(const CEntityEvent &__eeInput);
BOOL H0x0142001f_LavamanHit_01(const CEntityEvent &__eeInput);
BOOL H0x01420020_LavamanHit_02(const CEntityEvent &__eeInput);
BOOL H0x01420021_LavamanHit_03(const CEntityEvent &__eeInput);
BOOL H0x01420022_LavamanHit_04(const CEntityEvent &__eeInput);
#define STATE_CElemental_BeWounded 0x01420023
BOOL
#line 1209 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
BeWounded(const CEntityEvent &__eeInput);
#define STATE_CElemental_BoxToNormal 0x01420024
BOOL
#line 1222 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
BoxToNormal(const CEntityEvent &__eeInput);
BOOL H0x01420025_BoxToNormal_01(const CEntityEvent &__eeInput);
BOOL H0x01420026_BoxToNormal_02(const CEntityEvent &__eeInput);
#define STATE_CElemental_PlaneToNormal 0x01420027
BOOL
#line 1245 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
PlaneToNormal(const CEntityEvent &__eeInput);
BOOL H0x01420028_PlaneToNormal_01(const CEntityEvent &__eeInput);
BOOL H0x01420029_PlaneToNormal_02(const CEntityEvent &__eeInput);
#define STATE_CElemental_InitializeAttack 0x0142002a
BOOL
#line 1266 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
InitializeAttack(const CEntityEvent &__eeInput);
BOOL H0x0142002b_InitializeAttack_01(const CEntityEvent &__eeInput);
BOOL H0x0142002c_InitializeAttack_02(const CEntityEvent &__eeInput);
BOOL H0x0142002d_InitializeAttack_03(const CEntityEvent &__eeInput);
BOOL H0x0142002e_InitializeAttack_04(const CEntityEvent &__eeInput);
BOOL H0x0142002f_InitializeAttack_05(const CEntityEvent &__eeInput);
BOOL H0x01420030_InitializeAttack_06(const CEntityEvent &__eeInput);
BOOL H0x01420031_InitializeAttack_07(const CEntityEvent &__eeInput);
#define STATE_CElemental_Fire 0x01420032
BOOL
#line 1280 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
Fire(const CEntityEvent &__eeInput);
#define STATE_CElemental_Hit 0x01420033
BOOL
#line 1292 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
Hit(const CEntityEvent &__eeInput);
#define STATE_CElemental_Death 0x01420034
BOOL
#line 1307 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
Death(const CEntityEvent &__eeInput);
BOOL H0x01420035_Death_01(const CEntityEvent &__eeInput);
BOOL H0x01420036_Death_02(const CEntityEvent &__eeInput);
BOOL H0x01420037_Death_03(const CEntityEvent &__eeInput);
BOOL H0x01420038_Death_04(const CEntityEvent &__eeInput);
BOOL H0x01420039_Death_05(const CEntityEvent &__eeInput);
#define STATE_CElemental_BossAppear 0x0142003a
BOOL
#line 1325 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
BossAppear(const CEntityEvent &__eeInput);
BOOL H0x0142003b_BossAppear_01(const CEntityEvent &__eeInput);
BOOL H0x0142003c_BossAppear_02(const CEntityEvent &__eeInput);
BOOL H0x0142003d_BossAppear_03(const CEntityEvent &__eeInput);
BOOL H0x0142003e_BossAppear_04(const CEntityEvent &__eeInput);
BOOL H0x0142003f_BossAppear_05(const CEntityEvent &__eeInput);
BOOL H0x01420040_BossAppear_06(const CEntityEvent &__eeInput);
BOOL H0x01420041_BossAppear_07(const CEntityEvent &__eeInput);
BOOL H0x01420042_BossAppear_08(const CEntityEvent &__eeInput);
BOOL H0x01420043_BossAppear_09(const CEntityEvent &__eeInput);
BOOL H0x01420044_BossAppear_10(const CEntityEvent &__eeInput);
BOOL H0x01420045_BossAppear_11(const CEntityEvent &__eeInput);
BOOL H0x01420046_BossAppear_12(const CEntityEvent &__eeInput);
#define STATE_CElemental_PreMainLoop 0x01420047
BOOL
#line 1350 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
PreMainLoop(const CEntityEvent &__eeInput);
BOOL H0x01420048_PreMainLoop_01(const CEntityEvent &__eeInput);
BOOL H0x01420049_PreMainLoop_02(const CEntityEvent &__eeInput);
BOOL H0x0142004a_PreMainLoop_03(const CEntityEvent &__eeInput);
BOOL H0x0142004b_PreMainLoop_04(const CEntityEvent &__eeInput);
BOOL H0x0142004c_PreMainLoop_05(const CEntityEvent &__eeInput);
BOOL H0x0142004d_PreMainLoop_06(const CEntityEvent &__eeInput);
#define STATE_CElemental_Main 1
BOOL
#line 1375 "D:/SE1_GPL/Sources/EntitiesMP/Elemental.es"
Main(const CEntityEvent &__eeInput);
};
#endif // _EntitiesMP_Elemental_INCLUDED