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