mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 18:30:27 +01:00
48 lines
3.2 KiB
C
48 lines
3.2 KiB
C
|
/*
|
||
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
||
|
*/
|
||
|
|
||
|
#define ENTITYCLASS CPlayerMarker
|
||
|
|
||
|
CEntityProperty CPlayerMarker_properties[] = {
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000194<<8)+1, offsetof(CPlayerMarker, m_fHealth), "Health", 'H', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000194<<8)+2, offsetof(CPlayerMarker, m_fShield), "Shield", 'S', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x00000194<<8)+3, offsetof(CPlayerMarker, m_iGiveWeapons), "Give Weapons", 'W', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x00000194<<8)+4, offsetof(CPlayerMarker, m_iTakeWeapons), "Take Weapons", 0, 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x00000194<<8)+5, offsetof(CPlayerMarker, m_strGroup), "Group", 'G', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x00000194<<8)+6, offsetof(CPlayerMarker, m_bQuickStart), "Quick start", 'Q', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x00000194<<8)+7, offsetof(CPlayerMarker, m_bStartInComputer), "Start in computer", 'C', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x00000194<<8)+8, offsetof(CPlayerMarker, m_penMessage), "Message", 'M', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000194<<8)+9, offsetof(CPlayerMarker, m_fMaxAmmoRatio), "Max ammo ratio", 'A', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000194<<8)+10, offsetof(CPlayerMarker, m_tmLastSpawned), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x00000194<<8)+11, offsetof(CPlayerMarker, m_iTakeAmmo), "Take Ammo", 0, 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x00000194<<8)+12, offsetof(CPlayerMarker, m_bNoRespawnInPlace), "No Respawn In Place", 'R', 0x7F0000FFUL, 0),
|
||
|
};
|
||
|
#define CPlayerMarker_propertiesct ARRAYCOUNT(CPlayerMarker_properties)
|
||
|
|
||
|
CEntityComponent CPlayerMarker_components[] = {
|
||
|
#define MODEL_MARKER ((0x00000194<<8)+1)
|
||
|
CEntityComponent(ECT_MODEL, MODEL_MARKER, "EFNM" "Models\\Editor\\PlayerStart.mdl"),
|
||
|
#define TEXTURE_MARKER ((0x00000194<<8)+2)
|
||
|
CEntityComponent(ECT_TEXTURE, TEXTURE_MARKER, "EFNM" "Models\\Editor\\PlayerStart.tex"),
|
||
|
};
|
||
|
#define CPlayerMarker_componentsct ARRAYCOUNT(CPlayerMarker_components)
|
||
|
|
||
|
CEventHandlerEntry CPlayerMarker_handlers[] = {
|
||
|
{1, -1, CEntity::pEventHandler(&CPlayerMarker::
|
||
|
#line 73 "D:/SE1_GPL/Sources/EntitiesMP/PlayerMarker.es"
|
||
|
Main),DEBUGSTRING("CPlayerMarker::Main")},
|
||
|
};
|
||
|
#define CPlayerMarker_handlersct ARRAYCOUNT(CPlayerMarker_handlers)
|
||
|
|
||
|
CEntity *CPlayerMarker_New(void) { return new CPlayerMarker; };
|
||
|
void CPlayerMarker_OnInitClass(void) {};
|
||
|
void CPlayerMarker_OnEndClass(void) {};
|
||
|
void CPlayerMarker_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {};
|
||
|
void CPlayerMarker_OnWorldEnd(CWorld *pwo) {};
|
||
|
void CPlayerMarker_OnWorldInit(CWorld *pwo) {};
|
||
|
void CPlayerMarker_OnWorldTick(CWorld *pwo) {};
|
||
|
void CPlayerMarker_OnWorldRender(CWorld *pwo) {};
|
||
|
ENTITY_CLASSDEFINITION(CPlayerMarker, CMarker, "Player Marker", "Thumbnails\\PlayerMarker.tbn", 0x00000194);
|
||
|
DECLARE_CTFILENAME(_fnmCPlayerMarker_tbn, "Thumbnails\\PlayerMarker.tbn");
|