|
| 1 | +#pragma once |
| 2 | + |
| 3 | +#include <Marathon.inl> |
| 4 | +#include <Sonicteam/Player/IFlagCommunicator.h> |
| 5 | +#include <Sonicteam/Player/State/ICommonContextIF.h> |
| 6 | +#include <Sonicteam/Player/IDynamicLink.h> |
| 7 | +#include <Sonicteam/Player/IVariable.h> |
| 8 | +#include <Sonicteam/Player/IPosturePlugIn.h> |
| 9 | +#include <Sonicteam/Player/Unit/ITestCase.h> |
| 10 | +#include <Sonicteam/SoX/RefCountObject.h> |
| 11 | +#include <Sonicteam/SoX/RefSharedPointer.h> |
| 12 | +#include <Sonicteam/SoX/Math/Vector.h> |
| 13 | +#include <Sonicteam/SoX/Engine/Task.h> |
| 14 | +#include <Sonicteam/SoX/Math/Quaternion.h> |
| 15 | +#include <Sonicteam/SoX/Physics/World.h> |
| 16 | +#include <boost/smart_ptr/shared_ptr.h> |
| 17 | +#include <Sonicteam/ActorManager.h> |
| 18 | + |
| 19 | +namespace Sonicteam::Player |
| 20 | +{ |
| 21 | + class IPostureControl : public IVariable, public IDynamicLink, public Unit::ITestCase, public IFlagCommunicator |
| 22 | + { |
| 23 | + public: |
| 24 | + SoX::RefSharedPointer<SoX::RefCountObject> m_spRootFrame; |
| 25 | + SoX::Math::Quaternion m_RotationFixed; |
| 26 | + SoX::Math::Vector m_PositionFixed; |
| 27 | + SoX::RefSharedPointer<SoX::Physics::World> m_spWorld; |
| 28 | + boost::shared_ptr<void> m_spGravity; |
| 29 | + boost::shared_ptr<void> m_spInputListener; |
| 30 | + boost::shared_ptr<void> m_spAmigoListener; |
| 31 | + boost::shared_ptr<State::ICommonContextIF> m_ContextIF; |
| 32 | + boost::shared_ptr<ActorManager> m_spActorManager; |
| 33 | + xpointer<SoX::Engine::Task> m_pTask; |
| 34 | + boost::shared_ptr<IPosturePlugIn> m_spPosturePlugIn; |
| 35 | + SoX::Math::Vector m_GravityDirection; |
| 36 | + be<float> m_GravityForce; |
| 37 | + SoX::Math::Vector m_NormalizedSurface; //ground normal? |
| 38 | + SoX::Math::Vector m_Position; |
| 39 | + SoX::Math::Quaternion m_Rotation; |
| 40 | + MARATHON_INSERT_PADDING(0x20); |
| 41 | + be<uint32_t> m_PostureFlag; |
| 42 | + be<float> m_ImpulseForward; |
| 43 | + be<float> m_ImpulseVertical; |
| 44 | + SoX::Math::Vector m_ImpulseUP; |
| 45 | + be<uint32_t> m_ContextIFFlag; |
| 46 | + be<uint32_t> m_PostureRequestFlag; |
| 47 | + be<uint32_t> m_PostureFlag118; |
| 48 | + be<uint32_t> m_PostureFlag11C; |
| 49 | + }; |
| 50 | +} |
0 commit comments