diff options
author | aap <aap@papnet.eu> | 2019-06-30 23:31:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-30 23:31:57 +0200 |
commit | f4cf98174c9995ce8f9b916a80b2aa81bc69bba4 (patch) | |
tree | 2b629178b15fc7c46f3128efeb815ac05c65d044 /src/control/Replay.h | |
parent | little cleanup (diff) | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-f4cf98174c9995ce8f9b916a80b2aa81bc69bba4.tar re3-f4cf98174c9995ce8f9b916a80b2aa81bc69bba4.tar.gz re3-f4cf98174c9995ce8f9b916a80b2aa81bc69bba4.tar.bz2 re3-f4cf98174c9995ce8f9b916a80b2aa81bc69bba4.tar.lz re3-f4cf98174c9995ce8f9b916a80b2aa81bc69bba4.tar.xz re3-f4cf98174c9995ce8f9b916a80b2aa81bc69bba4.tar.zst re3-f4cf98174c9995ce8f9b916a80b2aa81bc69bba4.zip |
Diffstat (limited to 'src/control/Replay.h')
-rw-r--r-- | src/control/Replay.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/control/Replay.h b/src/control/Replay.h index d0f55839..e6885f59 100644 --- a/src/control/Replay.h +++ b/src/control/Replay.h @@ -48,6 +48,8 @@ struct CStoredDetailedAnimationState uint16 aFlags2[6]; }; +void PlayReplayFromHD(void); + class CReplay { enum { @@ -244,6 +246,9 @@ private: static float &CameraFocusY; static float &CameraFocusZ; static bool &bPlayerInRCBuggy; + static float &fDistanceLookAroundCam; + static float &fAlphaAngleLookAroundCam; + static float &fBetaAngleLookAroundCam; public: static void Init(void); @@ -260,7 +265,7 @@ public: inline static bool IsPlayingBack() { return Mode == MODE_PLAYBACK; } inline static bool IsPlayingBackFromFile() { return bPlayingBackFromFile; } -//private: +private: static void RecordThisFrame(void); static void StorePedUpdate(CPed *ped, int id); static void StorePedAnimation(CPed *ped, CStoredAnimationState *state); @@ -282,4 +287,7 @@ public: static void FindFirstFocusCoordinate(CVector *coord); static void ProcessLookAroundCam(void); static size_t FindSizeOfPacket(uint8); + + /* Absolute nonsense, but how could this function end up being outside of class? */ + friend void PlayReplayFromHD(void); }; |