mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-26 04:05:53 +01:00
62 lines
4.6 KiB
C
62 lines
4.6 KiB
C
|
/*
|
||
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
||
|
*/
|
||
|
|
||
|
#define ENTITYCLASS CHudPicHolder
|
||
|
|
||
|
CEntityProperty CHudPicHolder_properties[] = {
|
||
|
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x000000f1<<8)+1, offsetof(CHudPicHolder, m_strName), "Name", 'N', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x000000f1<<8)+2, offsetof(CHudPicHolder, m_strDescription), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x000000f1<<8)+3, offsetof(CHudPicHolder, m_fnmPicture), "Picture file", 'P', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000f1<<8)+4, offsetof(CHudPicHolder, m_tmFadeInStart), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000f1<<8)+5, offsetof(CHudPicHolder, m_tmFadeOutStart), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000f1<<8)+6, offsetof(CHudPicHolder, m_tmFadeInLen), "Fade in time", 'I', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000f1<<8)+7, offsetof(CHudPicHolder, m_tmFadeOutLen), "Fade out time", 'O', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000f1<<8)+8, offsetof(CHudPicHolder, m_tmAutoFadeOut), "Auto fade out time", 'A', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000f1<<8)+9, offsetof(CHudPicHolder, m_fYRatio), "Vertical position ratio", 'Y', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000f1<<8)+10, offsetof(CHudPicHolder, m_fXRatio), "Horizontal position ratio", 'X', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000f1<<8)+11, offsetof(CHudPicHolder, m_fPictureStretch), "Picture stretch", 'S', 0x7F0000FFUL, 0),
|
||
|
};
|
||
|
#define CHudPicHolder_propertiesct ARRAYCOUNT(CHudPicHolder_properties)
|
||
|
|
||
|
CEntityComponent CHudPicHolder_components[] = {
|
||
|
#define MODEL_MARKER ((0x000000f1<<8)+1)
|
||
|
CEntityComponent(ECT_MODEL, MODEL_MARKER, "EFNM" "Models\\Editor\\MessageHolder.mdl"),
|
||
|
#define TEXTURE_MARKER ((0x000000f1<<8)+2)
|
||
|
CEntityComponent(ECT_TEXTURE, TEXTURE_MARKER, "EFNM" "Models\\Editor\\MessageHolder.tex"),
|
||
|
};
|
||
|
#define CHudPicHolder_componentsct ARRAYCOUNT(CHudPicHolder_components)
|
||
|
|
||
|
CEventHandlerEntry CHudPicHolder_handlers[] = {
|
||
|
{0x00f10000, -1, CEntity::pEventHandler(&CHudPicHolder::
|
||
|
#line 149 "D:/SE1_GPL/Sources/EntitiesMP/HudPicHolder.es"
|
||
|
WaitAndFadeOut),DEBUGSTRING("CHudPicHolder::WaitAndFadeOut")},
|
||
|
{0x00f10001, -1, CEntity::pEventHandler(&CHudPicHolder::H0x00f10001_WaitAndFadeOut_01), DEBUGSTRING("CHudPicHolder::H0x00f10001_WaitAndFadeOut_01")},
|
||
|
{0x00f10002, -1, CEntity::pEventHandler(&CHudPicHolder::H0x00f10002_WaitAndFadeOut_02), DEBUGSTRING("CHudPicHolder::H0x00f10002_WaitAndFadeOut_02")},
|
||
|
{0x00f10003, -1, CEntity::pEventHandler(&CHudPicHolder::
|
||
|
#line 155 "D:/SE1_GPL/Sources/EntitiesMP/HudPicHolder.es"
|
||
|
ApplyFadeOut),DEBUGSTRING("CHudPicHolder::ApplyFadeOut")},
|
||
|
{0x00f10004, -1, CEntity::pEventHandler(&CHudPicHolder::H0x00f10004_ApplyFadeOut_01), DEBUGSTRING("CHudPicHolder::H0x00f10004_ApplyFadeOut_01")},
|
||
|
{0x00f10005, -1, CEntity::pEventHandler(&CHudPicHolder::H0x00f10005_ApplyFadeOut_02), DEBUGSTRING("CHudPicHolder::H0x00f10005_ApplyFadeOut_02")},
|
||
|
{0x00f10006, -1, CEntity::pEventHandler(&CHudPicHolder::H0x00f10006_ApplyFadeOut_03), DEBUGSTRING("CHudPicHolder::H0x00f10006_ApplyFadeOut_03")},
|
||
|
{1, -1, CEntity::pEventHandler(&CHudPicHolder::
|
||
|
#line 171 "D:/SE1_GPL/Sources/EntitiesMP/HudPicHolder.es"
|
||
|
Main),DEBUGSTRING("CHudPicHolder::Main")},
|
||
|
{0x00f10007, -1, CEntity::pEventHandler(&CHudPicHolder::H0x00f10007_Main_01), DEBUGSTRING("CHudPicHolder::H0x00f10007_Main_01")},
|
||
|
{0x00f10008, -1, CEntity::pEventHandler(&CHudPicHolder::H0x00f10008_Main_02), DEBUGSTRING("CHudPicHolder::H0x00f10008_Main_02")},
|
||
|
{0x00f10009, -1, CEntity::pEventHandler(&CHudPicHolder::H0x00f10009_Main_03), DEBUGSTRING("CHudPicHolder::H0x00f10009_Main_03")},
|
||
|
{0x00f1000a, -1, CEntity::pEventHandler(&CHudPicHolder::H0x00f1000a_Main_04), DEBUGSTRING("CHudPicHolder::H0x00f1000a_Main_04")},
|
||
|
};
|
||
|
#define CHudPicHolder_handlersct ARRAYCOUNT(CHudPicHolder_handlers)
|
||
|
|
||
|
CEntity *CHudPicHolder_New(void) { return new CHudPicHolder; };
|
||
|
void CHudPicHolder_OnInitClass(void) {};
|
||
|
void CHudPicHolder_OnEndClass(void) {};
|
||
|
void CHudPicHolder_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {};
|
||
|
void CHudPicHolder_OnWorldEnd(CWorld *pwo) {};
|
||
|
void CHudPicHolder_OnWorldInit(CWorld *pwo) {};
|
||
|
void CHudPicHolder_OnWorldTick(CWorld *pwo) {};
|
||
|
void CHudPicHolder_OnWorldRender(CWorld *pwo) {};
|
||
|
ENTITY_CLASSDEFINITION(CHudPicHolder, CRationalEntity, "HudPicHolder", "Thumbnails\\HudPicHolder.tbn", 0x000000f1);
|
||
|
DECLARE_CTFILENAME(_fnmCHudPicHolder_tbn, "Thumbnails\\HudPicHolder.tbn");
|