diff options
author | aap <aap@papnet.eu> | 2019-06-30 13:03:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-30 13:03:04 +0200 |
commit | ffb9fe188c6c58e22683dbc669c1e142a2feb166 (patch) | |
tree | 7e3436ed3945245fca67127d00e0ccfee6d31239 /src/control/Replay.h | |
parent | fix (diff) | |
parent | PlayBackThisFrameInterpolation and all it required... (diff) | |
download | re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar.gz re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar.bz2 re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar.lz re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar.xz re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar.zst re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Replay.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/control/Replay.h b/src/control/Replay.h index 125dfef4..f44e4c41 100644 --- a/src/control/Replay.h +++ b/src/control/Replay.h @@ -241,6 +241,10 @@ private: static float &LoadSceneX; static float &LoadSceneY; static float &LoadSceneZ; + static float &CameraFocusX; + static float &CameraFocusY; + static float &CameraFocusZ; + static bool &bPlayerInRCBuggy; public: static void Init(void); @@ -257,25 +261,21 @@ 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); static void StoreDetailedPedAnimation(CPed *ped, CStoredDetailedAnimationState *state); -public: static void ProcessPedUpdate(CPed *ped, float interpolation, CAddressInReplayBuffer *buffer); static void RetrievePedAnimation(CPed *ped, CStoredAnimationState *state); static void RetrieveDetailedPedAnimation(CPed *ped, CStoredDetailedAnimationState *state); -private: static void PlaybackThisFrame(void); static void StoreCarUpdate(CVehicle *vehicle, int id); static void ProcessCarUpdate(CVehicle *vehicle, float interpolation, CAddressInReplayBuffer *buffer); static bool PlayBackThisFrameInterpolation(CAddressInReplayBuffer *buffer, float interpolation, uint32 *pTimer); static void ProcessReplayCamera(void); static void StoreStuffInMem(void); -public: /* temp */ static void RestoreStuffFromMem(void); -private: static void EmptyPedsAndVehiclePools(void); static void EmptyAllPools(void); static void MarkEverythingAsNew(void); |