2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 19:44:55 +00:00

More work on CPlayer

This commit is contained in:
Jack Andersen
2017-07-16 17:04:14 -10:00
parent ec4d8c8f3c
commit a71e48cf43
20 changed files with 558 additions and 156 deletions

View File

@@ -9,10 +9,10 @@ namespace urde
class CFirstPersonCamera : public CGameCamera
{
float x188_;
u8 x18c_;
bool x18c_ = false;
zeus::CTransform x190_gunFollowXf;
float x1c0_;
TUniqueId x1c4_pitchId;
float x1c0_ = 0.f;
TUniqueId x1c4_pitchId = kInvalidUniqueId;
union {
struct
{
@@ -40,6 +40,7 @@ public:
void UpdateElevation(CStateManager&);
void CalculateGunFollowOrientationAndTransform(zeus::CTransform&, zeus::CQuaternion&, float, zeus::CVector3f&);
void SetScriptPitchId(TUniqueId uid) { x1c4_pitchId = uid; }
void SetX18C(bool v) { x18c_ = v; }
};
}