2019-06-13 02:35:26 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CStats
|
|
|
|
{
|
|
|
|
public:
|
2019-06-17 00:16:38 +02:00
|
|
|
static int32 &DaysPassed;
|
2019-08-17 21:03:57 +02:00
|
|
|
static int32 &HeadsPopped;
|
2019-07-07 15:26:55 +02:00
|
|
|
static bool& CommercialPassed;
|
2019-07-10 11:36:47 +02:00
|
|
|
static bool& IndustrialPassed;
|
2020-01-03 17:48:13 +01:00
|
|
|
static bool& SuburbanPassed;
|
2019-07-04 22:31:21 +02:00
|
|
|
static int32 &NumberKillFrenziesPassed;
|
|
|
|
static int32 &PeopleKilledByOthers;
|
2019-08-04 00:31:00 +02:00
|
|
|
static int32 &HelisDestroyed;
|
|
|
|
static int32 *PedsKilledOfThisType; //[NUM_PEDTYPES]
|
2019-10-07 23:29:30 +02:00
|
|
|
static int32 &TimesDied;
|
|
|
|
static int32 &TimesArrested;
|
|
|
|
static int32 &KillsSinceLastCheckpoint;
|
2019-12-10 00:02:02 +01:00
|
|
|
static int32 &DistanceTravelledInVehicle;
|
|
|
|
static int32 &DistanceTravelledOnFoot;
|
2020-01-01 00:35:54 +01:00
|
|
|
static int32 &ProgressMade;
|
|
|
|
static int32 &TotalProgressInGame;
|
|
|
|
static float &MaximumJumpDistance;
|
|
|
|
static float &MaximumJumpHeight;
|
|
|
|
static int32 &MaximumJumpFlips;
|
|
|
|
static int32 &MaximumJumpSpins;
|
|
|
|
static int32 &BestStuntJump;
|
|
|
|
static int32 &NumberOfUniqueJumpsFound;
|
|
|
|
static int32 &TotalNumberOfUniqueJumps;
|
|
|
|
static int32 &PassengersDroppedOffWithTaxi;
|
|
|
|
static int32 &MoneyMadeWithTaxi;
|
|
|
|
static int32 &MissionsGiven;
|
|
|
|
static int32 &MissionsPassed;
|
|
|
|
static char (&LastMissionPassedName)[8];
|
|
|
|
static int32 &TotalLegitimateKills;
|
2019-07-04 22:31:21 +02:00
|
|
|
|
2019-07-07 09:13:04 +02:00
|
|
|
public:
|
2019-07-04 22:31:21 +02:00
|
|
|
static void AnotherKillFrenzyPassed();
|
2019-10-07 23:29:30 +02:00
|
|
|
static void CheckPointReachedUnsuccessfully() { KillsSinceLastCheckpoint = 0; };
|
2020-01-01 00:35:54 +01:00
|
|
|
static void CheckPointReachedSuccessfully() { TotalLegitimateKills += KillsSinceLastCheckpoint; KillsSinceLastCheckpoint = 0; };
|
2019-06-13 02:35:26 +02:00
|
|
|
};
|