2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 17:11:22 +00:00
metaforce/Runtime/MP1/CSamusFaceReflection.hpp
Lioncash 67f6666ea1 Runtime: Add more usages of explicit
Prevents error-prone implicit conversions where applicable.

This targets the regular RuntimeCommon target this time around.
2020-03-31 03:53:49 -04:00

29 lines
682 B
C++

#pragma once
#include <memory>
#include "Runtime/Character/CActorLights.hpp"
#include "Runtime/Character/CModelData.hpp"
#include <zeus/CQuaternion.hpp>
#include <zeus/CVector3f.hpp>
namespace urde::MP1 {
class CSamusFaceReflection {
CModelData x0_modelData;
std::unique_ptr<CActorLights> x4c_lights;
zeus::CQuaternion x50_lookRot;
zeus::CVector3f x60_lookDir;
u32 x6c_ = 0;
bool x70_hidden = true;
public:
explicit CSamusFaceReflection(CStateManager& stateMgr);
void PreDraw(const CStateManager& stateMgr);
void Draw(const CStateManager& stateMgr) const;
void Update(float dt, const CStateManager& stateMgr, CRandom16& rand);
};
} // namespace urde::MP1