mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 18:30:27 +01:00
97 lines
8.4 KiB
C
97 lines
8.4 KiB
C
|
/*
|
||
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
||
|
*/
|
||
|
|
||
|
EP_ENUMBEG(MusicType)
|
||
|
EP_ENUMVALUE(MT_LIGHT, "light"),
|
||
|
EP_ENUMVALUE(MT_MEDIUM, "medium"),
|
||
|
EP_ENUMVALUE(MT_HEAVY, "heavy"),
|
||
|
EP_ENUMVALUE(MT_EVENT, "event"),
|
||
|
EP_ENUMVALUE(MT_CONTINUOUS, "continuous"),
|
||
|
EP_ENUMEND(MusicType);
|
||
|
|
||
|
#define ENTITYCLASS CMusicHolder
|
||
|
|
||
|
CEntityProperty CMusicHolder_properties[] = {
|
||
|
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x000000de<<8)+1, offsetof(CMusicHolder, m_strName), "", 0, 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+2, offsetof(CMusicHolder, m_fScoreMedium), "Score Medium", 0, 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+3, offsetof(CMusicHolder, m_fScoreHeavy), "Score Heavy", 0, 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x000000de<<8)+10, offsetof(CMusicHolder, m_fnMusic0), "Music Light", 'M', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x000000de<<8)+11, offsetof(CMusicHolder, m_fnMusic1), "Music Medium", 0, 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x000000de<<8)+12, offsetof(CMusicHolder, m_fnMusic2), "Music Heavy", 0, 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x000000de<<8)+13, offsetof(CMusicHolder, m_fnMusic3), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x000000de<<8)+14, offsetof(CMusicHolder, m_fnMusic4), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+20, offsetof(CMusicHolder, m_fVolume0), "Volume Light", 'V', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+21, offsetof(CMusicHolder, m_fVolume1), "Volume Medium", 0, 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+22, offsetof(CMusicHolder, m_fVolume2), "Volume Heavy", 0, 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+23, offsetof(CMusicHolder, m_fVolume3), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+24, offsetof(CMusicHolder, m_fVolume4), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x000000de<<8)+100, offsetof(CMusicHolder, m_penBoss), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x000000de<<8)+102, offsetof(CMusicHolder, m_penCounter), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x000000de<<8)+104, offsetof(CMusicHolder, m_ctEnemiesInWorld), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x000000de<<8)+105, offsetof(CMusicHolder, m_penRespawnMarker), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x000000de<<8)+106, offsetof(CMusicHolder, m_ctSecretsInWorld), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+101, offsetof(CMusicHolder, m_tmFade), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_ENUM, &MusicType_enum, (0x000000de<<8)+103, offsetof(CMusicHolder, m_mtCurrentMusic), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+110, offsetof(CMusicHolder, m_fCurrentVolume0a), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+210, offsetof(CMusicHolder, m_fCurrentVolume0b), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+111, offsetof(CMusicHolder, m_fCurrentVolume1a), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+211, offsetof(CMusicHolder, m_fCurrentVolume1b), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+112, offsetof(CMusicHolder, m_fCurrentVolume2a), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+212, offsetof(CMusicHolder, m_fCurrentVolume2b), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+113, offsetof(CMusicHolder, m_fCurrentVolume3a), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+213, offsetof(CMusicHolder, m_fCurrentVolume3b), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+114, offsetof(CMusicHolder, m_fCurrentVolume4a), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x000000de<<8)+214, offsetof(CMusicHolder, m_fCurrentVolume4b), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x000000de<<8)+120, offsetof(CMusicHolder, m_soMusic0a), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x000000de<<8)+220, offsetof(CMusicHolder, m_soMusic0b), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x000000de<<8)+121, offsetof(CMusicHolder, m_soMusic1a), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x000000de<<8)+221, offsetof(CMusicHolder, m_soMusic1b), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x000000de<<8)+122, offsetof(CMusicHolder, m_soMusic2a), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x000000de<<8)+222, offsetof(CMusicHolder, m_soMusic2b), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x000000de<<8)+123, offsetof(CMusicHolder, m_soMusic3a), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x000000de<<8)+223, offsetof(CMusicHolder, m_soMusic3b), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x000000de<<8)+124, offsetof(CMusicHolder, m_soMusic4a), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x000000de<<8)+224, offsetof(CMusicHolder, m_soMusic4b), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x000000de<<8)+130, offsetof(CMusicHolder, m_iSubChannel0), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x000000de<<8)+131, offsetof(CMusicHolder, m_iSubChannel1), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x000000de<<8)+132, offsetof(CMusicHolder, m_iSubChannel2), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x000000de<<8)+133, offsetof(CMusicHolder, m_iSubChannel3), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x000000de<<8)+134, offsetof(CMusicHolder, m_iSubChannel4), "", 0, 0, 0),
|
||
|
};
|
||
|
#define CMusicHolder_propertiesct ARRAYCOUNT(CMusicHolder_properties)
|
||
|
|
||
|
CEntityComponent CMusicHolder_components[] = {
|
||
|
#define MODEL_MARKER ((0x000000de<<8)+1)
|
||
|
CEntityComponent(ECT_MODEL, MODEL_MARKER, "EFNM" "Models\\Editor\\MusicHolder.mdl"),
|
||
|
#define TEXTURE_MARKER ((0x000000de<<8)+2)
|
||
|
CEntityComponent(ECT_TEXTURE, TEXTURE_MARKER, "EFNM" "Models\\Editor\\MusicHolder.tex"),
|
||
|
};
|
||
|
#define CMusicHolder_componentsct ARRAYCOUNT(CMusicHolder_components)
|
||
|
|
||
|
CEventHandlerEntry CMusicHolder_handlers[] = {
|
||
|
{1, -1, CEntity::pEventHandler(&CMusicHolder::
|
||
|
#line 297 "D:/SE1_GPL/Sources/EntitiesMP/MusicHolder.es"
|
||
|
Main),DEBUGSTRING("CMusicHolder::Main")},
|
||
|
{0x00de0001, -1, CEntity::pEventHandler(&CMusicHolder::H0x00de0001_Main_01), DEBUGSTRING("CMusicHolder::H0x00de0001_Main_01")},
|
||
|
{0x00de0002, -1, CEntity::pEventHandler(&CMusicHolder::H0x00de0002_Main_02), DEBUGSTRING("CMusicHolder::H0x00de0002_Main_02")},
|
||
|
{0x00de0003, -1, CEntity::pEventHandler(&CMusicHolder::H0x00de0003_Main_03), DEBUGSTRING("CMusicHolder::H0x00de0003_Main_03")},
|
||
|
{0x00de0004, -1, CEntity::pEventHandler(&CMusicHolder::H0x00de0004_Main_04), DEBUGSTRING("CMusicHolder::H0x00de0004_Main_04")},
|
||
|
{0x00de0005, -1, CEntity::pEventHandler(&CMusicHolder::H0x00de0005_Main_05), DEBUGSTRING("CMusicHolder::H0x00de0005_Main_05")},
|
||
|
{0x00de0006, -1, CEntity::pEventHandler(&CMusicHolder::H0x00de0006_Main_06), DEBUGSTRING("CMusicHolder::H0x00de0006_Main_06")},
|
||
|
{0x00de0007, -1, CEntity::pEventHandler(&CMusicHolder::H0x00de0007_Main_07), DEBUGSTRING("CMusicHolder::H0x00de0007_Main_07")},
|
||
|
{0x00de0008, -1, CEntity::pEventHandler(&CMusicHolder::H0x00de0008_Main_08), DEBUGSTRING("CMusicHolder::H0x00de0008_Main_08")},
|
||
|
};
|
||
|
#define CMusicHolder_handlersct ARRAYCOUNT(CMusicHolder_handlers)
|
||
|
|
||
|
CEntity *CMusicHolder_New(void) { return new CMusicHolder; };
|
||
|
void CMusicHolder_OnInitClass(void) {};
|
||
|
void CMusicHolder_OnEndClass(void) {};
|
||
|
void CMusicHolder_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {};
|
||
|
void CMusicHolder_OnWorldEnd(CWorld *pwo) {};
|
||
|
void CMusicHolder_OnWorldInit(CWorld *pwo) {};
|
||
|
void CMusicHolder_OnWorldTick(CWorld *pwo) {};
|
||
|
void CMusicHolder_OnWorldRender(CWorld *pwo) {};
|
||
|
ENTITY_CLASSDEFINITION(CMusicHolder, CRationalEntity, "MusicHolder", "Thumbnails\\MusicHolder.tbn", 0x000000de);
|
||
|
DECLARE_CTFILENAME(_fnmCMusicHolder_tbn, "Thumbnails\\MusicHolder.tbn");
|