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

56 lines
3.2 KiB
C

/*
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
*/
#define ENTITYCLASS CSanta
CEntityProperty CSanta_properties[] = {
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000163<<8)+1, offsetof(CSanta, m_tmLastSpawnTime), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000163<<8)+2, offsetof(CSanta, m_tmMinSpawnInterval), "Min spawn interval", 0, 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000163<<8)+3, offsetof(CSanta, m_fSantaHealth), "Santa Health", 0, 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x00000163<<8)+4, offsetof(CSanta, m_soRunning), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x00000163<<8)+5, offsetof(CSanta, m_bRunSoundPlaying), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x00000163<<8)+10, offsetof(CSanta, m_penTemplate0), "Item template 0", 0, 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x00000163<<8)+11, offsetof(CSanta, m_penTemplate1), "Item template 1", 0, 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x00000163<<8)+12, offsetof(CSanta, m_penTemplate2), "Item template 2", 0, 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x00000163<<8)+13, offsetof(CSanta, m_penTemplate3), "Item template 3", 0, 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x00000163<<8)+14, offsetof(CSanta, m_penTemplate4), "Item template 4", 0, 0x7F0000FFUL, 0),
};
#define CSanta_propertiesct ARRAYCOUNT(CSanta_properties)
CEntityComponent CSanta_components[] = {
#define CLASS_BASE ((0x00000163<<8)+0)
CEntityComponent(ECT_CLASS, CLASS_BASE, "EFNM" "Classes\\EnemyBase.ecl"),
#define SOUND_RUN ((0x00000163<<8)+50)
CEntityComponent(ECT_SOUND, SOUND_RUN, "EFNM" "ModelsMP\\CutSequences\\Santa\\Sounds\\Running.wav"),
#define SOUND_WOUND ((0x00000163<<8)+51)
CEntityComponent(ECT_SOUND, SOUND_WOUND, "EFNM" "ModelsMP\\CutSequences\\Santa\\Sounds\\Wound.wav"),
#define SOUND_DEATH ((0x00000163<<8)+52)
CEntityComponent(ECT_SOUND, SOUND_DEATH, "EFNM" "ModelsMP\\CutSequences\\Santa\\Sounds\\Death.wav"),
};
#define CSanta_componentsct ARRAYCOUNT(CSanta_components)
CEventHandlerEntry CSanta_handlers[] = {
{0x01630000, STATE_CEnemyBase_Fire, CEntity::pEventHandler(&CSanta::
#line 214 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
Fire),DEBUGSTRING("CSanta::Fire")},
{0x01630001, STATE_CEnemyBase_Hit, CEntity::pEventHandler(&CSanta::
#line 219 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
Hit),DEBUGSTRING("CSanta::Hit")},
{1, -1, CEntity::pEventHandler(&CSanta::
#line 226 "D:/SE1_GPL/Sources/EntitiesMP/Santa.es"
Main),DEBUGSTRING("CSanta::Main")},
};
#define CSanta_handlersct ARRAYCOUNT(CSanta_handlers)
CEntity *CSanta_New(void) { return new CSanta; };
void CSanta_OnInitClass(void) {};
void CSanta_OnEndClass(void) {};
void CSanta_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {};
void CSanta_OnWorldEnd(CWorld *pwo) {};
void CSanta_OnWorldInit(CWorld *pwo) {};
void CSanta_OnWorldTick(CWorld *pwo) {};
void CSanta_OnWorldRender(CWorld *pwo) {};
ENTITY_CLASSDEFINITION(CSanta, CEnemyBase, "Santa", "Thumbnails\\Santa.tbn", 0x00000163);
DECLARE_CTFILENAME(_fnmCSanta_tbn, "Thumbnails\\Santa.tbn");