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

46 lines
2.8 KiB
C

/*
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
*/
#define ENTITYCLASS CMusicChanger
CEntityProperty CMusicChanger_properties[] = {
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x000000e1<<8)+1, offsetof(CMusicChanger, m_strName), "Name", 'N', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x000000e1<<8)+2, offsetof(CMusicChanger, m_strDescription), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x000000e1<<8)+3, offsetof(CMusicChanger, m_fnMusic), "Music", 'M', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000e1<<8)+4, offsetof(CMusicChanger, m_fVolume), "Volume", 'V', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_ENUM, &MusicType_enum, (0x000000e1<<8)+5, offsetof(CMusicChanger, m_mtType), "Type", 'Y', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x000000e1<<8)+6, offsetof(CMusicChanger, m_bForceStart), "Force start", 'F', 0x7F0000FFUL, 0),
};
#define CMusicChanger_propertiesct ARRAYCOUNT(CMusicChanger_properties)
CEntityComponent CMusicChanger_components[] = {
#define MODEL_MARKER ((0x000000e1<<8)+1)
CEntityComponent(ECT_MODEL, MODEL_MARKER, "EFNM" "Models\\Editor\\MusicChanger.mdl"),
#define TEXTURE_MARKER ((0x000000e1<<8)+2)
CEntityComponent(ECT_TEXTURE, TEXTURE_MARKER, "EFNM" "Models\\Editor\\MusicChanger.tex"),
};
#define CMusicChanger_componentsct ARRAYCOUNT(CMusicChanger_components)
CEventHandlerEntry CMusicChanger_handlers[] = {
{1, -1, CEntity::pEventHandler(&CMusicChanger::
#line 33 "D:/SE1_GPL/Sources/EntitiesMP/MusicChanger.es"
Main),DEBUGSTRING("CMusicChanger::Main")},
{0x00e10000, -1, CEntity::pEventHandler(&CMusicChanger::H0x00e10000_Main_01), DEBUGSTRING("CMusicChanger::H0x00e10000_Main_01")},
{0x00e10001, -1, CEntity::pEventHandler(&CMusicChanger::H0x00e10001_Main_02), DEBUGSTRING("CMusicChanger::H0x00e10001_Main_02")},
{0x00e10002, -1, CEntity::pEventHandler(&CMusicChanger::H0x00e10002_Main_03), DEBUGSTRING("CMusicChanger::H0x00e10002_Main_03")},
{0x00e10003, -1, CEntity::pEventHandler(&CMusicChanger::H0x00e10003_Main_04), DEBUGSTRING("CMusicChanger::H0x00e10003_Main_04")},
};
#define CMusicChanger_handlersct ARRAYCOUNT(CMusicChanger_handlers)
CEntity *CMusicChanger_New(void) { return new CMusicChanger; };
void CMusicChanger_OnInitClass(void) {};
void CMusicChanger_OnEndClass(void) {};
void CMusicChanger_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {};
void CMusicChanger_OnWorldEnd(CWorld *pwo) {};
void CMusicChanger_OnWorldInit(CWorld *pwo) {};
void CMusicChanger_OnWorldTick(CWorld *pwo) {};
void CMusicChanger_OnWorldRender(CWorld *pwo) {};
ENTITY_CLASSDEFINITION(CMusicChanger, CRationalEntity, "MusicChanger", "Thumbnails\\MusicChanger.tbn", 0x000000e1);
DECLARE_CTFILENAME(_fnmCMusicChanger_tbn, "Thumbnails\\MusicChanger.tbn");