diff options
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/Population.cpp | 4 | ||||
-rw-r--r-- | src/control/Population.h | 7 | ||||
-rw-r--r-- | src/control/Replay.cpp | 1 | ||||
-rw-r--r-- | src/control/Replay.h | 1 |
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; }; |