/* * This file is generated by Entity Class Compiler, (c) CroTeam 1997-98 */ #ifndef _EntitiesMP_ModelHolder2_INCLUDED #define _EntitiesMP_ModelHolder2_INCLUDED 1 #include #include #include extern DECL_DLL CEntityPropertyEnumType CustomShadingType_enum; enum CustomShadingType { CST_NONE = 0, CST_FULL_CUSTOMIZED = 1, CST_CONSTANT_SHADING = 2, }; DECL_DLL inline void ClearToDefault(CustomShadingType &e) { e = (CustomShadingType)0; } ; extern DECL_DLL CEntityPropertyEnumType ShadowType_enum; enum ShadowType { ST_NONE = 0, ST_CLUSTER = 1, ST_POLYGONAL = 2, }; DECL_DLL inline void ClearToDefault(ShadowType &e) { e = (ShadowType)0; } ; extern "C" DECL_DLL CDLLEntityClass CModelHolder2_DLLClass; class CModelHolder2 : public CRationalEntity { public: virtual const CTString &GetName(void) const { return m_strName; }; virtual const CTString &GetDescription(void) const { return m_strDescription; }; DECL_DLL virtual void SetDefaultProperties(void); CTFileName m_fnModel; CTFileName m_fnTexture; CTFileName m_fnReflection; CTFileName m_fnSpecular; CTFileName m_fnBump; FLOAT m_fStretchAll; FLOAT m_fStretchX; FLOAT m_fStretchY; FLOAT m_fStretchZ; CTString m_strName; CTString m_strDescription; BOOL m_bColliding; ANIMATION m_iModelAnimation; ANIMATION m_iTextureAnimation; enum ShadowType m_stClusterShadows; BOOL m_bBackground; BOOL m_bTargetable; enum CustomShadingType m_cstCustomShading; ANGLE3D m_aShadingDirection; COLOR m_colLight; COLOR m_colAmbient; CTFileName m_fnmLightAnimation; ANIMATION m_iLightAnimation; CAnimObject m_aoLightAnimation; BOOL m_bAttachments; BOOL m_bActive; FLOAT m_fMipAdd; FLOAT m_fMipMul; FLOAT m_fMipFadeDist; FLOAT m_fMipFadeLen; RANGE m_rMipFadeDistMetric; FLOAT m_fMipFadeLenMetric; BOOL m_bRandomStretch; FLOAT m_fStretchRndX; FLOAT m_fStretchRndY; FLOAT m_fStretchRndZ; FLOAT m_fStretchRndAll; FLOAT3D m_fStretchRandom; CEntityPointer m_penDestruction; FLOAT3D m_vDamage; FLOAT m_tmLastDamage; CEntityPointer m_penDestroyTarget; CEntityPointer m_penLastDamager; FLOAT m_tmSpraySpawned; FLOAT m_fSprayDamage; CEntityPointer m_penSpray; FLOAT m_fMaxDamageAmmount; FLOAT m_fClassificationStretch; COLOR m_colBurning; enum DamageType m_dmtLastDamageType; FLOAT m_fChainSawCutDamage; INDEX m_iFirstRandomAnimation; FLOAT m_fMaxTessellationLevel; CTFileName m_fnOldModel; #line 107 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" void Precache(void); #line 112 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" BOOL FillEntityStatistics(EntityStats * pes); #line 129 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" FLOAT3D GetClassificationBoxStretch(void); #line 136 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" FLOAT GetMaxTessellationLevel(void); #line 143 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" void ReceiveDamage(CEntity * penInflictor,enum DamageType dmtType, #line 144 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" FLOAT fDamageAmmount,const FLOAT3D & vHitPoint,const FLOAT3D & vDirection); #line 289 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" void * GetEntityInfo(void); #line 298 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" class CModelDestruction * GetDestruction(void); #line 303 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" BOOL IsTargetable(void)const; #line 309 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" CAnimData * GetAnimData(SLONG slPropertyOffset); #line 323 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" void AdjustMipFactor(FLOAT & fMipFactor); #line 364 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" BOOL AdjustShadingParameters(FLOAT3D & vLightDirection,COLOR & colLight,COLOR & colAmbient); #line 443 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" void MirrorAndStretch(FLOAT fStretch,BOOL bMirrorX); #line 452 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" void StretchModel(void); #line 490 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" void InitModelHolder(void); #line 624 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" SLONG GetUsedMemory(void); #define STATE_CModelHolder2_Die 0x00d20000 BOOL #line 644 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" Die(const CEntityEvent &__eeInput); #define STATE_CModelHolder2_Main 1 BOOL #line 709 "D:/SE1_GPL/Sources/EntitiesMP/ModelHolder2.es" Main(const CEntityEvent &__eeInput); BOOL H0x00d20001_Main_01(const CEntityEvent &__eeInput); BOOL H0x00d20002_Main_02(const CEntityEvent &__eeInput); }; #endif // _EntitiesMP_ModelHolder2_INCLUDED