summaryrefslogtreecommitdiffstats
path: root/src/control/Garages.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-26 00:23:55 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-26 00:23:55 +0100
commitd7bd0be53eed87b5c86de99888ffce0fece393c5 (patch)
tree251cc5c5ef483dfe095090d059319d958dfe2481 /src/control/Garages.h
parentMerge branch 'lcs' into lcs-dev (diff)
downloadre3-d7bd0be53eed87b5c86de99888ffce0fece393c5.tar
re3-d7bd0be53eed87b5c86de99888ffce0fece393c5.tar.gz
re3-d7bd0be53eed87b5c86de99888ffce0fece393c5.tar.bz2
re3-d7bd0be53eed87b5c86de99888ffce0fece393c5.tar.lz
re3-d7bd0be53eed87b5c86de99888ffce0fece393c5.tar.xz
re3-d7bd0be53eed87b5c86de99888ffce0fece393c5.tar.zst
re3-d7bd0be53eed87b5c86de99888ffce0fece393c5.zip
Diffstat (limited to '')
-rw-r--r--src/control/Garages.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/control/Garages.h b/src/control/Garages.h
index c3542d27..83e040c5 100644
--- a/src/control/Garages.h
+++ b/src/control/Garages.h
@@ -15,6 +15,7 @@ enum eGarageState
GS_OPENEDCONTAINSCAR,
GS_CLOSEDCONTAINSCAR,
GS_AFTERDROPOFF,
+ GS_WAITINGFORCAR
};
enum eGarageType
@@ -121,6 +122,7 @@ public:
float m_fSupX;
float m_fInfY;
float m_fSupY;
+ uint32 m_nTimeCrusherCraneActivated;
float m_fDoorPos;
float m_fDoorHeight;
float m_fDoor1X;
@@ -133,6 +135,11 @@ public:
uint8 m_bCollectedCarsState;
CVehicle *m_pTarget;
CStoredCar m_sStoredCar; // not needed
+ bool m_bInitialized;
+ uint32 field_F0;
+ bool m_bLocked;
+ uint32 field_F8;
+ uint32 field_FC;
void OpenThisGarage();
void CloseThisGarage();
@@ -219,6 +226,7 @@ public:
static CGarage aGarages[NUM_GARAGES];
static CStoredCar aCarsInSafeHouses[TOTAL_HIDEOUT_GARAGES][NUM_GARAGE_STORED_CARS];
static bool bCamShouldBeOutisde;
+ static uint8 CrusherRewardMultiplier;
static void Init(void);
#ifndef PS2
@@ -297,6 +305,8 @@ public:
}
static bool IsThisGarageTypeSafehouse(uint8 type) { return FindSafeHouseIndexForGarageType(type) >= 0; }
- static void SetupAnyGaragesForThisIsland(void) {} // TODO(LCS)
+ static bool InitDoorGubbins(uint32, uint8);
+ static void SetupAnyGaragesForThisIsland(void);
+ static void LockGarage(int16, bool);
};