/* * This file is generated by Entity Class Compiler, (c) CroTeam 1997-98 */ #ifndef _EntitiesMP_RollingStone_INCLUDED #define _EntitiesMP_RollingStone_INCLUDED 1 #include extern "C" DECL_DLL CDLLEntityClass CRollingStone_DLLClass; class CRollingStone : public CMovableModelEntity { public: virtual BOOL IsTargetable(void) const { return TRUE; }; DECL_DLL virtual void SetDefaultProperties(void); FLOAT m_fBounce; FLOAT m_fHealth; FLOAT m_fDamage; BOOL m_bFixedDamage; FLOAT m_fStretch; FLOAT m_fDeceleration; FLOAT m_fStartSpeed; ANGLE3D m_vStartDir; CEntityPointer m_penDeathTarget; CSoundObject m_soBounce0; CSoundObject m_soBounce1; CSoundObject m_soBounce2; CSoundObject m_soBounce3; CSoundObject m_soBounce4; INDEX m_iNextChannel; CSoundObject m_soRoll; BOOL m_bRollPlaying; FLOATquat3D m_qA; FLOATquat3D m_qALast; FLOAT m_fASpeed; FLOAT3D m_vR; #line 55 "D:/SE1_GPL/Sources/EntitiesMP/RollingStone.es" void Precache(void); #line 63 "D:/SE1_GPL/Sources/EntitiesMP/RollingStone.es" void PostMoving(); #line 89 "D:/SE1_GPL/Sources/EntitiesMP/RollingStone.es" void AdjustMipFactor(FLOAT & fMipFactor); #line 105 "D:/SE1_GPL/Sources/EntitiesMP/RollingStone.es" void AdjustSpeedOnOneAxis(FLOAT & fTraNow,FLOAT & aRotNow,BOOL bRolling); #line 123 "D:/SE1_GPL/Sources/EntitiesMP/RollingStone.es" void AdjustSpeeds(const FLOAT3D & vPlane); #line 203 "D:/SE1_GPL/Sources/EntitiesMP/RollingStone.es" void BounceSound(FLOAT fSpeed); #line 220 "D:/SE1_GPL/Sources/EntitiesMP/RollingStone.es" void RollSound(FLOAT fSpeed); #define STATE_CRollingStone_Main 1 BOOL #line 244 "D:/SE1_GPL/Sources/EntitiesMP/RollingStone.es" Main(const CEntityEvent &__eeInput); BOOL H0x025c0000_Main_01(const CEntityEvent &__eeInput); BOOL H0x025c0001_Main_02(const CEntityEvent &__eeInput); BOOL H0x025c0002_Main_03(const CEntityEvent &__eeInput); BOOL H0x025c0003_Main_04(const CEntityEvent &__eeInput); }; #endif // _EntitiesMP_RollingStone_INCLUDED