mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-26 04:05:53 +01:00
65 lines
4.0 KiB
C
65 lines
4.0 KiB
C
/*
|
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
|
*/
|
|
|
|
EP_ENUMBEG(DebrisParticlesType)
|
|
EP_ENUMVALUE(DPT_NONE, ""),
|
|
EP_ENUMVALUE(DPT_BLOODTRAIL, ""),
|
|
EP_ENUMVALUE(DPR_SMOKETRAIL, ""),
|
|
EP_ENUMVALUE(DPR_SPARKS, ""),
|
|
EP_ENUMVALUE(DPR_FLYINGTRAIL, ""),
|
|
EP_ENUMVALUE(DPT_AFTERBURNER, ""),
|
|
EP_ENUMEND(DebrisParticlesType);
|
|
|
|
#define ENTITYCLASS CDebris
|
|
|
|
CEntityProperty CDebris_properties[] = {
|
|
CEntityProperty(CEntityProperty::EPT_ENUM, &DebrisParticlesType_enum, (0x0000025a<<8)+1, offsetof(CDebris, m_dptParticles), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x0000025a<<8)+2, offsetof(CDebris, m_iBodyType), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x0000025a<<8)+3, offsetof(CDebris, m_bFade), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x0000025a<<8)+4, offsetof(CDebris, m_fFadeStartTime), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x0000025a<<8)+5, offsetof(CDebris, m_fFadeTime), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT3D, NULL, (0x0000025a<<8)+6, offsetof(CDebris, m_fLastStainHitPoint), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_ENUM, &BasicEffectType_enum, (0x0000025a<<8)+7, offsetof(CDebris, m_betStain), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x0000025a<<8)+8, offsetof(CDebris, m_ctLeftStains), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x0000025a<<8)+9, offsetof(CDebris, m_tmStarted), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x0000025a<<8)+10, offsetof(CDebris, m_fStretch), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_ANGLE3D, NULL, (0x0000025a<<8)+11, offsetof(CDebris, m_aShadingDirection), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x0000025a<<8)+12, offsetof(CDebris, m_bCustomShading), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_COLOR, NULL, (0x0000025a<<8)+13, offsetof(CDebris, m_colCustomAmbient), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_COLOR, NULL, (0x0000025a<<8)+14, offsetof(CDebris, m_colCustomDiffuse), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x0000025a<<8)+15, offsetof(CDebris, m_bImmaterialASAP), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x0000025a<<8)+16, offsetof(CDebris, m_fDustStretch), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x0000025a<<8)+17, offsetof(CDebris, m_bTouchedGround), "", 0, 0, 0),
|
|
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x0000025a<<8)+18, offsetof(CDebris, m_penFallFXPapa), "", 0, 0, 0),
|
|
};
|
|
#define CDebris_propertiesct ARRAYCOUNT(CDebris_properties)
|
|
|
|
CEntityComponent CDebris_components[] = {
|
|
#define CLASS_BASIC_EFFECT ((0x0000025a<<8)+1)
|
|
CEntityComponent(ECT_CLASS, CLASS_BASIC_EFFECT, "EFNM" "Classes\\BasicEffect.ecl"),
|
|
};
|
|
#define CDebris_componentsct ARRAYCOUNT(CDebris_components)
|
|
|
|
CEventHandlerEntry CDebris_handlers[] = {
|
|
{1, -1, CEntity::pEventHandler(&CDebris::
|
|
#line 221 "D:/SE1_GPL/Sources/EntitiesMP/Debris.es"
|
|
Main),DEBUGSTRING("CDebris::Main")},
|
|
{0x025a0001, -1, CEntity::pEventHandler(&CDebris::H0x025a0001_Main_01), DEBUGSTRING("CDebris::H0x025a0001_Main_01")},
|
|
{0x025a0002, -1, CEntity::pEventHandler(&CDebris::H0x025a0002_Main_02), DEBUGSTRING("CDebris::H0x025a0002_Main_02")},
|
|
{0x025a0003, -1, CEntity::pEventHandler(&CDebris::H0x025a0003_Main_03), DEBUGSTRING("CDebris::H0x025a0003_Main_03")},
|
|
{0x025a0004, -1, CEntity::pEventHandler(&CDebris::H0x025a0004_Main_04), DEBUGSTRING("CDebris::H0x025a0004_Main_04")},
|
|
};
|
|
#define CDebris_handlersct ARRAYCOUNT(CDebris_handlers)
|
|
|
|
CEntity *CDebris_New(void) { return new CDebris; };
|
|
void CDebris_OnInitClass(void) {};
|
|
void CDebris_OnEndClass(void) {};
|
|
void CDebris_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {};
|
|
void CDebris_OnWorldEnd(CWorld *pwo) {};
|
|
void CDebris_OnWorldInit(CWorld *pwo) {};
|
|
void CDebris_OnWorldTick(CWorld *pwo) {};
|
|
void CDebris_OnWorldRender(CWorld *pwo) {};
|
|
ENTITY_CLASSDEFINITION(CDebris, CMovableModelEntity, "Debris", "", 0x0000025a);
|
|
DECLARE_CTFILENAME(_fnmCDebris_tbn, "");
|