mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-26 12:15:53 +01:00
43 lines
2.3 KiB
C
43 lines
2.3 KiB
C
|
/*
|
||
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
||
|
*/
|
||
|
|
||
|
#define ENTITYCLASS CBouncer
|
||
|
|
||
|
CEntityProperty CBouncer_properties[] = {
|
||
|
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x00000069<<8)+1, offsetof(CBouncer, m_strName), "Name", 'N', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x00000069<<8)+2, offsetof(CBouncer, m_strDescription), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000069<<8)+4, offsetof(CBouncer, m_fSpeed), "Speed [m/s]", 'S', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_ANGLE3D, NULL, (0x00000069<<8)+5, offsetof(CBouncer, m_aDirection), "Direction", 'D', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000069<<8)+6, offsetof(CBouncer, m_tmControl), "Control time", 'T', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x00000069<<8)+7, offsetof(CBouncer, m_bEntrySpeed), "", 0, 0, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000069<<8)+10, offsetof(CBouncer, m_fMaxExitSpeed), "Max exit speed", 'M', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000069<<8)+12, offsetof(CBouncer, m_fNormalComponentMultiplier), "Normal component multiplier", 'O', 0x7F0000FFUL, 0),
|
||
|
CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000069<<8)+13, offsetof(CBouncer, m_fParallelComponentMultiplier), "Parallel component multiplier", 'P', 0x7F0000FFUL, 0),
|
||
|
};
|
||
|
#define CBouncer_propertiesct ARRAYCOUNT(CBouncer_properties)
|
||
|
|
||
|
CEntityComponent CBouncer_components[] = {
|
||
|
CEntityComponent()
|
||
|
};
|
||
|
#define CBouncer_componentsct 0
|
||
|
|
||
|
|
||
|
CEventHandlerEntry CBouncer_handlers[] = {
|
||
|
{1, -1, CEntity::pEventHandler(&CBouncer::
|
||
|
#line 51 "D:/SE1_GPL/Sources/EntitiesMP/Bouncer.es"
|
||
|
Main),DEBUGSTRING("CBouncer::Main")},
|
||
|
};
|
||
|
#define CBouncer_handlersct ARRAYCOUNT(CBouncer_handlers)
|
||
|
|
||
|
CEntity *CBouncer_New(void) { return new CBouncer; };
|
||
|
void CBouncer_OnInitClass(void) {};
|
||
|
void CBouncer_OnEndClass(void) {};
|
||
|
void CBouncer_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {};
|
||
|
void CBouncer_OnWorldEnd(CWorld *pwo) {};
|
||
|
void CBouncer_OnWorldInit(CWorld *pwo) {};
|
||
|
void CBouncer_OnWorldTick(CWorld *pwo) {};
|
||
|
void CBouncer_OnWorldRender(CWorld *pwo) {};
|
||
|
ENTITY_CLASSDEFINITION(CBouncer, CRationalEntity, "Bouncer", "Thumbnails\\Bouncer.tbn", 0x00000069);
|
||
|
DECLARE_CTFILENAME(_fnmCBouncer_tbn, "Thumbnails\\Bouncer.tbn");
|