mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-26 12:15:53 +01:00
44 lines
2.6 KiB
C
44 lines
2.6 KiB
C
|
/*
|
||
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
||
|
*/
|
||
|
|
||
|
#define ENTITYCLASS CMessageHolder
|
||
|
|
||
|
CEntityProperty CMessageHolder_properties[] = {
|
||
|
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x000000e2<<8)+1, offsetof(CMessageHolder, m_strName), "Name", 'N', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x000000e2<<8)+3, offsetof(CMessageHolder, m_strDescription), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x000000e2<<8)+2, offsetof(CMessageHolder, m_fnmMessage), "Message", 'M', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000e2<<8)+4, offsetof(CMessageHolder, m_fDistance), "Distance", 'D', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x000000e2<<8)+5, offsetof(CMessageHolder, m_bActive), "Active", 'A', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x000000e2<<8)+6, offsetof(CMessageHolder, m_penNext), "Next", 'X', 0x7F0000FFUL, 0),
|
||
|
};
|
||
|
#define CMessageHolder_propertiesct ARRAYCOUNT(CMessageHolder_properties)
|
||
|
|
||
|
CEntityComponent CMessageHolder_components[] = {
|
||
|
#define MODEL_MARKER ((0x000000e2<<8)+1)
|
||
|
CEntityComponent(ECT_MODEL, MODEL_MARKER, "EFNM" "Models\\Editor\\MessageHolder.mdl"),
|
||
|
#define TEXTURE_MARKER ((0x000000e2<<8)+2)
|
||
|
CEntityComponent(ECT_TEXTURE, TEXTURE_MARKER, "EFNM" "Models\\Editor\\MessageHolder.tex"),
|
||
|
};
|
||
|
#define CMessageHolder_componentsct ARRAYCOUNT(CMessageHolder_components)
|
||
|
|
||
|
CEventHandlerEntry CMessageHolder_handlers[] = {
|
||
|
{1, -1, CEntity::pEventHandler(&CMessageHolder::
|
||
|
#line 33 "D:/SE1_GPL/Sources/EntitiesMP/MessageHolder.es"
|
||
|
Main),DEBUGSTRING("CMessageHolder::Main")},
|
||
|
{0x00e20000, -1, CEntity::pEventHandler(&CMessageHolder::H0x00e20000_Main_01), DEBUGSTRING("CMessageHolder::H0x00e20000_Main_01")},
|
||
|
{0x00e20001, -1, CEntity::pEventHandler(&CMessageHolder::H0x00e20001_Main_02), DEBUGSTRING("CMessageHolder::H0x00e20001_Main_02")},
|
||
|
};
|
||
|
#define CMessageHolder_handlersct ARRAYCOUNT(CMessageHolder_handlers)
|
||
|
|
||
|
CEntity *CMessageHolder_New(void) { return new CMessageHolder; };
|
||
|
void CMessageHolder_OnInitClass(void) {};
|
||
|
void CMessageHolder_OnEndClass(void) {};
|
||
|
void CMessageHolder_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {};
|
||
|
void CMessageHolder_OnWorldEnd(CWorld *pwo) {};
|
||
|
void CMessageHolder_OnWorldInit(CWorld *pwo) {};
|
||
|
void CMessageHolder_OnWorldTick(CWorld *pwo) {};
|
||
|
void CMessageHolder_OnWorldRender(CWorld *pwo) {};
|
||
|
ENTITY_CLASSDEFINITION(CMessageHolder, CRationalEntity, "MessageHolder", "Thumbnails\\MessageHolder.tbn", 0x000000e2);
|
||
|
DECLARE_CTFILENAME(_fnmCMessageHolder_tbn, "Thumbnails\\MessageHolder.tbn");
|