diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-29 17:48:57 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-29 17:48:57 +0200 |
commit | 0db35f8275d59a289c4c7146b8b100fae293a632 (patch) | |
tree | 11e1af99fb09b1980bc9d43524464557666a8f23 /src/control/Garages.h | |
parent | fixes (diff) | |
download | re3-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.h | 7 |
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; |