summaryrefslogtreecommitdiffstats
path: root/src/control/Garages.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-27 23:07:40 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-30 18:23:30 +0100
commitc3c2a4269d5562ca6059eb87fbfc5b59d22894ca (patch)
tree53178ee2d7b30b1d73c478b0a4fb7f2b2431b73c /src/control/Garages.h
parentMerge branch 'lcs' into lcs-dev (diff)
downloadre3-c3c2a4269d5562ca6059eb87fbfc5b59d22894ca.tar
re3-c3c2a4269d5562ca6059eb87fbfc5b59d22894ca.tar.gz
re3-c3c2a4269d5562ca6059eb87fbfc5b59d22894ca.tar.bz2
re3-c3c2a4269d5562ca6059eb87fbfc5b59d22894ca.tar.lz
re3-c3c2a4269d5562ca6059eb87fbfc5b59d22894ca.tar.xz
re3-c3c2a4269d5562ca6059eb87fbfc5b59d22894ca.tar.zst
re3-c3c2a4269d5562ca6059eb87fbfc5b59d22894ca.zip
Diffstat (limited to '')
-rw-r--r--src/control/Garages.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/control/Garages.h b/src/control/Garages.h
index 99426040..5235275e 100644
--- a/src/control/Garages.h
+++ b/src/control/Garages.h
@@ -6,6 +6,8 @@
class CVehicle;
+#define GTA_NETWORK
+
enum eGarageState
{
GS_FULLYCLOSED,
@@ -123,6 +125,7 @@ public:
float m_fInfY;
float m_fSupY;
uint32 m_nTimeCrusherCraneActivated;
+ CVehicle* m_pSSTargetCar;
float m_fDoorPos;
float m_fDoorHeight;
float m_fDoor1X;
@@ -135,7 +138,15 @@ public:
uint8 m_bCollectedCarsState;
CVehicle *m_pTarget;
CStoredCar m_sStoredCar; // not needed
+#ifdef GTA_NETWORK
+ void* m_pSSVehicle; // some multiplayer vehicle structure, +104 == GetVehiclePointer
+ bool m_bSSGarageAcceptedVehicle;
+#endif
bool m_bInitialized;
+#ifdef GTA_NETWORK
+ uint8 m_nSSGarageState;
+ bool m_bSSGarageStateChanging;
+#endif
uint32 field_F0;
bool m_bLocked;
uint32 field_F8;