summaryrefslogtreecommitdiffstats
path: root/src/control/Garages.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-03-29 17:48:57 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-03-29 17:48:57 +0200
commit0db35f8275d59a289c4c7146b8b100fae293a632 (patch)
tree11e1af99fb09b1980bc9d43524464557666a8f23 /src/control/Garages.h
parentfixes (diff)
downloadre3-0db35f8275d59a289c4c7146b8b100fae293a632.tar
re3-0db35f8275d59a289c4c7146b8b100fae293a632.tar.gz
re3-0db35f8275d59a289c4c7146b8b100fae293a632.tar.bz2
re3-0db35f8275d59a289c4c7146b8b100fae293a632.tar.lz
re3-0db35f8275d59a289c4c7146b8b100fae293a632.tar.xz
re3-0db35f8275d59a289c4c7146b8b100fae293a632.tar.zst
re3-0db35f8275d59a289c4c7146b8b100fae293a632.zip
Diffstat (limited to '')
-rw-r--r--src/control/Garages.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/control/Garages.h b/src/control/Garages.h
index e39a81fa..ffe24e3a 100644
--- a/src/control/Garages.h
+++ b/src/control/Garages.h
@@ -45,7 +45,8 @@ enum eGarageType : int8
enum
{
- TOTAL_COLLECTCARS_GARAGES = GARAGE_COLLECTCARS_3 - GARAGE_COLLECTCARS_1 + 1
+ TOTAL_COLLECTCARS_GARAGES = GARAGE_COLLECTCARS_3 - GARAGE_COLLECTCARS_1 + 1,
+ TOTAL_COLLECTCARS_CARS = 16
};
class CStoredCar
@@ -151,7 +152,7 @@ public:
bool IsAnyCarBlockingDoor();
void CenterCarInGarage(CVehicle*);
bool DoesCraigNeedThisCar(int32);
- void MarkThisCarAsCollectedForCraig(int32);
+ bool MarkThisCarAsCollectedForCraig(int32);
bool HasCraigCollectedThisCar(int32);
bool IsGarageEmpty();
void UpdateCrusherShake(float, float);
@@ -181,7 +182,7 @@ public:
static int32 &CrushedCarId;
static uint32 &LastTimeHelpMessage;
static int32 &MessageNumberInString;
- static const char *MessageIDString;
+ static char(&MessageIDString)[8];
static int32 &MessageNumberInString2;
static uint32 &MessageStartTime;
static uint32 &MessageEndTime;