diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-07-01 01:48:31 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-07-01 01:48:31 +0200 |
commit | 3dec4a04230e3060a1c4f9a0c7bc698436f892d9 (patch) | |
tree | 92e6bfba49d11f7f41c7daa4ea593eb6c128555a /src/control/Replay.h | |
parent | More CPed (diff) | |
parent | Merge pull request #81 from Nick007J/master (diff) | |
download | re3-3dec4a04230e3060a1c4f9a0c7bc698436f892d9.tar re3-3dec4a04230e3060a1c4f9a0c7bc698436f892d9.tar.gz re3-3dec4a04230e3060a1c4f9a0c7bc698436f892d9.tar.bz2 re3-3dec4a04230e3060a1c4f9a0c7bc698436f892d9.tar.lz re3-3dec4a04230e3060a1c4f9a0c7bc698436f892d9.tar.xz re3-3dec4a04230e3060a1c4f9a0c7bc698436f892d9.tar.zst re3-3dec4a04230e3060a1c4f9a0c7bc698436f892d9.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); }; |