summaryrefslogtreecommitdiffstats
path: root/src/core/Stats.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-07 21:09:40 +0200
committerGitHub <noreply@github.com>2019-07-07 21:09:40 +0200
commit6ec421fe7bc683e0d056d2a1b9d0bd0d159cf8e3 (patch)
tree726feb5b5fdc365ffdaa44208380e738d69ad2ff /src/core/Stats.cpp
parentMerge pull request #120 from ShFil119/audio4 (diff)
parentDarkel is bored. (diff)
downloadre3-6ec421fe7bc683e0d056d2a1b9d0bd0d159cf8e3.tar
re3-6ec421fe7bc683e0d056d2a1b9d0bd0d159cf8e3.tar.gz
re3-6ec421fe7bc683e0d056d2a1b9d0bd0d159cf8e3.tar.bz2
re3-6ec421fe7bc683e0d056d2a1b9d0bd0d159cf8e3.tar.lz
re3-6ec421fe7bc683e0d056d2a1b9d0bd0d159cf8e3.tar.xz
re3-6ec421fe7bc683e0d056d2a1b9d0bd0d159cf8e3.tar.zst
re3-6ec421fe7bc683e0d056d2a1b9d0bd0d159cf8e3.zip
Diffstat (limited to 'src/core/Stats.cpp')
-rw-r--r--src/core/Stats.cpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/core/Stats.cpp b/src/core/Stats.cpp
index 3c5b55e4..921586bb 100644
--- a/src/core/Stats.cpp
+++ b/src/core/Stats.cpp
@@ -1,6 +1,13 @@
#include "common.h"
#include "Stats.h"
-int32& CStats::DaysPassed = *(int32*)0x8F2BB8;
-int32& CStats::HeadShots = *(int32*)0x8F647C;
-bool& CStats::CommercialPassed = *(bool*)0x8F4334; \ No newline at end of file
+int32 &CStats::DaysPassed = *(int32*)0x8F2BB8;
+int32 &CStats::HeadShots = *(int32*)0x8F647C;
+bool& CStats::CommercialPassed = *(bool*)0x8F4334;
+int32 &CStats::NumberKillFrenziesPassed = *(int32*)0x8E287C;
+int32 &CStats::PeopleKilledByOthers = *(int32*)0x8E2C50;
+
+void CStats::AnotherKillFrenzyPassed()
+{
+ ++NumberKillFrenziesPassed;
+} \ No newline at end of file