mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-26 04:05:53 +01:00
132 lines
5.0 KiB
C++
132 lines
5.0 KiB
C++
/*
|
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
|
*/
|
|
|
|
#ifndef _EntitiesMP_CannonStatic_INCLUDED
|
|
#define _EntitiesMP_CannonStatic_INCLUDED 1
|
|
#include <EntitiesMP/ModelHolder2.h>
|
|
#include <EntitiesMP/Projectile.h>
|
|
#include <EntitiesMP/SoundHolder.h>
|
|
#include <EntitiesMP/BloodSpray.h>
|
|
#include <EntitiesMP/CannonBall.h>
|
|
extern "C" DECL_DLL CDLLEntityClass CCannonStatic_DLLClass;
|
|
class CCannonStatic : public CEnemyBase {
|
|
public:
|
|
DECL_DLL virtual void SetDefaultProperties(void);
|
|
FLOAT m_fHealth;
|
|
RANGE m_fFiringRangeClose;
|
|
RANGE m_fFiringRangeFar;
|
|
FLOAT m_fShootingPeriod;
|
|
FLOAT m_fSize;
|
|
FLOAT m_fMaxPitch;
|
|
FLOAT m_fViewAngle;
|
|
BOOL m_bActive;
|
|
FLOAT3D m_fRotSpeedMuzzle;
|
|
FLOAT m_fDistanceToPlayer;
|
|
FLOAT m_fDesiredMuzzlePitch;
|
|
INDEX m_iMuzzleDir;
|
|
FLOAT3D m_vFiringPos;
|
|
FLOAT3D m_vTarget;
|
|
FLOAT3D m_aBeginMuzzleRotation;
|
|
FLOAT3D m_aEndMuzzleRotation;
|
|
|
|
#line 81 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
virtual CTString GetPlayerKillDescription(const CTString & strPlayerName,const EDeath & eDeath);
|
|
|
|
#line 89 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
void * GetEntityInfo(void);
|
|
|
|
#line 93 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
virtual const CTFileName & GetComputerMessageName(void)const;
|
|
|
|
#line 98 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
void Precache(void);
|
|
|
|
#line 113 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
void ReceiveDamage(CEntity * penInflictor,enum DamageType dmtType,
|
|
#line 114 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
FLOAT fDamageAmmount,const FLOAT3D & vHitPoint,const FLOAT3D & vDirection);
|
|
|
|
#line 127 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
INDEX AnimForDamage(FLOAT fDamage);
|
|
|
|
#line 132 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
INDEX AnimForDeath(void);
|
|
|
|
#line 137 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
BOOL IsVisible(CEntity * penEntity);
|
|
|
|
#line 154 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
BOOL IsInTheLineOfFire(CEntity * penEntity,FLOAT fAngle);
|
|
|
|
#line 179 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
CPlayer * AcquireTarget();
|
|
|
|
#line 200 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
void CannonBlowUp(void);
|
|
|
|
#line 250 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
void PreMoving();
|
|
|
|
#line 256 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
void PostMoving();
|
|
|
|
#line 262 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
BOOL AdjustShadingParameters(FLOAT3D & vLightDirection,COLOR & colLight,COLOR & colAmbient);
|
|
|
|
#line 269 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
void UpdateAttachmentRotations(void);
|
|
|
|
#line 276 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
void UpdateFiringPos();
|
|
#define STATE_CCannonStatic_MainLoop 0x01590000
|
|
BOOL
|
|
#line 292 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
MainLoop(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590001_MainLoop_01(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590002_MainLoop_02(const CEntityEvent &__eeInput);
|
|
#define STATE_CCannonStatic_Die 0x01590003
|
|
BOOL
|
|
#line 309 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
Die(const CEntityEvent &__eeInput);
|
|
#define STATE_CCannonStatic_RotateMuzzle 0x01590004
|
|
BOOL
|
|
#line 356 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
RotateMuzzle(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590005_RotateMuzzle_01(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590006_RotateMuzzle_02(const CEntityEvent &__eeInput);
|
|
#define STATE_CCannonStatic_FireCannon 0x01590007
|
|
BOOL
|
|
#line 371 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
FireCannon(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590008_FireCannon_01(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590009_FireCannon_02(const CEntityEvent &__eeInput);
|
|
#define STATE_CCannonStatic_WatchPlayers 0x0159000a
|
|
BOOL
|
|
#line 434 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
WatchPlayers(const CEntityEvent &__eeInput);
|
|
BOOL H0x0159000b_WatchPlayers_01(const CEntityEvent &__eeInput);
|
|
BOOL H0x0159000c_WatchPlayers_02(const CEntityEvent &__eeInput);
|
|
BOOL H0x0159000d_WatchPlayers_03(const CEntityEvent &__eeInput);
|
|
BOOL H0x0159000e_WatchPlayers_04(const CEntityEvent &__eeInput);
|
|
BOOL H0x0159000f_WatchPlayers_05(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590010_WatchPlayers_06(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590011_WatchPlayers_07(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590012_WatchPlayers_08(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590013_WatchPlayers_09(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590014_WatchPlayers_10(const CEntityEvent &__eeInput);
|
|
#define STATE_CCannonStatic_Inactive 0x01590015
|
|
BOOL
|
|
#line 452 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
Inactive(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590016_Inactive_01(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590017_Inactive_02(const CEntityEvent &__eeInput);
|
|
#define STATE_CCannonStatic_Main 1
|
|
BOOL
|
|
#line 467 "D:/SE1_GPL/Sources/EntitiesMP/CannonStatic.es"
|
|
Main(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590018_Main_01(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590019_Main_02(const CEntityEvent &__eeInput);
|
|
};
|
|
#endif // _EntitiesMP_CannonStatic_INCLUDED
|