mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 18:30:27 +01:00
134 lines
5.0 KiB
C
134 lines
5.0 KiB
C
|
/*
|
||
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
||
|
*/
|
||
|
|
||
|
#ifndef _EntitiesMP_GruntSka_INCLUDED
|
||
|
#define _EntitiesMP_GruntSka_INCLUDED 1
|
||
|
#include <EntitiesMP/EnemyBase.h>
|
||
|
#include <EntitiesMP/BasicEffects.h>
|
||
|
extern DECL_DLL CEntityPropertyEnumType GruntSkaType_enum;
|
||
|
enum GruntSkaType {
|
||
|
GT_SOLDIER = 0,
|
||
|
GT_COMMANDER = 1,
|
||
|
};
|
||
|
DECL_DLL inline void ClearToDefault(GruntSkaType &e) { e = (GruntSkaType)0; } ;
|
||
|
extern "C" DECL_DLL CDLLEntityClass CGruntSka_DLLClass;
|
||
|
class CGruntSka : public CEnemyBase {
|
||
|
public:
|
||
|
DECL_DLL virtual void SetDefaultProperties(void);
|
||
|
enum GruntSkaType m_gtType;
|
||
|
CSoundObject m_soFire1;
|
||
|
CSoundObject m_soFire2;
|
||
|
FLOAT m_fMidBoneRot;
|
||
|
CModelInstance m_miTest;
|
||
|
CGruntSka(void);
|
||
|
|
||
|
#line 114 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
void CreateTestModelInstance();
|
||
|
|
||
|
#line 127 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
void BuildGruntModel();
|
||
|
|
||
|
#line 164 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
void BuildCommanderModel(CEntity * penGrunt);
|
||
|
|
||
|
#line 256 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
virtual CTString GetPlayerKillDescription(const CTString & strPlayerName,const EDeath & eDeath);
|
||
|
|
||
|
#line 264 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
void * GetEntityInfo(void);
|
||
|
|
||
|
#line 275 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
virtual const CTFileName & GetComputerMessageName(void)const;
|
||
|
|
||
|
#line 285 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
void Precache(void);
|
||
|
|
||
|
#line 303 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
void ReceiveDamage(CEntity * penInflictor,enum DamageType dmtType,
|
||
|
#line 304 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
FLOAT fDamageAmmount,const FLOAT3D & vHitPoint,const FLOAT3D & vDirection);
|
||
|
|
||
|
#line 310 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
INDEX AnimForDamage(FLOAT fDamage);
|
||
|
|
||
|
#line 316 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
INDEX AnimForDeath(void);
|
||
|
|
||
|
#line 332 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
FLOAT WaitForDust(FLOAT3D & vStretch);
|
||
|
|
||
|
#line 343 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
void DeathNotify(void);
|
||
|
|
||
|
#line 351 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
void StandingAnim(void);
|
||
|
|
||
|
#line 358 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
void RunningAnim(void);
|
||
|
|
||
|
#line 361 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
void WalkingAnim(void);
|
||
|
|
||
|
#line 364 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
void RotatingAnim(void);
|
||
|
|
||
|
#line 369 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
void IdleSound(void);
|
||
|
|
||
|
#line 372 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
void SightSound(void);
|
||
|
|
||
|
#line 375 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
void WoundSound(void);
|
||
|
|
||
|
#line 378 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
void DeathSound(void);
|
||
|
|
||
|
#line 383 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
void EnemyPostInit(void);
|
||
|
#define STATE_CGruntSka_Fire 0x01570000
|
||
|
BOOL
|
||
|
#line 394 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
Fire(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570001_Fire_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570002_Fire_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570003_Fire_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570004_Fire_04(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570005_Fire_05(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570006_Fire_06(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570007_Fire_07(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570008_Fire_08(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CGruntSka_SoldierAttack 0x01570009
|
||
|
BOOL
|
||
|
#line 409 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
SoldierAttack(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0157000a_SoldierAttack_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0157000b_SoldierAttack_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0157000c_SoldierAttack_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0157000d_SoldierAttack_04(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0157000e_SoldierAttack_05(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0157000f_SoldierAttack_06(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CGruntSka_CommanderAttack 0x01570010
|
||
|
BOOL
|
||
|
#line 430 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
CommanderAttack(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570011_CommanderAttack_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570012_CommanderAttack_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570013_CommanderAttack_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570014_CommanderAttack_04(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570015_CommanderAttack_05(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570016_CommanderAttack_06(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570017_CommanderAttack_07(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570018_CommanderAttack_08(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x01570019_CommanderAttack_09(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0157001a_CommanderAttack_10(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0157001b_CommanderAttack_11(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x0157001c_CommanderAttack_12(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CGruntSka_Main 1
|
||
|
BOOL
|
||
|
#line 473 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es"
|
||
|
Main(const CEntityEvent &__eeInput);
|
||
|
};
|
||
|
#endif // _EntitiesMP_GruntSka_INCLUDED
|