metaforce/Runtime/GuiSys/COrbitPointMarker.hpp

29 lines
693 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2017-10-29 06:21:52 +00:00
#include "RetroTypes.hpp"
#include "CToken.hpp"
#include "Graphics/CModel.hpp"
namespace urde
{
class CStateManager;
2017-04-02 03:03:37 +00:00
class COrbitPointMarker
{
2017-10-29 06:21:52 +00:00
float x0_zOffset;
bool x4_camRelZPos = true;
float x8_lagAzimuth = 0.f;
float xc_azimuth = 0.f;
zeus::CVector3f x10_lagTargetPos;
bool x1c_lastFreeOrbit = false;
float x20_interpTimer = 0.f;
float x24_curTime = 0.f;
TLockedToken<CModel> x28_orbitPointModel;
void ResetInterpolationTimer(float time) { x20_interpTimer = time; }
public:
2017-10-29 06:21:52 +00:00
COrbitPointMarker();
bool CheckLoadComplete();
void Update(float dt, const CStateManager& mgr);
void Draw(const CStateManager& mgr) const;
};
}