mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 18:30:27 +01:00
55 lines
3.3 KiB
C
55 lines
3.3 KiB
C
|
/*
|
||
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
||
|
*/
|
||
|
|
||
|
#define ENTITYCLASS CFireworks
|
||
|
|
||
|
CEntityProperty CFireworks_properties[] = {
|
||
|
CEntityProperty(CEntityProperty::EPT_RANGE, NULL, (0x00000268<<8)+1, offsetof(CFireworks, m_rRndRadius), "Random radius", 0, 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x00000268<<8)+10, offsetof(CFireworks, m_soFly), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x00000268<<8)+11, offsetof(CFireworks, m_soExplosion), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000268<<8)+12, offsetof(CFireworks, m_tmActivated), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x00000268<<8)+20, offsetof(CFireworks, m_strName), "Name", 'N', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000268<<8)+50, offsetof(CFireworks, m_tmLastAnimation), "", 0, 0, 0),
|
||
|
};
|
||
|
#define CFireworks_propertiesct ARRAYCOUNT(CFireworks_properties)
|
||
|
|
||
|
CEntityComponent CFireworks_components[] = {
|
||
|
#define MODEL_MARKER ((0x00000268<<8)+1)
|
||
|
CEntityComponent(ECT_MODEL, MODEL_MARKER, "EFNM" "Models\\Editor\\Axis.mdl"),
|
||
|
#define TEXTURE_MARKER ((0x00000268<<8)+2)
|
||
|
CEntityComponent(ECT_TEXTURE, TEXTURE_MARKER, "EFNM" "Models\\Editor\\Vector.tex"),
|
||
|
#define SOUND_FLY ((0x00000268<<8)+3)
|
||
|
CEntityComponent(ECT_SOUND, SOUND_FLY, "EFNM" "SoundsMP\\Misc\\Whizz.wav"),
|
||
|
#define SOUND_EXPLODE ((0x00000268<<8)+4)
|
||
|
CEntityComponent(ECT_SOUND, SOUND_EXPLODE, "EFNM" "SoundsMP\\Misc\\Firecrackers.wav"),
|
||
|
};
|
||
|
#define CFireworks_componentsct ARRAYCOUNT(CFireworks_components)
|
||
|
|
||
|
CEventHandlerEntry CFireworks_handlers[] = {
|
||
|
{0x02680000, -1, CEntity::pEventHandler(&CFireworks::
|
||
|
#line 91 "D:/SE1_GPL/Sources/EntitiesMP/Fireworks.es"
|
||
|
SpawnFireworks),DEBUGSTRING("CFireworks::SpawnFireworks")},
|
||
|
{0x02680001, -1, CEntity::pEventHandler(&CFireworks::H0x02680001_SpawnFireworks_01), DEBUGSTRING("CFireworks::H0x02680001_SpawnFireworks_01")},
|
||
|
{0x02680002, -1, CEntity::pEventHandler(&CFireworks::H0x02680002_SpawnFireworks_02), DEBUGSTRING("CFireworks::H0x02680002_SpawnFireworks_02")},
|
||
|
{1, -1, CEntity::pEventHandler(&CFireworks::
|
||
|
#line 133 "D:/SE1_GPL/Sources/EntitiesMP/Fireworks.es"
|
||
|
Main),DEBUGSTRING("CFireworks::Main")},
|
||
|
{0x02680003, -1, CEntity::pEventHandler(&CFireworks::H0x02680003_Main_01), DEBUGSTRING("CFireworks::H0x02680003_Main_01")},
|
||
|
{0x02680004, -1, CEntity::pEventHandler(&CFireworks::H0x02680004_Main_02), DEBUGSTRING("CFireworks::H0x02680004_Main_02")},
|
||
|
{0x02680005, -1, CEntity::pEventHandler(&CFireworks::H0x02680005_Main_03), DEBUGSTRING("CFireworks::H0x02680005_Main_03")},
|
||
|
{0x02680006, -1, CEntity::pEventHandler(&CFireworks::H0x02680006_Main_04), DEBUGSTRING("CFireworks::H0x02680006_Main_04")},
|
||
|
};
|
||
|
#define CFireworks_handlersct ARRAYCOUNT(CFireworks_handlers)
|
||
|
|
||
|
CEntity *CFireworks_New(void) { return new CFireworks; };
|
||
|
void CFireworks_OnInitClass(void) {};
|
||
|
void CFireworks_OnEndClass(void) {};
|
||
|
void CFireworks_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {};
|
||
|
void CFireworks_OnWorldEnd(CWorld *pwo) {};
|
||
|
void CFireworks_OnWorldInit(CWorld *pwo) {};
|
||
|
void CFireworks_OnWorldTick(CWorld *pwo) {};
|
||
|
void CFireworks_OnWorldRender(CWorld *pwo) {};
|
||
|
ENTITY_CLASSDEFINITION(CFireworks, CRationalEntity, "Fireworks", "Thumbnails\\Eruptor.tbn", 0x00000268);
|
||
|
DECLARE_CTFILENAME(_fnmCFireworks_tbn, "Thumbnails\\Eruptor.tbn");
|