summaryrefslogtreecommitdiffstats
path: root/src/control/Replay.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-06-30 22:29:53 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-06-30 22:29:53 +0200
commit4e09f9ee39e003b852471e3016411cc3a3169802 (patch)
treefed5d8f5b4d9ba33157c8ed18bf1c2854d6e98bb /src/control/Replay.h
parentMore replay functions, also removed pool iteration error (diff)
downloadre3-4e09f9ee39e003b852471e3016411cc3a3169802.tar
re3-4e09f9ee39e003b852471e3016411cc3a3169802.tar.gz
re3-4e09f9ee39e003b852471e3016411cc3a3169802.tar.bz2
re3-4e09f9ee39e003b852471e3016411cc3a3169802.tar.lz
re3-4e09f9ee39e003b852471e3016411cc3a3169802.tar.xz
re3-4e09f9ee39e003b852471e3016411cc3a3169802.tar.zst
re3-4e09f9ee39e003b852471e3016411cc3a3169802.zip
Diffstat (limited to '')
-rw-r--r--src/control/Replay.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/control/Replay.h b/src/control/Replay.h
index 3a2ecc7f..d622ce9c 100644
--- a/src/control/Replay.h
+++ b/src/control/Replay.h
@@ -49,6 +49,8 @@ struct CStoredDetailedAnimationState
uint16 aFlags2[6];
};
+void PlayReplayFromHD(void);
+
class CReplay
{
enum {
@@ -245,6 +247,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);
@@ -283,4 +288,7 @@ private:
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);
};