Serious-Engine/Sources/EntitiesMP/Item_tables.h

64 lines
4.4 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 CItem
CEntityProperty CItem_properties[] = {
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x00000320<<8)+1, offsetof(CItem, m_strName), "Name", 'N', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x00000320<<8)+2, offsetof(CItem, m_strDescription), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000320<<8)+5, offsetof(CItem, m_fValue), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000320<<8)+6, offsetof(CItem, m_fRespawnTime), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000320<<8)+26, offsetof(CItem, m_fCustomRespawnTime), "Respawn Time", 0, 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x00000320<<8)+7, offsetof(CItem, m_bRespawn), "Respawn", 'R', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x00000320<<8)+8, offsetof(CItem, m_penTarget), "Target", 'T', C_dGRAY | 0xFF, 0),
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x00000320<<8)+9, offsetof(CItem, m_bPickupOnce), "PickupOnce", 'P', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x00000320<<8)+10, offsetof(CItem, m_soPick), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000320<<8)+12, offsetof(CItem, m_fPickSoundLen), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x00000320<<8)+14, offsetof(CItem, m_bDropped), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x00000320<<8)+15, offsetof(CItem, m_ulPickedMask), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x00000320<<8)+16, offsetof(CItem, m_bFloating), "Floating", 'F', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x00000320<<8)+255, offsetof(CItem, m_penPrediction), "", 0, 0, 0),
};
#define CItem_propertiesct ARRAYCOUNT(CItem_properties)
CEntityComponent CItem_components[] = {
#define MODEL_ITEM ((0x00000320<<8)+1)
CEntityComponent(ECT_MODEL, MODEL_ITEM, "EFNM" "Models\\Items\\ItemHolder\\ItemHolder.mdl"),
};
#define CItem_componentsct ARRAYCOUNT(CItem_components)
CEventHandlerEntry CItem_handlers[] = {
{0x03200000, -1, CEntity::pEventHandler(&CItem::
#line 245 "D:/SE1_GPL/Sources/EntitiesMP/Item.es"
ItemCollected),DEBUGSTRING("CItem::ItemCollected")},
{0x03200001, -1, CEntity::pEventHandler(&CItem::
#line 253 "D:/SE1_GPL/Sources/EntitiesMP/Item.es"
ItemLoop),DEBUGSTRING("CItem::ItemLoop")},
{0x03200002, -1, CEntity::pEventHandler(&CItem::H0x03200002_ItemLoop_01), DEBUGSTRING("CItem::H0x03200002_ItemLoop_01")},
{0x03200003, -1, CEntity::pEventHandler(&CItem::H0x03200003_ItemLoop_02), DEBUGSTRING("CItem::H0x03200003_ItemLoop_02")},
{0x03200004, -1, CEntity::pEventHandler(&CItem::H0x03200004_ItemLoop_03), DEBUGSTRING("CItem::H0x03200004_ItemLoop_03")},
{0x03200005, -1, CEntity::pEventHandler(&CItem::H0x03200005_ItemLoop_04), DEBUGSTRING("CItem::H0x03200005_ItemLoop_04")},
{0x03200006, -1, CEntity::pEventHandler(&CItem::H0x03200006_ItemLoop_05), DEBUGSTRING("CItem::H0x03200006_ItemLoop_05")},
{0x03200007, -1, CEntity::pEventHandler(&CItem::H0x03200007_ItemLoop_06), DEBUGSTRING("CItem::H0x03200007_ItemLoop_06")},
{0x03200008, -1, CEntity::pEventHandler(&CItem::
#line 283 "D:/SE1_GPL/Sources/EntitiesMP/Item.es"
ItemReceived),DEBUGSTRING("CItem::ItemReceived")},
{0x03200009, -1, CEntity::pEventHandler(&CItem::H0x03200009_ItemReceived_01), DEBUGSTRING("CItem::H0x03200009_ItemReceived_01")},
{0x0320000a, -1, CEntity::pEventHandler(&CItem::H0x0320000a_ItemReceived_02), DEBUGSTRING("CItem::H0x0320000a_ItemReceived_02")},
{0x0320000b, -1, CEntity::pEventHandler(&CItem::H0x0320000b_ItemReceived_03), DEBUGSTRING("CItem::H0x0320000b_ItemReceived_03")},
{0x0320000c, -1, CEntity::pEventHandler(&CItem::H0x0320000c_ItemReceived_04), DEBUGSTRING("CItem::H0x0320000c_ItemReceived_04")},
};
#define CItem_handlersct ARRAYCOUNT(CItem_handlers)
CEntity *CItem_New(void) { return new CItem; };
void CItem_OnInitClass(void) {};
void CItem_OnEndClass(void) {};
void CItem_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {};
void CItem_OnWorldEnd(CWorld *pwo) {};
void CItem_OnWorldInit(CWorld *pwo) {};
void CItem_OnWorldTick(CWorld *pwo) {};
void CItem_OnWorldRender(CWorld *pwo) {};
ENTITY_CLASSDEFINITION(CItem, CMovableModelEntity, "Item", "", 0x00000320);
DECLARE_CTFILENAME(_fnmCItem_tbn, "");