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

119 lines
4.5 KiB
C++

/*
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
*/
#ifndef _EntitiesMP_Shooter_INCLUDED
#define _EntitiesMP_Shooter_INCLUDED 1
#include <EntitiesMP/ModelHolder2.h>
#include <EntitiesMP/Projectile.h>
#include <EntitiesMP/SoundHolder.h>
#include <EntitiesMP/BloodSpray.h>
#include <EntitiesMP/CannonBall.h>
extern DECL_DLL CEntityPropertyEnumType FireType_enum;
enum FireType {
SFT_WOODEN_DART = 0,
SFT_FIRE = 1,
SFT_GAS = 2,
SFT_IRONBALL = 3,
SFT_FIREBALL = 4,
};
DECL_DLL inline void ClearToDefault(FireType &e) { e = (FireType)0; } ;
extern "C" DECL_DLL CDLLEntityClass CShooter_DLLClass;
class CShooter : public CModelHolder2 {
public:
virtual const CTString &GetName(void) const { return m_strName; };
virtual BOOL IsTargetable(void) const { return TRUE; };
DECL_DLL virtual void SetDefaultProperties(void);
FLOAT m_fShootingPeriod;
enum FireType m_sftType;
FLOAT m_fHealth;
FLOAT m_fCannonBallSize;
FLOAT m_fCannonBallPower;
ANIMATION m_iModelPreFireAnimation;
ANIMATION m_iTexturePreFireAnimation;
ANIMATION m_iModelPostFireAnimation;
ANIMATION m_iTexturePostFireAnimation;
FLOAT m_fFlameBurstDuration;
FLOAT m_fRndBeginWait;
CEntityPointer m_penSoundLaunch;
CSoundObject m_soLaunch;
CEntityPointer m_penFlame;
BOOL m_bFiring;
BOOL m_bIndestructable;
FLOAT m_tmFlameStart;
#line 59 "D:/SE1_GPL/Sources/EntitiesMP/Shooter.es"
void Precache(void);
#line 66 "D:/SE1_GPL/Sources/EntitiesMP/Shooter.es"
void ReceiveDamage(CEntity * penInflictor,enum DamageType dmtType,
#line 67 "D:/SE1_GPL/Sources/EntitiesMP/Shooter.es"
FLOAT fDamageAmmount,const FLOAT3D & vHitPoint,const FLOAT3D & vDirection);
#line 123 "D:/SE1_GPL/Sources/EntitiesMP/Shooter.es"
void RenderParticles(void);
#line 132 "D:/SE1_GPL/Sources/EntitiesMP/Shooter.es"
CAnimData * GetAnimData(SLONG slPropertyOffset);
#line 146 "D:/SE1_GPL/Sources/EntitiesMP/Shooter.es"
CEntity * ShootProjectile(enum ProjectileType pt,FLOAT3D & vOffset,ANGLE3D & aOffset);
#line 160 "D:/SE1_GPL/Sources/EntitiesMP/Shooter.es"
void FireFlame(void);
#line 186 "D:/SE1_GPL/Sources/EntitiesMP/Shooter.es"
void StopFlame(void);
#line 191 "D:/SE1_GPL/Sources/EntitiesMP/Shooter.es"
void PlayFireSound(void);
#line 200 "D:/SE1_GPL/Sources/EntitiesMP/Shooter.es"
void ShootCannonball();
#line 215 "D:/SE1_GPL/Sources/EntitiesMP/Shooter.es"
void ShootFireball();
#define STATE_CShooter_FireOnce 0x01590000
BOOL
#line 232 "D:/SE1_GPL/Sources/EntitiesMP/Shooter.es"
FireOnce(const CEntityEvent &__eeInput);
BOOL H0x01590001_FireOnce_01(const CEntityEvent &__eeInput);
BOOL H0x01590002_FireOnce_02(const CEntityEvent &__eeInput);
BOOL H0x01590003_FireOnce_03(const CEntityEvent &__eeInput);
BOOL H0x01590004_FireOnce_04(const CEntityEvent &__eeInput);
#define STATE_CShooter_FireContinuous 0x01590005
BOOL
#line 263 "D:/SE1_GPL/Sources/EntitiesMP/Shooter.es"
FireContinuous(const CEntityEvent &__eeInput);
BOOL H0x01590006_FireContinuous_01(const CEntityEvent &__eeInput);
BOOL H0x01590007_FireContinuous_02(const CEntityEvent &__eeInput);
BOOL H0x01590008_FireContinuous_03(const CEntityEvent &__eeInput);
BOOL H0x01590009_FireContinuous_04(const CEntityEvent &__eeInput);
BOOL H0x0159000a_FireContinuous_05(const CEntityEvent &__eeInput);
BOOL H0x0159000b_FireContinuous_06(const CEntityEvent &__eeInput);
BOOL H0x0159000c_FireContinuous_07(const CEntityEvent &__eeInput);
BOOL H0x0159000d_FireContinuous_08(const CEntityEvent &__eeInput);
BOOL H0x0159000e_FireContinuous_09(const CEntityEvent &__eeInput);
#define STATE_CShooter_FlameBurst 0x0159000f
BOOL
#line 279 "D:/SE1_GPL/Sources/EntitiesMP/Shooter.es"
FlameBurst(const CEntityEvent &__eeInput);
BOOL H0x01590010_FlameBurst_01(const CEntityEvent &__eeInput);
BOOL H0x01590011_FlameBurst_02(const CEntityEvent &__eeInput);
BOOL H0x01590012_FlameBurst_03(const CEntityEvent &__eeInput);
BOOL H0x01590013_FlameBurst_04(const CEntityEvent &__eeInput);
#define STATE_CShooter_MainLoop 0x01590014
BOOL
#line 293 "D:/SE1_GPL/Sources/EntitiesMP/Shooter.es"
MainLoop(const CEntityEvent &__eeInput);
BOOL H0x01590015_MainLoop_01(const CEntityEvent &__eeInput);
BOOL H0x01590016_MainLoop_02(const CEntityEvent &__eeInput);
#define STATE_CShooter_Main 1
BOOL
#line 328 "D:/SE1_GPL/Sources/EntitiesMP/Shooter.es"
Main(const CEntityEvent &__eeInput);
BOOL H0x01590017_Main_01(const CEntityEvent &__eeInput);
BOOL H0x01590018_Main_02(const CEntityEvent &__eeInput);
};
#endif // _EntitiesMP_Shooter_INCLUDED