summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-01-07 16:57:33 +0100
committerGitHub <noreply@github.com>2020-01-07 16:57:33 +0100
commitc8c9413ef5769e16ffd7637f10c53ab42ffdfe30 (patch)
tree20dc08da930edd017121e3e9b5b40206d24c7313 /src/core
parentRemove CProjectile from TODO list (diff)
parentFinishing CDarkel (diff)
downloadre3-c8c9413ef5769e16ffd7637f10c53ab42ffdfe30.tar
re3-c8c9413ef5769e16ffd7637f10c53ab42ffdfe30.tar.gz
re3-c8c9413ef5769e16ffd7637f10c53ab42ffdfe30.tar.bz2
re3-c8c9413ef5769e16ffd7637f10c53ab42ffdfe30.tar.lz
re3-c8c9413ef5769e16ffd7637f10c53ab42ffdfe30.tar.xz
re3-c8c9413ef5769e16ffd7637f10c53ab42ffdfe30.tar.zst
re3-c8c9413ef5769e16ffd7637f10c53ab42ffdfe30.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Stats.cpp2
-rw-r--r--src/core/Stats.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Stats.cpp b/src/core/Stats.cpp
index fd6ba602..c1259f82 100644
--- a/src/core/Stats.cpp
+++ b/src/core/Stats.cpp
@@ -17,6 +17,8 @@ int32& CStats::DistanceTravelledInVehicle = *(int32*)0x940574;
int32& CStats::DistanceTravelledOnFoot = *(int32*)0x941518;
int32 &CStats::ProgressMade = *(int32*)0x8F6224;
int32 &CStats::TotalProgressInGame = *(int32*)0x885B2C;
+int32& CStats::CarsExploded = *(int32*)0x941288;
+int32& CStats::PeopleKilledByPlayer = *(int32*)0x8F1B7C;
float &CStats::MaximumJumpDistance = *(float*)0x8F2BDC;
float &CStats::MaximumJumpHeight = *(float*)0x940564;
int32 &CStats::MaximumJumpFlips = *(int32*)0x8F2524;
diff --git a/src/core/Stats.h b/src/core/Stats.h
index 8feb3c13..3e7973ea 100644
--- a/src/core/Stats.h
+++ b/src/core/Stats.h
@@ -17,6 +17,8 @@ public:
static int32 &KillsSinceLastCheckpoint;
static int32 &DistanceTravelledInVehicle;
static int32 &DistanceTravelledOnFoot;
+ static int32 &CarsExploded;
+ static int32 &PeopleKilledByPlayer;
static int32 &ProgressMade;
static int32 &TotalProgressInGame;
static float &MaximumJumpDistance;