mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-27 16:33:45 +00:00
d0f5464200
# Conflicts: # src/control/CarAI.cpp # src/control/Phones.cpp # src/control/Phones.h # src/control/Record.cpp # src/control/Restart.cpp # src/control/Script.cpp # src/core/Collision.cpp # src/core/Frontend.cpp # src/core/Frontend.h # src/core/Game.h # src/core/Streaming.cpp # src/core/TempColModels.cpp # src/core/Wanted.cpp # src/core/Zones.cpp # src/core/config.h # src/core/main.cpp # src/core/re3.cpp # src/entities/Entity.cpp # src/entities/Physical.cpp # src/extras/frontendoption.cpp # src/modelinfo/ModelInfo.cpp # src/modelinfo/PedModelInfo.cpp # src/peds/CivilianPed.cpp # src/peds/CopPed.cpp # src/peds/EmergencyPed.cpp # src/peds/Ped.cpp # src/peds/Ped.h # src/peds/Population.cpp # src/render/Renderer.cpp # src/save/GenericGameStorage.cpp # src/skel/win/win.cpp # src/vehicles/Automobile.cpp # src/vehicles/Boat.cpp # src/vehicles/Boat.h # src/vehicles/Vehicle.cpp
102 lines
3.4 KiB
C++
102 lines
3.4 KiB
C++
#pragma once
|
|
|
|
#include "PedType.h"
|
|
|
|
class CStats
|
|
{
|
|
public:
|
|
enum {
|
|
TOTAL_FASTEST_TIMES = 23,
|
|
TOTAL_HIGHEST_SCORES = 5,
|
|
TOTAL_BEST_POSITIONS = 1
|
|
};
|
|
//TODO
|
|
static int32 SeagullsKilled;
|
|
|
|
static int32 DaysPassed;
|
|
static int32 HeadsPopped;
|
|
static int32 CommercialPassed;
|
|
static int32 IndustrialPassed;
|
|
static int32 SuburbanPassed;
|
|
static int32 NumberKillFrenziesPassed;
|
|
static int32 PeopleKilledByOthers;
|
|
static int32 HelisDestroyed;
|
|
static int32 PedsKilledOfThisType[ePedType::NUM_PEDTYPES];
|
|
static int32 TimesDied;
|
|
static int32 TimesArrested;
|
|
static int32 KillsSinceLastCheckpoint;
|
|
static float DistanceTravelledInVehicle;
|
|
static float DistanceTravelledOnFoot;
|
|
static int32 CarsExploded;
|
|
static int32 PeopleKilledByPlayer;
|
|
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;
|
|
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 TimeTakenDefuseMission;
|
|
static int32 TotalNumberKillFrenzies;
|
|
static int32 TotalNumberMissions;
|
|
static int32 RoundsFiredByPlayer;
|
|
static int32 KgsOfExplosivesUsed;
|
|
static int32 InstantHitsFiredByPlayer;
|
|
static int32 InstantHitsHitByPlayer;
|
|
static int32 BestTimeBombDefusal;
|
|
static int32 FastestTimes[TOTAL_FASTEST_TIMES];
|
|
static int32 HighestScores[TOTAL_HIGHEST_SCORES];
|
|
static int32 BestPositions[TOTAL_BEST_POSITIONS];
|
|
static int32 PropertyDestroyed;
|
|
static int32 Sprayings;
|
|
static float AutoPaintingBudget;
|
|
static int32 NoMoreHurricanes;
|
|
static float FashionBudget;
|
|
static int32 SafeHouseVisits;
|
|
static int32 TyresPopped;
|
|
|
|
public:
|
|
static void Init(void);
|
|
static void RegisterFastestTime(int32, int32);
|
|
static void RegisterHighestScore(int32, int32);
|
|
static void RegisterBestPosition(int32, int32);
|
|
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 RegisterTimeTakenDefuseMission(int32);
|
|
static void AnotherKillFrenzyPassed();
|
|
static void SetTotalNumberKillFrenzies(int32);
|
|
static void SetTotalNumberMissions(int32);
|
|
static void CheckPointReachedSuccessfully() { TotalLegitimateKills += KillsSinceLastCheckpoint; KillsSinceLastCheckpoint = 0; };
|
|
static void CheckPointReachedUnsuccessfully() { KillsSinceLastCheckpoint = 0; };
|
|
static int32 FindCriminalRatingNumber();
|
|
static void SaveStats(uint8 *buf, uint32 *size);
|
|
static void LoadStats(uint8 *buf, uint32 size);
|
|
static float GetPercentageProgress();
|
|
|
|
static void MoneySpentOnFashion(int32);
|
|
};
|