diff options
author | aap <aap@papnet.eu> | 2019-06-13 10:02:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-13 10:02:52 +0200 |
commit | 12697a855353a1d537310d8f6dc293a6549e68da (patch) | |
tree | f6b758692616132f34da18f549d3bb92fd882110 /src/control | |
parent | silly mistake (diff) | |
parent | Update Pad.cpp (diff) | |
download | re3-12697a855353a1d537310d8f6dc293a6549e68da.tar re3-12697a855353a1d537310d8f6dc293a6549e68da.tar.gz re3-12697a855353a1d537310d8f6dc293a6549e68da.tar.bz2 re3-12697a855353a1d537310d8f6dc293a6549e68da.tar.lz re3-12697a855353a1d537310d8f6dc293a6549e68da.tar.xz re3-12697a855353a1d537310d8f6dc293a6549e68da.tar.zst re3-12697a855353a1d537310d8f6dc293a6549e68da.zip |
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 | 4 |
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; }; |