2019-05-28 06:39:36 +00:00
|
|
|
#pragma once
|
|
|
|
|
2019-10-21 21:39:59 +00:00
|
|
|
class CVehicle;
|
|
|
|
|
2019-05-28 06:39:36 +00:00
|
|
|
class CGarages
|
|
|
|
{
|
2019-06-17 00:10:55 +00:00
|
|
|
public:
|
|
|
|
static int32 &BankVansCollected;
|
|
|
|
static bool &BombsAreFree;
|
|
|
|
static bool &RespraysAreFree;
|
|
|
|
static int32 &CarsCollected;
|
|
|
|
static int32 &CarTypesCollected;
|
|
|
|
static int32 &CrushedCarId;
|
|
|
|
static uint32 &LastTimeHelpMessage;
|
|
|
|
static int32 &MessageNumberInString;
|
|
|
|
static const char *MessageIDString;
|
|
|
|
static int32 &MessageNumberInString2;
|
|
|
|
static uint32 &MessageStartTime;
|
|
|
|
static uint32 &MessageEndTime;
|
|
|
|
static uint32 &NumGarages;
|
|
|
|
static bool &PlayerInGarage;
|
|
|
|
static int32 &PoliceCarsCollected;
|
|
|
|
static uint32 &GarageToBeTidied;
|
|
|
|
|
2019-05-28 06:39:36 +00:00
|
|
|
public:
|
|
|
|
static bool IsModelIndexADoor(uint32 id);
|
2019-08-16 18:17:15 +00:00
|
|
|
static void TriggerMessage(const char *text, int16, uint16 time, int16);
|
2019-05-30 19:24:47 +00:00
|
|
|
static void PrintMessages(void);
|
2019-07-27 18:28:18 +00:00
|
|
|
static bool HasCarBeenCrushed(int32);
|
2019-09-16 17:32:58 +00:00
|
|
|
static bool IsPointWithinHideOutGarage(CVector&);
|
|
|
|
static bool IsPointWithinAnyGarage(CVector&);
|
2019-10-07 21:29:30 +00:00
|
|
|
static void PlayerArrestedOrDied();
|
2019-10-18 22:23:40 +00:00
|
|
|
static void Init(void);
|
|
|
|
static void Update(void);
|
2019-10-21 21:39:59 +00:00
|
|
|
static int16 AddOne(float, float, float, float, float, float, uint8, uint32);
|
|
|
|
static void SetTargetCarForMissonGarage(int16, CVehicle*);
|
|
|
|
static bool HasCarBeenDroppedOffYet(int16);
|
2019-10-27 09:51:09 +00:00
|
|
|
static void ActivateGarage(int16);
|
|
|
|
static void DeActivateGarage(int16);
|
|
|
|
static int32 QueryCarsCollected(int16);
|
|
|
|
static bool HasThisCarBeenCollected(int16, uint8);
|
2019-12-31 23:35:54 +00:00
|
|
|
static void ChangeGarageType(int16, int8); //TODO: eGarageType
|
2019-05-28 06:39:36 +00:00
|
|
|
};
|