mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
71 lines
5.2 KiB
C
71 lines
5.2 KiB
C
/*
|
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
|
*/
|
|
|
|
#define ENTITYCLASS CTwister
|
|
|
|
CEntityProperty CTwister_properties[] = {
|
|
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x000001fb<<8)+1, offsetof(CTwister, m_penOwner), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000001fb<<8)+2, offsetof(CTwister, m_fSize), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT3D, NULL, (0x000001fb<<8)+3, offsetof(CTwister, m_vSpeed), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x000001fb<<8)+4, offsetof(CTwister, m_sgnSpinDir), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x000001fb<<8)+5, offsetof(CTwister, m_bGrow), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000001fb<<8)+6, offsetof(CTwister, m_tmLastMove), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT3D, NULL, (0x000001fb<<8)+7, offsetof(CTwister, m_aSpeedRotation), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x000001fb<<8)+8, offsetof(CTwister, m_bMoving), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x000001fb<<8)+9, offsetof(CTwister, m_bMovingAllowed), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT3D, NULL, (0x000001fb<<8)+10, offsetof(CTwister, m_vDesiredPosition), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT3D, NULL, (0x000001fb<<8)+11, offsetof(CTwister, m_vDesiredAngle), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000001fb<<8)+12, offsetof(CTwister, m_fStopTime), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000001fb<<8)+13, offsetof(CTwister, m_fActionRadius), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000001fb<<8)+14, offsetof(CTwister, m_fActionTime), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000001fb<<8)+15, offsetof(CTwister, m_fDiffMultiply), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000001fb<<8)+16, offsetof(CTwister, m_fUpMultiply), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x000001fb<<8)+20, offsetof(CTwister, m_bFadeOut), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000001fb<<8)+21, offsetof(CTwister, m_fFadeStartTime), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000001fb<<8)+22, offsetof(CTwister, m_fFadeTime), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000001fb<<8)+23, offsetof(CTwister, m_fStartTime), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x000001fb<<8)+50, offsetof(CTwister, m_soSpin), "", 0, 0, 0),
|
|
};
|
|
#define CTwister_propertiesct ARRAYCOUNT(CTwister_properties)
|
|
|
|
CEntityComponent CTwister_components[] = {
|
|
#define CLASS_SPINNER ((0x000001fb<<8)+1)
|
|
CEntityComponent(ECT_CLASS, CLASS_SPINNER, "EFNM" "Classes\\Spinner.ecl"),
|
|
#define MODEL_TWISTER ((0x000001fb<<8)+10)
|
|
CEntityComponent(ECT_MODEL, MODEL_TWISTER, "EFNM" "ModelsMP\\Enemies\\AirElemental\\Twister.mdl"),
|
|
#define TEXTURE_TWISTER ((0x000001fb<<8)+11)
|
|
CEntityComponent(ECT_TEXTURE, TEXTURE_TWISTER, "EFNM" "ModelsMP\\Enemies\\AirElemental\\Twister.tex"),
|
|
#define SOUND_SPIN ((0x000001fb<<8)+200)
|
|
CEntityComponent(ECT_SOUND, SOUND_SPIN, "EFNM" "ModelsMP\\Enemies\\AirElemental\\Sounds\\TwisterSpin.wav"),
|
|
};
|
|
#define CTwister_componentsct ARRAYCOUNT(CTwister_components)
|
|
|
|
CEventHandlerEntry CTwister_handlers[] = {
|
|
{1, -1, CEntity::pEventHandler(&CTwister::
|
|
#line 254 "D:/SE1_GPL/Sources/EntitiesMP/Twister.es"
|
|
Main),DEBUGSTRING("CTwister::Main")},
|
|
{0x01fb0001, -1, CEntity::pEventHandler(&CTwister::H0x01fb0001_Main_01), DEBUGSTRING("CTwister::H0x01fb0001_Main_01")},
|
|
{0x01fb0002, -1, CEntity::pEventHandler(&CTwister::H0x01fb0002_Main_02), DEBUGSTRING("CTwister::H0x01fb0002_Main_02")},
|
|
{0x01fb0003, -1, CEntity::pEventHandler(&CTwister::H0x01fb0003_Main_03), DEBUGSTRING("CTwister::H0x01fb0003_Main_03")},
|
|
{0x01fb0004, -1, CEntity::pEventHandler(&CTwister::H0x01fb0004_Main_04), DEBUGSTRING("CTwister::H0x01fb0004_Main_04")},
|
|
{0x01fb0005, -1, CEntity::pEventHandler(&CTwister::H0x01fb0005_Main_05), DEBUGSTRING("CTwister::H0x01fb0005_Main_05")},
|
|
{0x01fb0006, -1, CEntity::pEventHandler(&CTwister::H0x01fb0006_Main_06), DEBUGSTRING("CTwister::H0x01fb0006_Main_06")},
|
|
{0x01fb0007, -1, CEntity::pEventHandler(&CTwister::H0x01fb0007_Main_07), DEBUGSTRING("CTwister::H0x01fb0007_Main_07")},
|
|
{0x01fb0008, -1, CEntity::pEventHandler(&CTwister::H0x01fb0008_Main_08), DEBUGSTRING("CTwister::H0x01fb0008_Main_08")},
|
|
{0x01fb0009, -1, CEntity::pEventHandler(&CTwister::H0x01fb0009_Main_09), DEBUGSTRING("CTwister::H0x01fb0009_Main_09")},
|
|
{0x01fb000a, -1, CEntity::pEventHandler(&CTwister::H0x01fb000a_Main_10), DEBUGSTRING("CTwister::H0x01fb000a_Main_10")},
|
|
};
|
|
#define CTwister_handlersct ARRAYCOUNT(CTwister_handlers)
|
|
|
|
CEntity *CTwister_New(void) { return new CTwister; };
|
|
void CTwister_OnInitClass(void) {};
|
|
void CTwister_OnEndClass(void) {};
|
|
void CTwister_OnPrecache(CDLLEntityClass *pdec, INDEX iUser);
|
|
void CTwister_OnWorldEnd(CWorld *pwo) {};
|
|
void CTwister_OnWorldInit(CWorld *pwo) {};
|
|
void CTwister_OnWorldTick(CWorld *pwo) {};
|
|
void CTwister_OnWorldRender(CWorld *pwo) {};
|
|
ENTITY_CLASSDEFINITION(CTwister, CMovableModelEntity, "Twister", "", 0x000001fb);
|
|
DECLARE_CTFILENAME(_fnmCTwister_tbn, "");
|