summaryrefslogtreecommitdiffstats
path: root/src/core/Stats.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-06 18:28:04 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-06 18:28:04 +0200
commitcf804dee91001bd13dca4fb831e220625b3e4cac (patch)
treede9aa3210138a4ca45ee2f7ea3516ee5b3f61fd5 /src/core/Stats.h
parentreview fixes (diff)
parentMerge pull request #354 from PerikiyoXD/master (diff)
downloadre3-cf804dee91001bd13dca4fb831e220625b3e4cac.tar
re3-cf804dee91001bd13dca4fb831e220625b3e4cac.tar.gz
re3-cf804dee91001bd13dca4fb831e220625b3e4cac.tar.bz2
re3-cf804dee91001bd13dca4fb831e220625b3e4cac.tar.lz
re3-cf804dee91001bd13dca4fb831e220625b3e4cac.tar.xz
re3-cf804dee91001bd13dca4fb831e220625b3e4cac.tar.zst
re3-cf804dee91001bd13dca4fb831e220625b3e4cac.zip
Diffstat (limited to 'src/core/Stats.h')
-rw-r--r--src/core/Stats.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/core/Stats.h b/src/core/Stats.h
index 1d220905..41d926e6 100644
--- a/src/core/Stats.h
+++ b/src/core/Stats.h
@@ -1,5 +1,7 @@
#pragma once
+#include "PedType.h"
+
class CStats
{
public:
@@ -8,14 +10,14 @@ public:
TOTAL_HIGHEST_SCORES = 16
};
static int32 &DaysPassed;
- static int32 &HeadsPopped;
+ static int32 &HeadsPopped;
static bool& CommercialPassed;
static bool& IndustrialPassed;
static bool& SuburbanPassed;
static int32 &NumberKillFrenziesPassed;
static int32 &PeopleKilledByOthers;
static int32 &HelisDestroyed;
- static int32 *PedsKilledOfThisType; //[NUM_PEDTYPES]
+ static int32(&PedsKilledOfThisType)[ePedType::NUM_PEDTYPES];
static int32 &TimesDied;
static int32 &TimesArrested;
static int32 &KillsSinceLastCheckpoint;
@@ -50,7 +52,14 @@ public:
static int32 &LongestFlightInDodo;
static int32 &TimeTakenDefuseMission;
static int32 &TotalNumberKillFrenzies;
- static int32 &TotalNumberMissions;
+ static int32 &TotalNumberMissions;
+ static int32 &ShotsMade;
+ static int32 &KgsOfExplosivesUsed;
+ static int32 &InstantHitsFiredByPlayer;
+ static int32 &InstantHitsHitByPlayer;
+ static int32 &BestTimeBombDefusal;
+ static int32 &mmRain;
+ static int32 &CarsCrushed;
static int32(&FastestTimes)[TOTAL_FASTEST_TIMES];
static int32(&HighestScores)[TOTAL_HIGHEST_SCORES];
static int32 &KgOfExplosivesUsed;