mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
140 lines
5.3 KiB
C++
140 lines
5.3 KiB
C++
/*
|
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
|
*/
|
|
|
|
#ifndef _EntitiesMP_CannonRotating_INCLUDED
|
|
#define _EntitiesMP_CannonRotating_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 CCannonRotating_DLLClass;
|
|
class CCannonRotating : public CEnemyBase {
|
|
public:
|
|
DECL_DLL virtual void SetDefaultProperties(void);
|
|
FLOAT m_fHealth;
|
|
RANGE m_fFiringRangeClose;
|
|
RANGE m_fFiringRangeFar;
|
|
FLOAT m_fWaitAfterFire;
|
|
FLOAT m_fSize;
|
|
FLOAT m_fMaxPitch;
|
|
FLOAT m_fViewAngle;
|
|
FLOAT m_fScanAngle;
|
|
FLOAT m_fRotationSpeed;
|
|
BOOL m_bActive;
|
|
FLOAT3D m_fRotSpeedMuzzle;
|
|
FLOAT3D m_fRotSpeedRotator;
|
|
FLOAT m_fDistanceToPlayer;
|
|
FLOAT m_fDesiredMuzzlePitch;
|
|
FLOAT m_iMuzzleDir;
|
|
FLOAT3D m_vFiringPos;
|
|
FLOAT3D m_vTarget;
|
|
FLOAT m_tmLastFireTime;
|
|
FLOAT3D m_aBeginMuzzleRotation;
|
|
FLOAT3D m_aEndMuzzleRotation;
|
|
FLOAT3D m_aBeginRotatorRotation;
|
|
FLOAT3D m_aEndRotatorRotation;
|
|
|
|
#line 89 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
virtual CTString GetPlayerKillDescription(const CTString & strPlayerName,const EDeath & eDeath);
|
|
|
|
#line 97 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
void * GetEntityInfo(void);
|
|
|
|
#line 101 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
virtual const CTFileName & GetComputerMessageName(void)const;
|
|
|
|
#line 106 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
void Precache(void);
|
|
|
|
#line 121 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
void ReceiveDamage(CEntity * penInflictor,enum DamageType dmtType,
|
|
#line 122 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
FLOAT fDamageAmmount,const FLOAT3D & vHitPoint,const FLOAT3D & vDirection);
|
|
|
|
#line 135 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
INDEX AnimForDamage(FLOAT fDamage);
|
|
|
|
#line 140 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
INDEX AnimForDeath(void);
|
|
|
|
#line 145 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
BOOL IsVisible(CEntity * penEntity);
|
|
|
|
#line 162 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
BOOL IsInTheLineOfFire(CEntity * penEntity,FLOAT fAngle);
|
|
|
|
#line 192 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
CPlayer * AcquireTarget();
|
|
|
|
#line 213 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
void CannonBlowUp(void);
|
|
|
|
#line 263 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
void PreMoving();
|
|
|
|
#line 269 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
void PostMoving();
|
|
|
|
#line 276 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
BOOL AdjustShadingParameters(FLOAT3D & vLightDirection,COLOR & colLight,COLOR & colAmbient);
|
|
|
|
#line 288 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
void UpdateAttachmentRotations(void);
|
|
|
|
#line 298 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
void UpdateFiringPos();
|
|
#define STATE_CCannonRotating_MainLoop 0x01590000
|
|
BOOL
|
|
#line 319 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
MainLoop(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590001_MainLoop_01(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590002_MainLoop_02(const CEntityEvent &__eeInput);
|
|
#define STATE_CCannonRotating_Scan 0x01590003
|
|
BOOL
|
|
#line 336 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
Scan(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590004_Scan_01(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590005_Scan_02(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590006_Scan_03(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590007_Scan_04(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590008_Scan_05(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590009_Scan_06(const CEntityEvent &__eeInput);
|
|
BOOL H0x0159000a_Scan_07(const CEntityEvent &__eeInput);
|
|
BOOL H0x0159000b_Scan_08(const CEntityEvent &__eeInput);
|
|
BOOL H0x0159000c_Scan_09(const CEntityEvent &__eeInput);
|
|
BOOL H0x0159000d_Scan_10(const CEntityEvent &__eeInput);
|
|
BOOL H0x0159000e_Scan_11(const CEntityEvent &__eeInput);
|
|
BOOL H0x0159000f_Scan_12(const CEntityEvent &__eeInput);
|
|
#define STATE_CCannonRotating_Die 0x01590010
|
|
BOOL
|
|
#line 383 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
Die(const CEntityEvent &__eeInput);
|
|
#define STATE_CCannonRotating_RotateMuzzle 0x01590011
|
|
BOOL
|
|
#line 429 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
RotateMuzzle(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590012_RotateMuzzle_01(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590013_RotateMuzzle_02(const CEntityEvent &__eeInput);
|
|
#define STATE_CCannonRotating_FireCannon 0x01590014
|
|
BOOL
|
|
#line 444 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
FireCannon(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590015_FireCannon_01(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590016_FireCannon_02(const CEntityEvent &__eeInput);
|
|
#define STATE_CCannonRotating_Inactive 0x01590017
|
|
BOOL
|
|
#line 511 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
Inactive(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590018_Inactive_01(const CEntityEvent &__eeInput);
|
|
BOOL H0x01590019_Inactive_02(const CEntityEvent &__eeInput);
|
|
#define STATE_CCannonRotating_Main 1
|
|
BOOL
|
|
#line 527 "D:/SE1_GPL/Sources/EntitiesMP/CannonRotating.es"
|
|
Main(const CEntityEvent &__eeInput);
|
|
BOOL H0x0159001a_Main_01(const CEntityEvent &__eeInput);
|
|
BOOL H0x0159001b_Main_02(const CEntityEvent &__eeInput);
|
|
};
|
|
#endif // _EntitiesMP_CannonRotating_INCLUDED
|