mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 18:30:27 +01:00
58 lines
1.7 KiB
C++
58 lines
1.7 KiB
C++
/*
|
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
|
*/
|
|
|
|
#ifndef _EntitiesMP_HealthItem_INCLUDED
|
|
#define _EntitiesMP_HealthItem_INCLUDED 1
|
|
#include <EntitiesMP/Item.h>
|
|
extern DECL_DLL CEntityPropertyEnumType HealthItemType_enum;
|
|
enum HealthItemType {
|
|
HIT_PILL = 0,
|
|
HIT_SMALL = 1,
|
|
HIT_MEDIUM = 2,
|
|
HIT_LARGE = 3,
|
|
HIT_SUPER = 4,
|
|
};
|
|
DECL_DLL inline void ClearToDefault(HealthItemType &e) { e = (HealthItemType)0; } ;
|
|
#define EVENTCODE_EHealth 0x03210000
|
|
class DECL_DLL EHealth : public CEntityEvent {
|
|
public:
|
|
EHealth();
|
|
CEntityEvent *MakeCopy(void);
|
|
FLOAT fHealth;
|
|
BOOL bOverTopHealth;
|
|
};
|
|
DECL_DLL inline void ClearToDefault(EHealth &e) { e = EHealth(); } ;
|
|
extern "C" DECL_DLL CDLLEntityClass CHealthItem_DLLClass;
|
|
class CHealthItem : public CItem {
|
|
public:
|
|
DECL_DLL virtual void SetDefaultProperties(void);
|
|
enum HealthItemType m_EhitType;
|
|
BOOL m_bOverTopHealth;
|
|
INDEX m_iSoundComponent;
|
|
|
|
#line 76 "D:/SE1_GPL/Sources/EntitiesMP/HealthItem.es"
|
|
void Precache(void);
|
|
|
|
#line 86 "D:/SE1_GPL/Sources/EntitiesMP/HealthItem.es"
|
|
BOOL FillEntityStatistics(EntityStats * pes);
|
|
|
|
#line 106 "D:/SE1_GPL/Sources/EntitiesMP/HealthItem.es"
|
|
void RenderParticles(void);
|
|
|
|
#line 133 "D:/SE1_GPL/Sources/EntitiesMP/HealthItem.es"
|
|
void SetProperties(void);
|
|
|
|
#line 208 "D:/SE1_GPL/Sources/EntitiesMP/HealthItem.es"
|
|
void AdjustDifficulty(void);
|
|
#define STATE_CHealthItem_ItemCollected 0x03210001
|
|
BOOL
|
|
#line 215 "D:/SE1_GPL/Sources/EntitiesMP/HealthItem.es"
|
|
ItemCollected(const CEntityEvent &__eeInput);
|
|
#define STATE_CHealthItem_Main 1
|
|
BOOL
|
|
#line 258 "D:/SE1_GPL/Sources/EntitiesMP/HealthItem.es"
|
|
Main(const CEntityEvent &__eeInput);
|
|
};
|
|
#endif // _EntitiesMP_HealthItem_INCLUDED
|