/* * This file is generated by Entity Class Compiler, (c) CroTeam 1997-98 */ #define ENTITYCLASS CSoundHolder CEntityProperty CSoundHolder_properties[] = { CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x000000cc<<8)+1, offsetof(CSoundHolder, m_fnSound), "Sound", 'S', 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_RANGE, NULL, (0x000000cc<<8)+2, offsetof(CSoundHolder, m_rFallOffRange), "Fall-off", 'F', 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_RANGE, NULL, (0x000000cc<<8)+3, offsetof(CSoundHolder, m_rHotSpotRange), "Hot-spot", 'H', 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000cc<<8)+4, offsetof(CSoundHolder, m_fVolume), "Volume", 'V', 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x000000cc<<8)+6, offsetof(CSoundHolder, m_bLoop), "Looping", 'L', 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x000000cc<<8)+7, offsetof(CSoundHolder, m_bSurround), "Surround", 'R', 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x000000cc<<8)+8, offsetof(CSoundHolder, m_bVolumetric), "Volumetric", 'O', 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x000000cc<<8)+9, offsetof(CSoundHolder, m_strName), "Name", 'N', 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x000000cc<<8)+10, offsetof(CSoundHolder, m_strDescription), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x000000cc<<8)+11, offsetof(CSoundHolder, m_bAutoStart), "Auto start", 'A', 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x000000cc<<8)+12, offsetof(CSoundHolder, m_iPlayType), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x000000cc<<8)+13, offsetof(CSoundHolder, m_soSound), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x000000cc<<8)+14, offsetof(CSoundHolder, m_bDestroyable), "Destroyable", 'Q', 0x7F0000FFUL, 0), }; #define CSoundHolder_propertiesct ARRAYCOUNT(CSoundHolder_properties) CEntityComponent CSoundHolder_components[] = { #define MODEL_MARKER ((0x000000cc<<8)+1) CEntityComponent(ECT_MODEL, MODEL_MARKER, "EFNM" "Models\\Editor\\SoundHolder.mdl"), #define TEXTURE_MARKER ((0x000000cc<<8)+2) CEntityComponent(ECT_TEXTURE, TEXTURE_MARKER, "EFNM" "Models\\Editor\\SoundHolder.tex"), }; #define CSoundHolder_componentsct ARRAYCOUNT(CSoundHolder_components) CEventHandlerEntry CSoundHolder_handlers[] = { {1, -1, CEntity::pEventHandler(&CSoundHolder:: #line 80 "D:/SE1_GPL/Sources/EntitiesMP/SoundHolder.es" Main),DEBUGSTRING("CSoundHolder::Main")}, {0x00cc0000, -1, CEntity::pEventHandler(&CSoundHolder::H0x00cc0000_Main_01), DEBUGSTRING("CSoundHolder::H0x00cc0000_Main_01")}, {0x00cc0001, -1, CEntity::pEventHandler(&CSoundHolder::H0x00cc0001_Main_02), DEBUGSTRING("CSoundHolder::H0x00cc0001_Main_02")}, {0x00cc0002, -1, CEntity::pEventHandler(&CSoundHolder::H0x00cc0002_Main_03), DEBUGSTRING("CSoundHolder::H0x00cc0002_Main_03")}, {0x00cc0003, -1, CEntity::pEventHandler(&CSoundHolder::H0x00cc0003_Main_04), DEBUGSTRING("CSoundHolder::H0x00cc0003_Main_04")}, {0x00cc0004, -1, CEntity::pEventHandler(&CSoundHolder::H0x00cc0004_Main_05), DEBUGSTRING("CSoundHolder::H0x00cc0004_Main_05")}, }; #define CSoundHolder_handlersct ARRAYCOUNT(CSoundHolder_handlers) CEntity *CSoundHolder_New(void) { return new CSoundHolder; }; void CSoundHolder_OnInitClass(void) {}; void CSoundHolder_OnEndClass(void) {}; void CSoundHolder_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {}; void CSoundHolder_OnWorldEnd(CWorld *pwo) {}; void CSoundHolder_OnWorldInit(CWorld *pwo) {}; void CSoundHolder_OnWorldTick(CWorld *pwo) {}; void CSoundHolder_OnWorldRender(CWorld *pwo) {}; ENTITY_CLASSDEFINITION(CSoundHolder, CRationalEntity, "SoundHolder", "Thumbnails\\SoundHolder.tbn", 0x000000cc); DECLARE_CTFILENAME(_fnmCSoundHolder_tbn, "Thumbnails\\SoundHolder.tbn");