diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-09 12:14:37 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-09 19:15:45 +0200 |
commit | 6cfc31510dcc57edb0cc02d09073d84052c26ed4 (patch) | |
tree | f3581c166d822315bda93b15ab4fcda71f6ff697 /src/core/Stats.h | |
parent | AddExplosion shadow fix (diff) | |
download | re3-6cfc31510dcc57edb0cc02d09073d84052c26ed4.tar re3-6cfc31510dcc57edb0cc02d09073d84052c26ed4.tar.gz re3-6cfc31510dcc57edb0cc02d09073d84052c26ed4.tar.bz2 re3-6cfc31510dcc57edb0cc02d09073d84052c26ed4.tar.lz re3-6cfc31510dcc57edb0cc02d09073d84052c26ed4.tar.xz re3-6cfc31510dcc57edb0cc02d09073d84052c26ed4.tar.zst re3-6cfc31510dcc57edb0cc02d09073d84052c26ed4.zip |
Diffstat (limited to 'src/core/Stats.h')
-rw-r--r-- | src/core/Stats.h | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/src/core/Stats.h b/src/core/Stats.h index 029b2307..ac3259f9 100644 --- a/src/core/Stats.h +++ b/src/core/Stats.h @@ -11,9 +11,9 @@ public: }; static int32 &DaysPassed; static int32 &HeadsPopped; - static bool& CommercialPassed; - static bool& IndustrialPassed; - static bool& SuburbanPassed; + static int32& CommercialPassed; + static int32& IndustrialPassed; + static int32& SuburbanPassed; static int32 &NumberKillFrenziesPassed; static int32 &PeopleKilledByOthers; static int32 &HelisDestroyed; @@ -53,7 +53,7 @@ public: static int32 &TimeTakenDefuseMission; static int32 &TotalNumberKillFrenzies; static int32 &TotalNumberMissions; - static int32 &ShotsMade; + static int32 &RoundsFiredByPlayer; static int32 &KgsOfExplosivesUsed; static int32 &InstantHitsFiredByPlayer; static int32 &InstantHitsHitByPlayer; @@ -64,24 +64,27 @@ public: static int32(&HighestScores)[TOTAL_HIGHEST_SCORES]; public: + static void Init(void); 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 RegisterElBurroTime(int32); static void Register4x4OneTime(int32); static void Register4x4TwoTime(int32); static void Register4x4ThreeTime(int32); static void Register4x4MayhemTime(int32); + static void AnotherLifeSavedWithAmbulance(); + static void AnotherCriminalCaught(); + static void RegisterLevelAmbulanceMission(int32); + static void AnotherFireExtinguished(); + static wchar *FindCriminalRatingString(); static void RegisterLongestFlightInDodo(int32); static void RegisterTimeTakenDefuseMission(int32); + static void AnotherKillFrenzyPassed(); static void SetTotalNumberKillFrenzies(int32); static void SetTotalNumberMissions(int32); - static void CheckPointReachedUnsuccessfully() { KillsSinceLastCheckpoint = 0; }; static void CheckPointReachedSuccessfully() { TotalLegitimateKills += KillsSinceLastCheckpoint; KillsSinceLastCheckpoint = 0; }; - static void RegisterElBurroTime(int32); + static void CheckPointReachedUnsuccessfully() { KillsSinceLastCheckpoint = 0; }; + static int32 FindCriminalRatingNumber(); static void SaveStats(uint8 *buf, uint32 *size); - static void Init(void); + static void LoadStats(uint8 *buf, uint32 size); }; |