summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/control/Population.cpp4
-rw-r--r--src/control/Population.h7
-rw-r--r--src/control/Replay.cpp1
-rw-r--r--src/control/Replay.h4
4 files changed, 14 insertions, 2 deletions
diff --git a/src/control/Population.cpp b/src/control/Population.cpp
new file mode 100644
index 00000000..3626381d
--- /dev/null
+++ b/src/control/Population.cpp
@@ -0,0 +1,4 @@
+#include "common.h"
+#include "Population.h"
+
+Bool &CPopulation::ms_bGivePedsWeapons = *(Bool*)0x95CCF6; \ No newline at end of file
diff --git a/src/control/Population.h b/src/control/Population.h
new file mode 100644
index 00000000..e01d2712
--- /dev/null
+++ b/src/control/Population.h
@@ -0,0 +1,7 @@
+#pragma once
+
+class CPopulation
+{
+public:
+ static Bool &ms_bGivePedsWeapons;
+}; \ No newline at end of file
diff --git a/src/control/Replay.cpp b/src/control/Replay.cpp
index 6cfbd846..b1bdc1bf 100644
--- a/src/control/Replay.cpp
+++ b/src/control/Replay.cpp
@@ -3,5 +3,6 @@
#include "Replay.h"
uint8 &CReplay::Mode = *(uint8*)0x95CD5B;
+Bool &CReplay::bPlayingBackFromFile = *(Bool*)0x95CD58;
WRAPPER void CReplay::Display(void) { EAXJMP(0x595EE0); }
diff --git a/src/control/Replay.h b/src/control/Replay.h
index 85a9e35e..331cc44f 100644
--- a/src/control/Replay.h
+++ b/src/control/Replay.h
@@ -3,11 +3,11 @@
class CReplay
{
public:
+ static void Display(void);
enum {
MODE_1
};
static uint8 &Mode;
-
- static void Display(void);
+ static Bool &bPlayingBackFromFile;
};