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

51 lines
2.6 KiB
C

/*
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
*/
#define ENTITYCLASS CMessageItem
CEntityProperty CMessageItem_properties[] = {
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x00000327<<8)+1, offsetof(CMessageItem, m_strName), "Name", 'N', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x00000327<<8)+2, offsetof(CMessageItem, m_strDescription), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000327<<8)+3, offsetof(CMessageItem, m_fnmMessage), "Message", 'M', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x00000327<<8)+4, offsetof(CMessageItem, m_iSoundComponent), "", 0, 0, 0),
};
#define CMessageItem_propertiesct ARRAYCOUNT(CMessageItem_properties)
CEntityComponent CMessageItem_components[] = {
#define CLASS_BASE ((0x00000327<<8)+0)
CEntityComponent(ECT_CLASS, CLASS_BASE, "EFNM" "Classes\\Item.ecl"),
#define MODEL_PERGAMENT ((0x00000327<<8)+1)
CEntityComponent(ECT_MODEL, MODEL_PERGAMENT, "EFNM" "Models\\Items\\Pergament\\Pergament.mdl"),
#define TEXTURE_PERGAMENT ((0x00000327<<8)+2)
CEntityComponent(ECT_TEXTURE, TEXTURE_PERGAMENT, "EFNM" "Models\\Items\\Pergament\\Pergament.tex"),
#define TEXTURE_FLARE ((0x00000327<<8)+255)
CEntityComponent(ECT_TEXTURE, TEXTURE_FLARE, "EFNM" "Models\\Items\\Flares\\Flare.tex"),
#define MODEL_FLARE ((0x00000327<<8)+256)
CEntityComponent(ECT_MODEL, MODEL_FLARE, "EFNM" "Models\\Items\\Flares\\Flare.mdl"),
#define SOUND_KEY ((0x00000327<<8)+301)
CEntityComponent(ECT_SOUND, SOUND_KEY, "EFNM" "Sounds\\Items\\Key.wav"),
};
#define CMessageItem_componentsct ARRAYCOUNT(CMessageItem_components)
CEventHandlerEntry CMessageItem_handlers[] = {
{0x03270001, STATE_CItem_ItemCollected, CEntity::pEventHandler(&CMessageItem::
#line 81 "D:/SE1_GPL/Sources/EntitiesMP/MessageItem.es"
ItemCollected),DEBUGSTRING("CMessageItem::ItemCollected")},
{1, -1, CEntity::pEventHandler(&CMessageItem::
#line 98 "D:/SE1_GPL/Sources/EntitiesMP/MessageItem.es"
Main),DEBUGSTRING("CMessageItem::Main")},
};
#define CMessageItem_handlersct ARRAYCOUNT(CMessageItem_handlers)
CEntity *CMessageItem_New(void) { return new CMessageItem; };
void CMessageItem_OnInitClass(void) {};
void CMessageItem_OnEndClass(void) {};
void CMessageItem_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {};
void CMessageItem_OnWorldEnd(CWorld *pwo) {};
void CMessageItem_OnWorldInit(CWorld *pwo) {};
void CMessageItem_OnWorldTick(CWorld *pwo) {};
void CMessageItem_OnWorldRender(CWorld *pwo) {};
ENTITY_CLASSDEFINITION(CMessageItem, CItem, "MessageItem", "Thumbnails\\MessageItem.tbn", 0x00000327);
DECLARE_CTFILENAME(_fnmCMessageItem_tbn, "Thumbnails\\MessageItem.tbn");