Serious-Engine/Sources/EntitiesMP/RollingStone_tables.h

77 lines
5.9 KiB
C
Raw Normal View History

2016-03-11 14:57:17 +01:00
/*
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
*/
#define ENTITYCLASS CRollingStone
CEntityProperty CRollingStone_properties[] = {
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x0000025c<<8)+1, offsetof(CRollingStone, m_fBounce), "Bounce", 'B', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x0000025c<<8)+2, offsetof(CRollingStone, m_fHealth), "Health", 'H', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x0000025c<<8)+3, offsetof(CRollingStone, m_fDamage), "Damage", 'D', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x0000025c<<8)+4, offsetof(CRollingStone, m_bFixedDamage), "Fixed damage", 'F', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x0000025c<<8)+5, offsetof(CRollingStone, m_fStretch), "Stretch", 'S', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x0000025c<<8)+6, offsetof(CRollingStone, m_fDeceleration), "Deceleration", 0, 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x0000025c<<8)+7, offsetof(CRollingStone, m_fStartSpeed), "Start Speed", 'Z', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_ANGLE3D, NULL, (0x0000025c<<8)+8, offsetof(CRollingStone, m_vStartDir), "Start Direction", 'A', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x0000025c<<8)+9, offsetof(CRollingStone, m_penDeathTarget), "Death target", 'T', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x0000025c<<8)+20, offsetof(CRollingStone, m_soBounce0), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x0000025c<<8)+21, offsetof(CRollingStone, m_soBounce1), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x0000025c<<8)+22, offsetof(CRollingStone, m_soBounce2), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x0000025c<<8)+23, offsetof(CRollingStone, m_soBounce3), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x0000025c<<8)+24, offsetof(CRollingStone, m_soBounce4), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x0000025c<<8)+30, offsetof(CRollingStone, m_iNextChannel), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x0000025c<<8)+31, offsetof(CRollingStone, m_soRoll), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x0000025c<<8)+32, offsetof(CRollingStone, m_bRollPlaying), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_FLOATQUAT3D, NULL, (0x0000025c<<8)+40, offsetof(CRollingStone, m_qA), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_FLOATQUAT3D, NULL, (0x0000025c<<8)+41, offsetof(CRollingStone, m_qALast), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x0000025c<<8)+42, offsetof(CRollingStone, m_fASpeed), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_FLOAT3D, NULL, (0x0000025c<<8)+43, offsetof(CRollingStone, m_vR), "", 0, 0, 0),
};
#define CRollingStone_propertiesct ARRAYCOUNT(CRollingStone_properties)
CEntityComponent CRollingStone_components[] = {
#define MODEL_ROLLINGSTONE ((0x0000025c<<8)+1)
CEntityComponent(ECT_MODEL, MODEL_ROLLINGSTONE, "EFNM" "Models\\Ages\\Egypt\\Traps\\RollingStone\\RollingStone.mdl"),
#define MODEL_STONESPHERE ((0x0000025c<<8)+2)
CEntityComponent(ECT_MODEL, MODEL_STONESPHERE, "EFNM" "Models\\Ages\\Egypt\\Traps\\RollingStone\\Stone.mdl"),
#define TEXTURE_ROLLINGSTONE ((0x0000025c<<8)+3)
CEntityComponent(ECT_TEXTURE, TEXTURE_ROLLINGSTONE, "EFNM" "Models\\Ages\\Egypt\\Traps\\RollingStone\\Stone.tex"),
#define TEXTURE_DETAIL ((0x0000025c<<8)+5)
CEntityComponent(ECT_TEXTURE, TEXTURE_DETAIL, "EFNM" "Models\\Ages\\Egypt\\Traps\\RollingStone\\Detail.tex"),
#define MODEL_STONE ((0x0000025c<<8)+14)
CEntityComponent(ECT_MODEL, MODEL_STONE, "EFNM" "Models\\Effects\\Debris\\Stone\\Stone.mdl"),
#define TEXTURE_STONE ((0x0000025c<<8)+15)
CEntityComponent(ECT_TEXTURE, TEXTURE_STONE, "EFNM" "Models\\Effects\\Debris\\Stone\\Stone.tex"),
#define CLASS_DEBRIS ((0x0000025c<<8)+16)
CEntityComponent(ECT_CLASS, CLASS_DEBRIS, "EFNM" "Classes\\Debris.ecl"),
#define CLASS_BASIC_EFFECT ((0x0000025c<<8)+4)
CEntityComponent(ECT_CLASS, CLASS_BASIC_EFFECT, "EFNM" "Classes\\BasicEffect.ecl"),
#define SOUND_BOUNCE ((0x0000025c<<8)+20)
CEntityComponent(ECT_SOUND, SOUND_BOUNCE, "EFNM" "Sounds\\Misc\\RollingStone.wav"),
#define SOUND_ROLL ((0x0000025c<<8)+21)
CEntityComponent(ECT_SOUND, SOUND_ROLL, "EFNM" "Sounds\\Misc\\RollingStoneEnvironment.wav"),
};
#define CRollingStone_componentsct ARRAYCOUNT(CRollingStone_components)
CEventHandlerEntry CRollingStone_handlers[] = {
{1, -1, CEntity::pEventHandler(&CRollingStone::
#line 244 "D:/SE1_GPL/Sources/EntitiesMP/RollingStone.es"
Main),DEBUGSTRING("CRollingStone::Main")},
{0x025c0000, -1, CEntity::pEventHandler(&CRollingStone::H0x025c0000_Main_01), DEBUGSTRING("CRollingStone::H0x025c0000_Main_01")},
{0x025c0001, -1, CEntity::pEventHandler(&CRollingStone::H0x025c0001_Main_02), DEBUGSTRING("CRollingStone::H0x025c0001_Main_02")},
{0x025c0002, -1, CEntity::pEventHandler(&CRollingStone::H0x025c0002_Main_03), DEBUGSTRING("CRollingStone::H0x025c0002_Main_03")},
{0x025c0003, -1, CEntity::pEventHandler(&CRollingStone::H0x025c0003_Main_04), DEBUGSTRING("CRollingStone::H0x025c0003_Main_04")},
};
#define CRollingStone_handlersct ARRAYCOUNT(CRollingStone_handlers)
CEntity *CRollingStone_New(void) { return new CRollingStone; };
void CRollingStone_OnInitClass(void) {};
void CRollingStone_OnEndClass(void) {};
void CRollingStone_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {};
void CRollingStone_OnWorldEnd(CWorld *pwo) {};
void CRollingStone_OnWorldInit(CWorld *pwo) {};
void CRollingStone_OnWorldTick(CWorld *pwo) {};
void CRollingStone_OnWorldRender(CWorld *pwo) {};
ENTITY_CLASSDEFINITION(CRollingStone, CMovableModelEntity, "RollingStone", "Thumbnails\\RollingStone.tbn", 0x0000025c);
DECLARE_CTFILENAME(_fnmCRollingStone_tbn, "Thumbnails\\RollingStone.tbn");