2018-10-06 20:42:33 -07:00
|
|
|
#pragma once
|
2017-02-20 19:29:28 -08:00
|
|
|
|
2019-09-22 14:52:05 -07:00
|
|
|
#include "Runtime/CToken.hpp"
|
|
|
|
#include "Runtime/RetroTypes.hpp"
|
|
|
|
#include "Runtime/Graphics/CModel.hpp"
|
|
|
|
|
|
|
|
#include <zeus/CVector3f.hpp>
|
2017-10-28 23:21:52 -07:00
|
|
|
|
2021-04-10 01:42:06 -07:00
|
|
|
namespace metaforce {
|
2017-02-20 19:29:28 -08:00
|
|
|
class CStateManager;
|
2018-12-07 21:30:43 -08:00
|
|
|
class COrbitPointMarker {
|
|
|
|
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; }
|
|
|
|
|
2017-02-20 19:29:28 -08:00
|
|
|
public:
|
2018-12-07 21:30:43 -08:00
|
|
|
COrbitPointMarker();
|
2019-08-14 03:04:11 -07:00
|
|
|
bool CheckLoadComplete() const;
|
2018-12-07 21:30:43 -08:00
|
|
|
void Update(float dt, const CStateManager& mgr);
|
2022-03-05 16:26:52 -08:00
|
|
|
void Draw(const CStateManager& mgr);
|
2017-02-20 19:29:28 -08:00
|
|
|
};
|
2021-04-10 01:42:06 -07:00
|
|
|
} // namespace metaforce
|