summaryrefslogtreecommitdiffstats
path: root/src/core/Stats.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-11 23:28:52 +0200
committerGitHub <noreply@github.com>2020-05-11 23:28:52 +0200
commitce2071e1e6c21911b215e47815687f5a64328c66 (patch)
treec73ccad82576f5e27627b85e7c8b3f914881f5e8 /src/core/Stats.cpp
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
parentsync with upstream (diff)
downloadre3-ce2071e1e6c21911b215e47815687f5a64328c66.tar
re3-ce2071e1e6c21911b215e47815687f5a64328c66.tar.gz
re3-ce2071e1e6c21911b215e47815687f5a64328c66.tar.bz2
re3-ce2071e1e6c21911b215e47815687f5a64328c66.tar.lz
re3-ce2071e1e6c21911b215e47815687f5a64328c66.tar.xz
re3-ce2071e1e6c21911b215e47815687f5a64328c66.tar.zst
re3-ce2071e1e6c21911b215e47815687f5a64328c66.zip
Diffstat (limited to 'src/core/Stats.cpp')
-rw-r--r--src/core/Stats.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/Stats.cpp b/src/core/Stats.cpp
index 99274e04..ea934dca 100644
--- a/src/core/Stats.cpp
+++ b/src/core/Stats.cpp
@@ -58,6 +58,9 @@ int32 CStats::CarsCrushed;
int32 CStats::FastestTimes[CStats::TOTAL_FASTEST_TIMES];
int32 CStats::HighestScores[CStats::TOTAL_HIGHEST_SCORES];
+int32 CStats::Sprayings;
+float CStats::AutoPaintingBudget;
+
void CStats::Init()
{
PeopleKilledByOthers = 0;
@@ -113,6 +116,9 @@ void CStats::Init()
IndustrialPassed = 0;
CommercialPassed = 0;
SuburbanPassed = 0;
+
+ Sprayings = 0;
+ AutoPaintingBudget = 0.0f;
}
void CStats::RegisterFastestTime(int32 index, int32 time)