mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-26 04:05:53 +01:00
685 lines
26 KiB
C
685 lines
26 KiB
C
|
/*
|
||
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
||
|
*/
|
||
|
|
||
|
#ifndef _EntitiesMP_EnemyBase_INCLUDED
|
||
|
#define _EntitiesMP_EnemyBase_INCLUDED 1
|
||
|
#include <EntitiesMP/Watcher.h>
|
||
|
#include <EntitiesMP/BasicEffects.h>
|
||
|
#include <EntitiesMP/Projectile.h>
|
||
|
#include <EntitiesMP/Debris.h>
|
||
|
#include <EntitiesMP/EnemyMarker.h>
|
||
|
#include <EntitiesMP/MusicHolder.h>
|
||
|
#include <EntitiesMP/BloodSpray.h>
|
||
|
#define EVENTCODE_ERestartAttack 0x01360000
|
||
|
class DECL_DLL ERestartAttack : public CEntityEvent {
|
||
|
public:
|
||
|
ERestartAttack();
|
||
|
CEntityEvent *MakeCopy(void);
|
||
|
};
|
||
|
DECL_DLL inline void ClearToDefault(ERestartAttack &e) { e = ERestartAttack(); } ;
|
||
|
#define EVENTCODE_EReconsiderBehavior 0x01360001
|
||
|
class DECL_DLL EReconsiderBehavior : public CEntityEvent {
|
||
|
public:
|
||
|
EReconsiderBehavior();
|
||
|
CEntityEvent *MakeCopy(void);
|
||
|
};
|
||
|
DECL_DLL inline void ClearToDefault(EReconsiderBehavior &e) { e = EReconsiderBehavior(); } ;
|
||
|
#define EVENTCODE_EForceWound 0x01360002
|
||
|
class DECL_DLL EForceWound : public CEntityEvent {
|
||
|
public:
|
||
|
EForceWound();
|
||
|
CEntityEvent *MakeCopy(void);
|
||
|
};
|
||
|
DECL_DLL inline void ClearToDefault(EForceWound &e) { e = EForceWound(); } ;
|
||
|
extern DECL_DLL CEntityPropertyEnumType TargetType_enum;
|
||
|
enum TargetType {
|
||
|
TT_NONE = 0,
|
||
|
TT_SOFT = 1,
|
||
|
TT_HARD = 2,
|
||
|
};
|
||
|
DECL_DLL inline void ClearToDefault(TargetType &e) { e = (TargetType)0; } ;
|
||
|
extern DECL_DLL CEntityPropertyEnumType DestinationType_enum;
|
||
|
enum DestinationType {
|
||
|
DT_PLAYERCURRENT = 0,
|
||
|
DT_PLAYERSPOTTED = 1,
|
||
|
DT_PATHTEMPORARY = 2,
|
||
|
DT_PATHPERSISTENT = 3,
|
||
|
};
|
||
|
DECL_DLL inline void ClearToDefault(DestinationType &e) { e = (DestinationType)0; } ;
|
||
|
extern "C" DECL_DLL CDLLEntityClass CEnemyBase_DLLClass;
|
||
|
class DECL_DLL CEnemyBase : public CMovableModelEntity {
|
||
|
public:
|
||
|
virtual const CTString &GetName(void) const { return m_strName; };
|
||
|
virtual BOOL IsTargetable(void) const { return TRUE; };
|
||
|
virtual CEntity *GetPredictionPair(void) { return m_penPrediction; };
|
||
|
virtual void SetPredictionPair(CEntity *penPair) { m_penPrediction = penPair; };
|
||
|
virtual void SetDefaultProperties(void);
|
||
|
CEntityPointer m_penWatcher;
|
||
|
FLOAT3D m_vStartPosition;
|
||
|
CEntityPointer m_penEnemy;
|
||
|
enum TargetType m_ttTarget;
|
||
|
CTString m_strDescription;
|
||
|
CTString m_strName;
|
||
|
CSoundObject m_soSound;
|
||
|
FLOAT3D m_vStartDirection;
|
||
|
BOOL m_bOnStartPosition;
|
||
|
FLOAT m_fFallHeight;
|
||
|
FLOAT m_fStepHeight;
|
||
|
RANGE m_fSenseRange;
|
||
|
FLOAT m_fViewAngle;
|
||
|
FLOAT m_fWalkSpeed;
|
||
|
ANGLE m_aWalkRotateSpeed;
|
||
|
FLOAT m_fAttackRunSpeed;
|
||
|
ANGLE m_aAttackRotateSpeed;
|
||
|
FLOAT m_fCloseRunSpeed;
|
||
|
ANGLE m_aCloseRotateSpeed;
|
||
|
FLOAT m_fAttackDistance;
|
||
|
FLOAT m_fCloseDistance;
|
||
|
FLOAT m_fAttackFireTime;
|
||
|
FLOAT m_fCloseFireTime;
|
||
|
FLOAT m_fStopDistance;
|
||
|
FLOAT m_fIgnoreRange;
|
||
|
FLOAT m_fLockOnEnemyTime;
|
||
|
FLOAT m_fBlowUpAmount;
|
||
|
INDEX m_fBodyParts;
|
||
|
FLOAT m_fDamageWounded;
|
||
|
FLOAT3D m_vDamage;
|
||
|
FLOAT m_tmLastDamage;
|
||
|
BOOL m_bRobotBlowup;
|
||
|
FLOAT m_fBlowUpSize;
|
||
|
FLOAT m_fMoveTime;
|
||
|
FLOAT3D m_vDesiredPosition;
|
||
|
enum DestinationType m_dtDestination;
|
||
|
CEntityPointer m_penPathMarker;
|
||
|
FLOAT3D m_vPlayerSpotted;
|
||
|
FLOAT m_fMoveFrequency;
|
||
|
FLOAT m_fMoveSpeed;
|
||
|
ANGLE m_aRotateSpeed;
|
||
|
FLOAT m_fLockStartTime;
|
||
|
FLOAT m_fRangeLast;
|
||
|
BOOL m_bFadeOut;
|
||
|
FLOAT m_fFadeStartTime;
|
||
|
FLOAT m_fFadeTime;
|
||
|
FLOAT m_fShootTime;
|
||
|
FLOAT m_fDamageConfused;
|
||
|
INDEX m_iChargeHitAnimation;
|
||
|
FLOAT m_fChargeHitDamage;
|
||
|
FLOAT m_fChargeHitAngle;
|
||
|
FLOAT m_fChargeHitSpeed;
|
||
|
CEntityPointer m_penSpawnerTarget;
|
||
|
CEntityPointer m_penDeathTarget;
|
||
|
enum EventEType m_eetDeathType;
|
||
|
BOOL m_bTemplate;
|
||
|
RANGE m_fAttackRadius;
|
||
|
COLOR m_colColor;
|
||
|
BOOL m_bDeaf;
|
||
|
BOOL m_bBlind;
|
||
|
FLOAT m_tmGiveUp;
|
||
|
FLOAT m_tmReflexMin;
|
||
|
FLOAT m_tmReflexMax;
|
||
|
FLOAT m_fActivityRange;
|
||
|
BOOL m_bApplyRandomStretch;
|
||
|
FLOAT m_fRandomStretchFactor;
|
||
|
FLOAT m_fStretchMultiplier;
|
||
|
FLOAT m_fRandomStretchMultiplier;
|
||
|
CEntityPointer m_penMarker;
|
||
|
CEntityPointer m_penMainMusicHolder;
|
||
|
FLOAT m_tmLastFussTime;
|
||
|
FLOAT m_iScore;
|
||
|
FLOAT m_fMaxHealth;
|
||
|
BOOL m_bBoss;
|
||
|
FLOAT m_fSpiritStartTime;
|
||
|
FLOAT m_tmSpraySpawned;
|
||
|
FLOAT m_fSprayDamage;
|
||
|
CEntityPointer m_penSpray;
|
||
|
FLOAT m_fMaxDamageAmmount;
|
||
|
FLOAT3D m_vLastStain;
|
||
|
enum SprayParticlesType m_sptType;
|
||
|
CEntityPointer m_penTacticsHolder;
|
||
|
BOOL m_bTacticActive;
|
||
|
FLOAT m_tmTacticsActivation;
|
||
|
FLOAT3D m_vTacticsStartPosition;
|
||
|
FLOAT m_fTacticVar1;
|
||
|
FLOAT m_fTacticVar2;
|
||
|
FLOAT m_fTacticVar3;
|
||
|
FLOAT m_fTacticVar4;
|
||
|
FLOAT m_fTacticVar5;
|
||
|
BOOL m_bTacticsStartOnSense;
|
||
|
COLOR m_colBurning;
|
||
|
BOOL m_bResizeAttachments;
|
||
|
CEntityPointer m_penPrediction;
|
||
|
TIME m_tmPredict;
|
||
|
CEnemyBase(void);
|
||
|
|
||
|
#line 218 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void SetPredictionTime(TIME tmAdvance);
|
||
|
|
||
|
#line 225 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
TIME GetPredictionTime(void);
|
||
|
|
||
|
#line 231 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual CTString GetPlayerKillDescription(const CTString & strPlayerName,const EDeath & eDeath);
|
||
|
|
||
|
#line 238 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual FLOAT GetCrushHealth(void);
|
||
|
|
||
|
#line 244 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual BOOL CountAsKill(void);
|
||
|
|
||
|
#line 249 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual BOOL ForcesCannonballToExplode(void);
|
||
|
|
||
|
#line 255 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual FLOAT & GetProp(FLOAT & m_fBase);
|
||
|
|
||
|
#line 261 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual FLOAT GetThreatDistance(void);
|
||
|
|
||
|
#line 268 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void MaybeSwitchToAnotherPlayer(void);
|
||
|
|
||
|
#line 289 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
class CWatcher * GetWatcher(void);
|
||
|
void Copy(CEntity & enOther,ULONG ulFlags);
|
||
|
|
||
|
#line 300 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void Precache(void);
|
||
|
|
||
|
#line 325 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual FLOAT3D PlayerDestinationPos(void);
|
||
|
|
||
|
#line 331 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT3D CalcDelta(CEntity * penEntity);
|
||
|
|
||
|
#line 338 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT CalcDist(CEntity * penEntity);
|
||
|
|
||
|
#line 343 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL IfTargetCrushed(CEntity * penOther,const FLOAT3D & vDirection);
|
||
|
|
||
|
#line 359 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT3D CalcPlaneDelta(CEntity * penEntity);
|
||
|
|
||
|
#line 371 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT CalcPlaneDist(CEntity * penEntity);
|
||
|
|
||
|
#line 377 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT GetFrustumAngle(const FLOAT3D & vDir);
|
||
|
|
||
|
#line 386 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT GetPlaneFrustumAngle(const FLOAT3D & vDir);
|
||
|
|
||
|
#line 402 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL IsInFrustum(CEntity * penEntity,FLOAT fCosHalfFrustum);
|
||
|
|
||
|
#line 414 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL IsInPlaneFrustum(CEntity * penEntity,FLOAT fCosHalfFrustum);
|
||
|
|
||
|
#line 430 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL IsVisible(CEntity * penEntity);
|
||
|
|
||
|
#line 448 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL IsVisibleCheckAll(CEntity * penEntity);
|
||
|
|
||
|
#line 466 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void CalculateAngularLaunchParams(
|
||
|
#line 467 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT3D vShooting,FLOAT fShootHeight,
|
||
|
#line 468 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT3D vTarget,FLOAT3D vSpeedDest,
|
||
|
#line 469 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
ANGLE aPitch,
|
||
|
#line 470 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT & fLaunchSpeed,
|
||
|
#line 471 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT & fRelativeHdg);
|
||
|
|
||
|
#line 509 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT3D CalculatePredictedPosition(FLOAT3D vShootPos,FLOAT3D vTarget,
|
||
|
#line 510 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT fSpeedSrc,FLOAT3D vSpeedDst,FLOAT fClampY);
|
||
|
|
||
|
#line 534 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL MovesByTargetedRoute(CTString & strTargetProperty)const;
|
||
|
|
||
|
#line 539 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL DropsMarker(CTFileName & fnmMarkerClass,CTString & strTargetProperty)const;
|
||
|
|
||
|
#line 544 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
const CTString & GetDescription(void)const;
|
||
|
|
||
|
#line 552 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual const CTFileName & GetComputerMessageName(void)const;
|
||
|
|
||
|
#line 558 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void AddDependentsToPrediction(void);
|
||
|
|
||
|
#line 567 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void ChecksumForSync(ULONG & ulCRC,INDEX iExtensiveSyncCheck);
|
||
|
|
||
|
#line 571 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void DumpSync_t(CTStream & strm,INDEX iExtensiveSyncCheck);
|
||
|
|
||
|
#line 591 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void Read_t(CTStream * istr);
|
||
|
|
||
|
#line 601 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL FillEntityStatistics(EntityStats * pes);
|
||
|
|
||
|
#line 616 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void ReceiveDamage(CEntity * penInflictor,enum DamageType dmtType,
|
||
|
#line 617 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT fDamageAmmount,const FLOAT3D & vHitPoint,const FLOAT3D & vDirection);
|
||
|
|
||
|
#line 782 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL AdjustShadingParameters(FLOAT3D & vLightDirection,COLOR & colLight,COLOR & colAmbient);
|
||
|
|
||
|
#line 844 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void AddToFuss(void);
|
||
|
|
||
|
#line 884 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void RemoveFromFuss(void);
|
||
|
|
||
|
#line 907 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL ShouldCeaseAttack(void);
|
||
|
|
||
|
#line 926 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void SizeModel(void);
|
||
|
|
||
|
#line 954 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL IsValidForEnemy(CEntity * penPlayer);
|
||
|
|
||
|
#line 963 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void SetTargetNone(void);
|
||
|
|
||
|
#line 971 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL SetTargetSoft(CEntity * penPlayer);
|
||
|
|
||
|
#line 992 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL SetTargetHard(CEntity * penPlayer);
|
||
|
|
||
|
#line 1013 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL SetTargetHardForce(CEntity * penPlayer);
|
||
|
|
||
|
#line 1033 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual FLOAT GetAttackMoveFrequency(FLOAT fEnemyDistance);
|
||
|
|
||
|
#line 1043 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void SetSpeedsToDesiredPosition(const FLOAT3D & vPosDelta,FLOAT fPosDist,BOOL bGoingToPlayer);
|
||
|
|
||
|
#line 1102 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void MovementAnimation(ULONG ulFlags);
|
||
|
|
||
|
#line 1124 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual ULONG SetDesiredMovement(void);
|
||
|
|
||
|
#line 1193 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void StopMoving();
|
||
|
|
||
|
#line 1200 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void StopRotating();
|
||
|
|
||
|
#line 1206 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void StopTranslating();
|
||
|
|
||
|
#line 1212 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT CalcDistanceInPlaneToDestination(void);
|
||
|
|
||
|
#line 1221 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void StartPathFinding(void);
|
||
|
|
||
|
#line 1245 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void FindNextPathMarker(void);
|
||
|
|
||
|
#line 1278 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL CheckTouchForPathFinding(const ETouch & eTouch);
|
||
|
|
||
|
#line 1310 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL CheckFallForPathFinding(const EWouldFall & eWouldFall);
|
||
|
|
||
|
#line 1338 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void InitializeTactics(void);
|
||
|
|
||
|
#line 1404 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void ApplyTactics(FLOAT3D & vDesiredPos);
|
||
|
|
||
|
#line 1533 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void StartTacticsNow(void);
|
||
|
|
||
|
#line 1541 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL CanAttackEnemy(CEntity * penTarget,FLOAT fCosAngle);
|
||
|
|
||
|
#line 1551 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual BOOL CanHitEnemy(CEntity * penTarget,FLOAT fCosAngle);
|
||
|
|
||
|
#line 1559 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL SeeEntity(CEntity * pen,FLOAT fCosAngle);
|
||
|
|
||
|
#line 1567 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL SeeEntityInPlane(CEntity * pen,FLOAT fCosAngle);
|
||
|
|
||
|
#line 1576 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void PreparePropelledProjectile(CPlacement3D & plProjectile,FLOAT3D vShootTarget,
|
||
|
#line 1577 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT3D & vOffset,ANGLE3D & aOffset);
|
||
|
|
||
|
#line 1600 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void PrepareFreeFlyingProjectile(CPlacement3D & plProjectile,FLOAT3D vShootTarget,
|
||
|
#line 1601 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT3D & vOffset,ANGLE3D & aOffset);
|
||
|
|
||
|
#line 1624 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
CEntity * ShootProjectile(enum ProjectileType pt,FLOAT3D & vOffset,ANGLE3D & aOffset);
|
||
|
|
||
|
#line 1646 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
CEntity * ShootProjectileAt(FLOAT3D vShootTarget,enum ProjectileType pt,FLOAT3D & vOffset,ANGLE3D & aOffset);
|
||
|
|
||
|
#line 1661 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
CEntity * ShootPredictedProjectile(enum ProjectileType pt,FLOAT3D vPredictedPos,FLOAT3D & vOffset,ANGLE3D & aOffset);
|
||
|
|
||
|
#line 1687 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL WouldNotLeaveAttackRadius(void);
|
||
|
|
||
|
#line 1702 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual BOOL MayMoveToAttack(void);
|
||
|
|
||
|
#line 1717 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual BOOL ShouldBlowUp(void);
|
||
|
|
||
|
#line 1736 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void BlowUpBase(void);
|
||
|
|
||
|
#line 1744 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void BlowUp(void);
|
||
|
|
||
|
#line 1816 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void LeaveStain(BOOL bGrow);
|
||
|
|
||
|
#line 1851 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void AdjustDifficulty(void);
|
||
|
|
||
|
#line 1885 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void WoundedNotify(const EDamage & eDamage);
|
||
|
|
||
|
#line 1904 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void SeeNotify();
|
||
|
|
||
|
#line 1923 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void StandingAnim(void);
|
||
|
|
||
|
#line 1924 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void StandingAnimFight(void);
|
||
|
|
||
|
#line 1925 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void WalkingAnim(void);
|
||
|
|
||
|
#line 1926 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void RunningAnim(void);
|
||
|
|
||
|
#line 1927 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void RotatingAnim(void);
|
||
|
|
||
|
#line 1928 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void ChargeAnim(void);
|
||
|
|
||
|
#line 1929 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual INDEX AnimForDamage(FLOAT fDamage);
|
||
|
|
||
|
#line 1930 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void BlowUpNotify(void);
|
||
|
|
||
|
#line 1931 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual INDEX AnimForDeath(void);
|
||
|
|
||
|
#line 1932 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual FLOAT WaitForDust(FLOAT3D & vStretch);
|
||
|
|
||
|
#line 1933 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void DeathNotify(void);
|
||
|
|
||
|
#line 1934 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void IdleSound(void);
|
||
|
|
||
|
#line 1935 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void SightSound(void);
|
||
|
|
||
|
#line 1936 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void WoundSound(void);
|
||
|
|
||
|
#line 1937 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void DeathSound(void);
|
||
|
|
||
|
#line 1938 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual FLOAT GetLockRotationSpeed(void);
|
||
|
|
||
|
#line 1942 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void RenderParticles(void);
|
||
|
|
||
|
#line 1957 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
virtual void EnemyPostInit(void);
|
||
|
|
||
|
#line 1960 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL HandleEvent(const CEntityEvent & ee);
|
||
|
|
||
|
#line 1980 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT GetAnimLength(int iAnim);
|
||
|
|
||
|
#line 1990 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT GetCurrentAnimLength();
|
||
|
|
||
|
#line 2000 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BOOL IsAnimFinished();
|
||
|
|
||
|
#line 2010 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT GetPassedTime();
|
||
|
|
||
|
#line 2019 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FLOAT3D & GetModelStretch();
|
||
|
|
||
|
#line 2029 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void StretchModel(FLOAT3D vStretch);
|
||
|
|
||
|
#line 2039 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
void StretchSingleModel(FLOAT3D vStretch);
|
||
|
|
||
|
#line 2050 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
SLONG GetUsedMemory(void);
|
||
|
#define STATE_CEnemyBase_MoveToDestination 0x01360003
|
||
|
BOOL
|
||
|
#line 2070 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
MoveToDestination(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360004_MoveToDestination_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360005_MoveToDestination_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360006_MoveToDestination_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360007_MoveToDestination_04(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_MoveToRandomPatrolPosition 0x01360008
|
||
|
BOOL
|
||
|
#line 2095 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
MoveToRandomPatrolPosition(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360009_MoveToRandomPatrolPosition_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136000a_MoveToRandomPatrolPosition_02(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_DoPatrolling 0x0136000b
|
||
|
BOOL
|
||
|
#line 2135 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
DoPatrolling(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136000c_DoPatrolling_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136000d_DoPatrolling_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136000e_DoPatrolling_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136000f_DoPatrolling_04(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360010_DoPatrolling_05(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360011_DoPatrolling_06(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_BeIdle 0x01360012
|
||
|
BOOL
|
||
|
#line 2150 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BeIdle(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360013_BeIdle_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360014_BeIdle_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360015_BeIdle_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360016_BeIdle_04(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_ReturnToStartPosition 0x01360017
|
||
|
BOOL
|
||
|
#line 2168 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
ReturnToStartPosition(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_MoveThroughMarkers 0x01360018
|
||
|
BOOL
|
||
|
#line 2212 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
MoveThroughMarkers(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360019_MoveThroughMarkers_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136001a_MoveThroughMarkers_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136001b_MoveThroughMarkers_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136001c_MoveThroughMarkers_04(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136001d_MoveThroughMarkers_05(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136001e_MoveThroughMarkers_06(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136001f_MoveThroughMarkers_07(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360020_MoveThroughMarkers_08(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360021_MoveThroughMarkers_09(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360022_MoveThroughMarkers_10(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360023_MoveThroughMarkers_11(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360024_MoveThroughMarkers_12(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_NewEnemySpotted 0x01360025
|
||
|
BOOL
|
||
|
#line 2310 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
NewEnemySpotted(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360026_NewEnemySpotted_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360027_NewEnemySpotted_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360028_NewEnemySpotted_03(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_StopAttack 0x01360029
|
||
|
BOOL
|
||
|
#line 2342 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
StopAttack(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_InitializeAttack 0x0136002a
|
||
|
BOOL
|
||
|
#line 2355 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
InitializeAttack(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_AttackEnemy 0x0136002b
|
||
|
BOOL
|
||
|
#line 2381 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
AttackEnemy(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136002c_AttackEnemy_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136002d_AttackEnemy_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136002e_AttackEnemy_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136002f_AttackEnemy_04(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360030_AttackEnemy_05(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360031_AttackEnemy_06(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360032_AttackEnemy_07(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360033_AttackEnemy_08(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_PerformAttack 0x01360034
|
||
|
BOOL
|
||
|
#line 2399 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
PerformAttack(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360035_PerformAttack_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360036_PerformAttack_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360037_PerformAttack_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360038_PerformAttack_04(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_FireOrHit 0x01360039
|
||
|
BOOL
|
||
|
#line 2587 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
FireOrHit(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136003a_FireOrHit_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136003b_FireOrHit_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136003c_FireOrHit_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136003d_FireOrHit_04(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136003e_FireOrHit_05(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136003f_FireOrHit_06(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360040_FireOrHit_07(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360041_FireOrHit_08(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_Hit 0x01360042
|
||
|
BOOL
|
||
|
#line 2630 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
Hit(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_Fire 0x01360043
|
||
|
BOOL
|
||
|
#line 2636 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
Fire(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_LockOnEnemy 0x01360044
|
||
|
BOOL
|
||
|
#line 2646 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
LockOnEnemy(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360045_LockOnEnemy_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360046_LockOnEnemy_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360047_LockOnEnemy_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360048_LockOnEnemy_04(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_ChargeHitEnemy 0x01360049
|
||
|
BOOL
|
||
|
#line 2685 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
ChargeHitEnemy(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136004a_ChargeHitEnemy_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136004b_ChargeHitEnemy_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136004c_ChargeHitEnemy_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136004d_ChargeHitEnemy_04(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136004e_ChargeHitEnemy_05(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_BeWounded 0x0136004f
|
||
|
BOOL
|
||
|
#line 2741 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
BeWounded(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360050_BeWounded_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360051_BeWounded_02(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_Die 0x01360052
|
||
|
BOOL
|
||
|
#line 2750 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
Die(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360053_Die_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360054_Die_02(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_Death 0x01360055
|
||
|
BOOL
|
||
|
#line 2843 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
Death(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360056_Death_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360057_Death_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360058_Death_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360059_Death_04(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136005a_Death_05(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136005b_Death_06(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136005c_Death_07(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136005d_Death_08(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136005e_Death_09(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_DeathSequence 0x0136005f
|
||
|
BOOL
|
||
|
#line 2903 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
DeathSequence(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360060_DeathSequence_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360061_DeathSequence_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360062_DeathSequence_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360063_DeathSequence_04(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360064_DeathSequence_05(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360065_DeathSequence_06(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360066_DeathSequence_07(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360067_DeathSequence_08(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_Active 0x01360068
|
||
|
BOOL
|
||
|
#line 2942 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
Active(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360069_Active_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136006a_Active_02(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_Inactive 0x0136006b
|
||
|
BOOL
|
||
|
#line 3081 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
Inactive(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136006c_Inactive_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0136006d_Inactive_02(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_PreMainLoop 0x0136006e
|
||
|
BOOL
|
||
|
#line 3127 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
PreMainLoop(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_MainLoop 0x0136006f
|
||
|
BOOL
|
||
|
#line 3133 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
MainLoop(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360070_MainLoop_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360071_MainLoop_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360072_MainLoop_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360073_MainLoop_04(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_StandardBehavior 0x01360074
|
||
|
BOOL
|
||
|
#line 3210 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
StandardBehavior(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360075_StandardBehavior_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01360076_StandardBehavior_02(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CEnemyBase_Main 1
|
||
|
BOOL
|
||
|
#line 3258 "D:/SE1_GPL/Sources/EntitiesMP/EnemyBase.es"
|
||
|
Main(const CEntityEvent &__eeInput);
|
||
|
};
|
||
|
#endif // _EntitiesMP_EnemyBase_INCLUDED
|