mirror of https://github.com/PrimeDecomp/prime.git
26 lines
819 B
C++
26 lines
819 B
C++
#ifndef _CFIRSTPERSONCAMERA
|
|
#define _CFIRSTPERSONCAMERA
|
|
|
|
#include "MetroidPrime/Cameras/CGameCamera.hpp"
|
|
|
|
class CFirstPersonCamera : public CGameCamera {
|
|
public:
|
|
CFirstPersonCamera(const TUniqueId& uid, const CTransform4f& xf, TUniqueId watchedObj,
|
|
float orbitCameraSpeed, float fov, float nearz, float farz, float aspect);
|
|
void SetScriptPitchId(TUniqueId uid) { x1c4_pitchId = uid; }
|
|
void ProcessInput(const CFinalInput& input, CStateManager& mgr);
|
|
void Reset(const CTransform4f& xf, CStateManager& mgr);
|
|
|
|
private:
|
|
float x188_orbitCameraSpeed;
|
|
bool x18c_lockCamera;
|
|
CTransform4f x190_gunFollowXf;
|
|
float x1c0_pitch;
|
|
TUniqueId x1c4_pitchId;
|
|
bool x1c6_24_deferBallTransitionProcessing : 1;
|
|
CVector3f x1c8_closeInVec;
|
|
float x1d4_closeInTimer;
|
|
};
|
|
|
|
#endif // _CFIRSTPERSONCAMERA
|