mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 18:30:27 +01:00
67 lines
1.8 KiB
C
67 lines
1.8 KiB
C
|
/*
|
||
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
||
|
*/
|
||
|
|
||
|
#ifndef _EntitiesMP_AmmoPack_INCLUDED
|
||
|
#define _EntitiesMP_AmmoPack_INCLUDED 1
|
||
|
#include <EntitiesMP/Item.h>
|
||
|
extern DECL_DLL CEntityPropertyEnumType AmmoPackType_enum;
|
||
|
enum AmmoPackType {
|
||
|
APT_CUSTOM = 1,
|
||
|
APT_SERIOUS = 2,
|
||
|
};
|
||
|
DECL_DLL inline void ClearToDefault(AmmoPackType &e) { e = (AmmoPackType)0; } ;
|
||
|
#define EVENTCODE_EAmmoPackItem 0x03260000
|
||
|
class DECL_DLL EAmmoPackItem : public CEntityEvent {
|
||
|
public:
|
||
|
EAmmoPackItem();
|
||
|
CEntityEvent *MakeCopy(void);
|
||
|
INDEX iShells;
|
||
|
INDEX iBullets;
|
||
|
INDEX iRockets;
|
||
|
INDEX iGrenades;
|
||
|
INDEX iNapalm;
|
||
|
INDEX iElectricity;
|
||
|
INDEX iIronBalls;
|
||
|
INDEX iSniperBullets;
|
||
|
};
|
||
|
DECL_DLL inline void ClearToDefault(EAmmoPackItem &e) { e = EAmmoPackItem(); } ;
|
||
|
extern "C" DECL_DLL CDLLEntityClass CAmmoPack_DLLClass;
|
||
|
class CAmmoPack : public CItem {
|
||
|
public:
|
||
|
DECL_DLL virtual void SetDefaultProperties(void);
|
||
|
enum AmmoPackType m_aptPackType;
|
||
|
INDEX m_iShells;
|
||
|
INDEX m_iBullets;
|
||
|
INDEX m_iRockets;
|
||
|
INDEX m_iGrenades;
|
||
|
INDEX m_iNapalm;
|
||
|
INDEX m_iElectricity;
|
||
|
INDEX m_iIronBalls;
|
||
|
INDEX m_iSniperBullets;
|
||
|
|
||
|
#line 66 "D:/SE1_GPL/Sources/EntitiesMP/AmmoPack.es"
|
||
|
void Precache(void);
|
||
|
|
||
|
#line 71 "D:/SE1_GPL/Sources/EntitiesMP/AmmoPack.es"
|
||
|
void RenderParticles(void);
|
||
|
|
||
|
#line 84 "D:/SE1_GPL/Sources/EntitiesMP/AmmoPack.es"
|
||
|
BOOL FillEntityStatistics(EntityStats * pes);
|
||
|
|
||
|
#line 113 "D:/SE1_GPL/Sources/EntitiesMP/AmmoPack.es"
|
||
|
void SetProperties(void);
|
||
|
|
||
|
#line 147 "D:/SE1_GPL/Sources/EntitiesMP/AmmoPack.es"
|
||
|
void AdjustDifficulty(void);
|
||
|
#define STATE_CAmmoPack_ItemCollected 0x03260001
|
||
|
BOOL
|
||
|
#line 157 "D:/SE1_GPL/Sources/EntitiesMP/AmmoPack.es"
|
||
|
ItemCollected(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CAmmoPack_Main 1
|
||
|
BOOL
|
||
|
#line 195 "D:/SE1_GPL/Sources/EntitiesMP/AmmoPack.es"
|
||
|
Main(const CEntityEvent &__eeInput);
|
||
|
};
|
||
|
#endif // _EntitiesMP_AmmoPack_INCLUDED
|