|
Colobot
|

Public Member Functions | |
| CMotionVehicle (COldObject *object) | |
| void | DeleteObject (bool bAll=false) override |
| void | Create (Math::Vector pos, float angle, ObjectType type, float power, Gfx::COldModelManager *modelManager) override |
| bool | EventProcess (const Event &event) override |
Public Member Functions inherited from CMotion | |
| CMotion (COldObject *object) | |
| void | SetPhysics (CPhysics *physics) |
| virtual Error | SetAction (int action, float time=0.2f) |
| virtual int | GetAction () |
| virtual bool | SetParam (int rank, float value) |
| virtual float | GetParam (int rank) |
| virtual bool | Write (CLevelParserLine *line) |
| virtual bool | Read (CLevelParserLine *line) |
| virtual void | SetLinVibration (Math::Vector dir) |
| virtual Math::Vector | GetLinVibration () |
| virtual void | SetCirVibration (Math::Vector dir) |
| virtual Math::Vector | GetCirVibration () |
| virtual void | SetTilt (Math::Vector dir) |
| virtual Math::Vector | GetTilt () |
Protected Member Functions | |
| void | CreatePhysics (ObjectType type) |
| bool | EventFrame (const Event &event) |
| bool | EventFrameFly (const Event &event) |
| bool | EventFrameInsect (const Event &event) |
| bool | EventFrameCanoni (const Event &event) |
| void | UpdateTrackMapping (float left, float right, ObjectType type) |
Protected Attributes | |
| float | m_wheelTurn [4] |
| float | m_flyPaw [3] |
| float | m_posTrackLeft |
| float | m_posTrackRight |
| int | m_partiReactor |
| float | m_armTimeAbs |
| float | m_armMember |
| float | m_canonTime |
| Math::Vector | m_wheelLastPos |
| Math::Vector | m_wheelLastAngle |
| Math::Vector | m_posKey |
| bool | m_bFlyFix |
Protected Attributes inherited from CMotion | |
| CApplication * | m_app |
| Gfx::CEngine * | m_engine |
| Gfx::CParticle * | m_particle |
| Gfx::CTerrain * | m_terrain |
| Gfx::CWater * | m_water |
| Gfx::CCamera * | m_camera |
| COldObject * | m_object |
| CPhysics * | m_physics |
| CRobotMain * | m_main |
| CSoundInterface * | m_sound |
| int | m_actionType |
| float | m_actionTime |
| float | m_progress |
| Math::Vector | m_linVibration |
| Math::Vector | m_cirVibration |
| Math::Vector | m_inclinaison |
1.8.13