metaforce/Runtime/Camera/CBallCamera.hpp

40 lines
958 B
C++

#ifndef __URDE_CBALLCAMERA_HPP__
#define __URDE_CBALLCAMERA_HPP__
#include "CGameCamera.hpp"
namespace urde
{
class CBallCamera : public CGameCamera
{
public:
enum class EBallCameraState
{
Zero,
One,
Two,
Three,
Four,
Five
};
private:
TUniqueId x3dc_ = kInvalidUniqueId;
float x3e0_ = 10000.f;
public:
CBallCamera(TUniqueId, TUniqueId, const zeus::CTransform& xf, float, float, float, float);
void Accept(IVisitor& visitor);
void ProcessInput(const CFinalInput&, CStateManager& mgr);
void Reset(const zeus::CTransform&, CStateManager& mgr);
void SetState(EBallCameraState state, CStateManager& mgr);
bool TransitionFromMorphBallState(CStateManager& mgr);
TUniqueId GetX3DC() const { return x3dc_; }
float GetX3E0() const { return x3e0_; }
void TeleportCamera(const zeus::CVector3f& pos, CStateManager& mgr);
};
}
#endif // __URDE_CBALLCAMERA_HPP__