summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-06-13 02:35:26 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2019-06-13 02:35:26 +0200
commit75bca8e31eef877cc6df83146c665f86ad6f8583 (patch)
treeeed79ac6f6bdee9d914e283266bf4b7aee56c6a6 /src/control
parentCameraCreate cosmetic fix (diff)
downloadre3-75bca8e31eef877cc6df83146c665f86ad6f8583.tar
re3-75bca8e31eef877cc6df83146c665f86ad6f8583.tar.gz
re3-75bca8e31eef877cc6df83146c665f86ad6f8583.tar.bz2
re3-75bca8e31eef877cc6df83146c665f86ad6f8583.tar.lz
re3-75bca8e31eef877cc6df83146c665f86ad6f8583.tar.xz
re3-75bca8e31eef877cc6df83146c665f86ad6f8583.tar.zst
re3-75bca8e31eef877cc6df83146c665f86ad6f8583.zip
Diffstat (limited to 'src/control')
-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.h1
4 files changed, 13 insertions, 0 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 eca818d6..e7a195dc 100644
--- a/src/control/Replay.h
+++ b/src/control/Replay.h
@@ -6,4 +6,5 @@ public:
static void Display(void);
static uint8 &Mode;
+ static Bool &bPlayingBackFromFile;
};