diff options
author | aap <aap@papnet.eu> | 2020-02-23 11:00:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-23 11:00:15 +0100 |
commit | f8cd12ffb325d6bc374357a57125fa53778abf0a (patch) | |
tree | d3e4a0b7193d75b559b82c43f4fe504baac45f7e /src/core/Stats.h | |
parent | Merge pull request #334 from erorcun/erorcun (diff) | |
parent | ARRAY_SIZE (diff) | |
download | re3-f8cd12ffb325d6bc374357a57125fa53778abf0a.tar re3-f8cd12ffb325d6bc374357a57125fa53778abf0a.tar.gz re3-f8cd12ffb325d6bc374357a57125fa53778abf0a.tar.bz2 re3-f8cd12ffb325d6bc374357a57125fa53778abf0a.tar.lz re3-f8cd12ffb325d6bc374357a57125fa53778abf0a.tar.xz re3-f8cd12ffb325d6bc374357a57125fa53778abf0a.tar.zst re3-f8cd12ffb325d6bc374357a57125fa53778abf0a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Stats.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/core/Stats.h b/src/core/Stats.h index e1ef3749..4b558c32 100644 --- a/src/core/Stats.h +++ b/src/core/Stats.h @@ -3,6 +3,10 @@ class CStats { public: + enum { + TOTAL_FASTEST_TIMES = 16, + TOTAL_HIGHEST_SCORES = 16 + }; static int32 &DaysPassed; static int32 &HeadsPopped; static bool& CommercialPassed; @@ -35,9 +39,37 @@ public: static char (&LastMissionPassedName)[8]; static int32 &TotalLegitimateKills; static int32 &ElBurroTime; + static int32 &Record4x4One; + static int32 &Record4x4Two; + static int32 &Record4x4Three; + static int32 &Record4x4Mayhem; + static int32 &LivesSavedWithAmbulance; + static int32 &CriminalsCaught; + static int32 &HighestLevelAmbulanceMission; + static int32 &FiresExtinguished; + static int32 &LongestFlightInDodo; + static int32 &TimeTakenDefuseMission; + static int32 &TotalNumberKillFrenzies; + static int32 &TotalNumberMissions; + static int32(&FastestTimes)[TOTAL_FASTEST_TIMES]; + static int32(&HighestScores)[TOTAL_HIGHEST_SCORES]; public: + static void RegisterFastestTime(int32, int32); + static void RegisterHighestScore(int32, int32); static void AnotherKillFrenzyPassed(); + static void AnotherLifeSavedWithAmbulance(); + static void AnotherCriminalCaught(); + static void RegisterLevelAmbulanceMission(int32); + static void AnotherFireExtinguished(); + static void Register4x4OneTime(int32); + static void Register4x4TwoTime(int32); + static void Register4x4ThreeTime(int32); + static void Register4x4MayhemTime(int32); + static void RegisterLongestFlightInDodo(int32); + static void RegisterTimeTakenDefuseMission(int32); + static void SetTotalNumberKillFrenzies(int32); + static void SetTotalNumberMissions(int32); static void CheckPointReachedUnsuccessfully() { KillsSinceLastCheckpoint = 0; }; static void CheckPointReachedSuccessfully() { TotalLegitimateKills += KillsSinceLastCheckpoint; KillsSinceLastCheckpoint = 0; }; static void RegisterElBurroTime(int32); |