2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 23:47:43 +00:00

New code style refactor

This commit is contained in:
Jack Andersen
2018-12-07 19:30:43 -10:00
parent 41ae32be31
commit 636c82a568
1451 changed files with 171430 additions and 203303 deletions

View File

@@ -4,25 +4,24 @@
#include "CToken.hpp"
#include "Graphics/CModel.hpp"
namespace urde
{
namespace urde {
class CStateManager;
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; }
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; }
public:
COrbitPointMarker();
bool CheckLoadComplete();
void Update(float dt, const CStateManager& mgr);
void Draw(const CStateManager& mgr) const;
COrbitPointMarker();
bool CheckLoadComplete();
void Update(float dt, const CStateManager& mgr);
void Draw(const CStateManager& mgr) const;
};
}
} // namespace urde