summaryrefslogtreecommitdiffstats
path: root/src/control/Garages.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-23 14:14:15 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-23 14:14:15 +0100
commit904090cbb6cf7978e2e093da1ea1d7245dcb02c8 (patch)
treeb48af2798ab8faea3fcfe16d1ed8629dc025b8ab /src/control/Garages.h
parentRemove restrictions in CGame::Process (diff)
parentadded some missing functions (diff)
downloadre3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar.gz
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar.bz2
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar.lz
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar.xz
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar.zst
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.zip
Diffstat (limited to 'src/control/Garages.h')
-rw-r--r--src/control/Garages.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/control/Garages.h b/src/control/Garages.h
index 47de898f..c3542d27 100644
--- a/src/control/Garages.h
+++ b/src/control/Garages.h
@@ -1,11 +1,10 @@
#pragma once
-#include "Automobile.h"
#include "audio_enums.h"
#include "Camera.h"
#include "config.h"
+#include "Lists.h"
class CVehicle;
-class CCamera;
enum eGarageState
{
@@ -183,6 +182,10 @@ public:
void FindDoorsEntities();
void FindDoorsEntitiesSectorList(CPtrList&, bool);
void PlayerArrestedOrDied();
+ bool Does60SecondsNeedThisCarAtAll(int mi);
+ bool Does60SecondsNeedThisCar(int mi);
+ void MarkThisCarAsCollectedFor60Seconds(int mi);
+ bool IsPlayerEntirelyInsideGarage();
bool IsPointInsideGarage(CVector);
bool IsPointInsideGarage(CVector, float);
@@ -255,6 +258,7 @@ public:
static bool IsModelIndexADoor(uint32 id);
static void SetFreeBombs(bool bValue) { BombsAreFree = bValue; }
static void SetFreeResprays(bool bValue) { RespraysAreFree = bValue; }
+ static void StopCarFromBlowingUp(CAutomobile*);
static void SetMaxNumStoredCarsForGarage(int16 garage, uint8 num) { aGarages[garage].m_nMaxStoredCars = num; }
static bool IsCarSprayable(CVehicle*);