summaryrefslogtreecommitdiffstats
path: root/src/core/Stats.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-07-07 21:28:51 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-07-07 21:28:51 +0200
commit4c86469cc91ce1b1cb767e35a0bf8358d9800ac8 (patch)
treec0835ff0e74fd35c51f142349bb8580630471b19 /src/core/Stats.cpp
parentMore scripts (diff)
parentMerge pull request #111 from gennariarmando/master (diff)
downloadre3-4c86469cc91ce1b1cb767e35a0bf8358d9800ac8.tar
re3-4c86469cc91ce1b1cb767e35a0bf8358d9800ac8.tar.gz
re3-4c86469cc91ce1b1cb767e35a0bf8358d9800ac8.tar.bz2
re3-4c86469cc91ce1b1cb767e35a0bf8358d9800ac8.tar.lz
re3-4c86469cc91ce1b1cb767e35a0bf8358d9800ac8.tar.xz
re3-4c86469cc91ce1b1cb767e35a0bf8358d9800ac8.tar.zst
re3-4c86469cc91ce1b1cb767e35a0bf8358d9800ac8.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