Serious-Engine/Sources/EntitiesMP/ArmorItem.h
2016-03-11 15:57:17 +02:00

59 lines
1.7 KiB
C++

/*
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
*/
#ifndef _EntitiesMP_ArmorItem_INCLUDED
#define _EntitiesMP_ArmorItem_INCLUDED 1
#include <EntitiesMP/Item.h>
extern DECL_DLL CEntityPropertyEnumType ArmorItemType_enum;
enum ArmorItemType {
ARIT_SHARD = 0,
ARIT_SMALL = 1,
ARIT_MEDIUM = 2,
ARIT_STRONG = 3,
ARIT_SUPER = 4,
ARIT_HELM = 5,
};
DECL_DLL inline void ClearToDefault(ArmorItemType &e) { e = (ArmorItemType)0; } ;
#define EVENTCODE_EArmor 0x03240000
class DECL_DLL EArmor : public CEntityEvent {
public:
EArmor();
CEntityEvent *MakeCopy(void);
FLOAT fArmor;
BOOL bOverTopArmor;
};
DECL_DLL inline void ClearToDefault(EArmor &e) { e = EArmor(); } ;
extern "C" DECL_DLL CDLLEntityClass CArmorItem_DLLClass;
class CArmorItem : public CItem {
public:
DECL_DLL virtual void SetDefaultProperties(void);
enum ArmorItemType m_EaitType;
BOOL m_bOverTopArmor;
INDEX m_iSoundComponent;
#line 82 "D:/SE1_GPL/Sources/EntitiesMP/ArmorItem.es"
void Precache(void);
#line 93 "D:/SE1_GPL/Sources/EntitiesMP/ArmorItem.es"
BOOL FillEntityStatistics(EntityStats * pes);
#line 112 "D:/SE1_GPL/Sources/EntitiesMP/ArmorItem.es"
void RenderParticles(void);
#line 142 "D:/SE1_GPL/Sources/EntitiesMP/ArmorItem.es"
void SetProperties(void);
#line 220 "D:/SE1_GPL/Sources/EntitiesMP/ArmorItem.es"
void AdjustDifficulty(void);
#define STATE_CArmorItem_ItemCollected 0x03240001
BOOL
#line 228 "D:/SE1_GPL/Sources/EntitiesMP/ArmorItem.es"
ItemCollected(const CEntityEvent &__eeInput);
#define STATE_CArmorItem_Main 1
BOOL
#line 273 "D:/SE1_GPL/Sources/EntitiesMP/ArmorItem.es"
Main(const CEntityEvent &__eeInput);
};
#endif // _EntitiesMP_ArmorItem_INCLUDED