Serious-Engine/Sources/EntitiesMP/Damager_tables.h
2016-03-11 15:57:17 +02:00

48 lines
2.9 KiB
C

/*
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
*/
#define ENTITYCLASS CDamager
CEntityProperty CDamager_properties[] = {
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x000000e5<<8)+1, offsetof(CDamager, m_strName), "Name", 'N', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x000000e5<<8)+2, offsetof(CDamager, m_strDescription), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_ENUM, &DamageType_enum, (0x000000e5<<8)+3, offsetof(CDamager, m_dmtType), "Type", 'Y', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000e5<<8)+4, offsetof(CDamager, m_fAmmount), "Ammount", 'A', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x000000e5<<8)+5, offsetof(CDamager, m_penToDamage), "Entity to Damage", 'E', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x000000e5<<8)+6, offsetof(CDamager, m_bDamageFromTriggerer), "DamageFromTriggerer", 'S', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x000000e5<<8)+10, offsetof(CDamager, m_penLastDamaged), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000e5<<8)+11, offsetof(CDamager, m_tmLastDamage), "", 0, 0, 0),
};
#define CDamager_propertiesct ARRAYCOUNT(CDamager_properties)
CEntityComponent CDamager_components[] = {
#define MODEL_TELEPORT ((0x000000e5<<8)+1)
CEntityComponent(ECT_MODEL, MODEL_TELEPORT, "EFNM" "Models\\Editor\\Copier.mdl"),
#define TEXTURE_TELEPORT ((0x000000e5<<8)+2)
CEntityComponent(ECT_TEXTURE, TEXTURE_TELEPORT, "EFNM" "Models\\Editor\\Copier.tex"),
};
#define CDamager_componentsct ARRAYCOUNT(CDamager_components)
CEventHandlerEntry CDamager_handlers[] = {
{1, -1, CEntity::pEventHandler(&CDamager::
#line 33 "D:/SE1_GPL/Sources/EntitiesMP/Damager.es"
Main),DEBUGSTRING("CDamager::Main")},
{0x00e50000, -1, CEntity::pEventHandler(&CDamager::H0x00e50000_Main_01), DEBUGSTRING("CDamager::H0x00e50000_Main_01")},
{0x00e50001, -1, CEntity::pEventHandler(&CDamager::H0x00e50001_Main_02), DEBUGSTRING("CDamager::H0x00e50001_Main_02")},
{0x00e50002, -1, CEntity::pEventHandler(&CDamager::H0x00e50002_Main_03), DEBUGSTRING("CDamager::H0x00e50002_Main_03")},
{0x00e50003, -1, CEntity::pEventHandler(&CDamager::H0x00e50003_Main_04), DEBUGSTRING("CDamager::H0x00e50003_Main_04")},
};
#define CDamager_handlersct ARRAYCOUNT(CDamager_handlers)
CEntity *CDamager_New(void) { return new CDamager; };
void CDamager_OnInitClass(void) {};
void CDamager_OnEndClass(void) {};
void CDamager_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {};
void CDamager_OnWorldEnd(CWorld *pwo) {};
void CDamager_OnWorldInit(CWorld *pwo) {};
void CDamager_OnWorldTick(CWorld *pwo) {};
void CDamager_OnWorldRender(CWorld *pwo) {};
ENTITY_CLASSDEFINITION(CDamager, CRationalEntity, "Damager", "Thumbnails\\Damager.tbn", 0x000000e5);
DECLARE_CTFILENAME(_fnmCDamager_tbn, "Thumbnails\\Damager.tbn");