summaryrefslogtreecommitdiffstats
path: root/src/control/Record.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-17 09:17:38 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-17 09:17:38 +0200
commitb9c8ce0d37b2f094e2d8fe1a71db009718a0a006 (patch)
tree4861c474aa232d2914f5b6b3bc11a8e62a9ceccb /src/control/Record.h
parentMerge remote-tracking branch 'samler/world' into Standalone (diff)
parentrem refs (diff)
downloadre3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar
re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.gz
re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.bz2
re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.lz
re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.xz
re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.zst
re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.zip
Diffstat (limited to '')
-rw-r--r--src/control/Record.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/control/Record.h b/src/control/Record.h
index 4abeb68a..7af733ba 100644
--- a/src/control/Record.h
+++ b/src/control/Record.h
@@ -23,7 +23,7 @@ public:
CVector pos;
};
-extern char* gString;
+extern char gString[256];;
class CRecordDataForChase
{
@@ -37,15 +37,15 @@ class CRecordDataForChase
STATE_PLAYBACK = 3,
STATE_PLAYBACK_BEFORE_RECORDING = 4
};
- static uint8 &Status;
- static int &PositionChanges;
- static uint8 &CurrentCar;
- static CAutomobile*(&pChaseCars)[NUM_CHASE_CARS];
- static float &AnimTime;
- static uint32 &AnimStartTime;
- static CCarStateEachFrame* (&pBaseMemForCar)[NUM_CHASE_CARS];
- static float &TimeMultiplier;
- static int &FId2;
+ static uint8 Status;
+ static int PositionChanges;
+ static uint8 CurrentCar;
+ static CAutomobile*pChaseCars[NUM_CHASE_CARS];
+ static float AnimTime;
+ static uint32 AnimStartTime;
+ static CCarStateEachFrame* pBaseMemForCar[NUM_CHASE_CARS];
+ static float TimeMultiplier;
+ static int FId2;
public:
static bool IsRecording(void) { return Status == STATE_RECORD; }
@@ -86,11 +86,11 @@ class CRecordDataForGame
STATE_RECORD = 1,
STATE_PLAYBACK = 2,
};
- static uint16& RecordingState;
- static uint8* &pDataBuffer;
- static uint8* &pDataBufferPointer;
- static int &FId;
- static tGameBuffer &pDataBufferForFrame;
+ static uint16 RecordingState;
+ static uint8* pDataBuffer;
+ static uint8* pDataBufferPointer;
+ static int FId;
+ static tGameBuffer pDataBufferForFrame;
public:
static bool IsRecording() { return RecordingState == STATE_RECORD; }