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

51 lines
3.8 KiB
C

/*
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
*/
#define ENTITYCLASS CAnimationChanger
CEntityProperty CAnimationChanger_properties[] = {
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x000000da<<8)+1, offsetof(CAnimationChanger, m_strName), "Name", 'N', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x000000da<<8)+2, offsetof(CAnimationChanger, m_strDescription), "", 0, 0, 0),
CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x000000da<<8)+3, offsetof(CAnimationChanger, m_penTarget), "Target", 'T', C_GREEN | 0xFF, 0),
CEntityProperty(CEntityProperty::EPT_ANIMATION, NULL, (0x000000da<<8)+4, offsetof(CAnimationChanger, m_iModelAnim), "Model Animation", 'M', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x000000da<<8)+5, offsetof(CAnimationChanger, m_bModelLoop), "Model Looping", 0, 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_ANIMATION, NULL, (0x000000da<<8)+6, offsetof(CAnimationChanger, m_iTextureAnim), "Texture Animation", 'X', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x000000da<<8)+7, offsetof(CAnimationChanger, m_bTextureLoop), "Texture Looping", 0, 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_ANIMATION, NULL, (0x000000da<<8)+8, offsetof(CAnimationChanger, m_iLightAnim), "Diffuse Light Animation", 'L', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x000000da<<8)+9, offsetof(CAnimationChanger, m_bLightLoop), "Diffuse Light Looping", 0, 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_ANIMATION, NULL, (0x000000da<<8)+10, offsetof(CAnimationChanger, m_iAmbientLightAnim), "Ambient Light Animation", 'B', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x000000da<<8)+11, offsetof(CAnimationChanger, m_bAmbientLightLoop), "Ambient Light Looping", 0, 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_COLOR, NULL, (0x000000da<<8)+12, offsetof(CAnimationChanger, m_colAmbient), "Ambient Light Color", 'A', 0x7F0000FFUL, 0),
CEntityProperty(CEntityProperty::EPT_COLOR, NULL, (0x000000da<<8)+13, offsetof(CAnimationChanger, m_colDiffuse), "Diffuse Light Color", 'C', 0x7F0000FFUL, 0),
};
#define CAnimationChanger_propertiesct ARRAYCOUNT(CAnimationChanger_properties)
CEntityComponent CAnimationChanger_components[] = {
#define MODEL_CHANGER ((0x000000da<<8)+1)
CEntityComponent(ECT_MODEL, MODEL_CHANGER, "EFNM" "Models\\Editor\\AnimationChanger.mdl"),
#define TEXTURE_CHANGER ((0x000000da<<8)+2)
CEntityComponent(ECT_TEXTURE, TEXTURE_CHANGER, "EFNM" "Models\\Editor\\AnimationChanger.tex"),
};
#define CAnimationChanger_componentsct ARRAYCOUNT(CAnimationChanger_components)
CEventHandlerEntry CAnimationChanger_handlers[] = {
{1, -1, CEntity::pEventHandler(&CAnimationChanger::
#line 105 "D:/SE1_GPL/Sources/EntitiesMP/AnimationChanger.es"
Main),DEBUGSTRING("CAnimationChanger::Main")},
{0x00da0001, -1, CEntity::pEventHandler(&CAnimationChanger::H0x00da0001_Main_01), DEBUGSTRING("CAnimationChanger::H0x00da0001_Main_01")},
{0x00da0002, -1, CEntity::pEventHandler(&CAnimationChanger::H0x00da0002_Main_02), DEBUGSTRING("CAnimationChanger::H0x00da0002_Main_02")},
};
#define CAnimationChanger_handlersct ARRAYCOUNT(CAnimationChanger_handlers)
CEntity *CAnimationChanger_New(void) { return new CAnimationChanger; };
void CAnimationChanger_OnInitClass(void) {};
void CAnimationChanger_OnEndClass(void) {};
void CAnimationChanger_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {};
void CAnimationChanger_OnWorldEnd(CWorld *pwo) {};
void CAnimationChanger_OnWorldInit(CWorld *pwo) {};
void CAnimationChanger_OnWorldTick(CWorld *pwo) {};
void CAnimationChanger_OnWorldRender(CWorld *pwo) {};
ENTITY_CLASSDEFINITION(CAnimationChanger, CRationalEntity, "AnimationChanger", "Thumbnails\\AnimationChanger.tbn", 0x000000da);
DECLARE_CTFILENAME(_fnmCAnimationChanger_tbn, "Thumbnails\\AnimationChanger.tbn");