diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-07-12 00:06:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-12 00:06:59 +0200 |
commit | a8fd3f828ab8ce67cf7df736af28fb6c61f0f1fa (patch) | |
tree | 818b14e6e04d75a7f288eca6c66272a7fa0c4508 /src/control/Garages.h | |
parent | Unite all sliders (diff) | |
parent | finish COMPATIBLE_SAVES and FIX_INCOMPATIBLE_SAVES (diff) | |
download | re3-a8fd3f828ab8ce67cf7df736af28fb6c61f0f1fa.tar re3-a8fd3f828ab8ce67cf7df736af28fb6c61f0f1fa.tar.gz re3-a8fd3f828ab8ce67cf7df736af28fb6c61f0f1fa.tar.bz2 re3-a8fd3f828ab8ce67cf7df736af28fb6c61f0f1fa.tar.lz re3-a8fd3f828ab8ce67cf7df736af28fb6c61f0f1fa.tar.xz re3-a8fd3f828ab8ce67cf7df736af28fb6c61f0f1fa.tar.zst re3-a8fd3f828ab8ce67cf7df736af28fb6c61f0f1fa.zip |
Diffstat (limited to 'src/control/Garages.h')
-rw-r--r-- | src/control/Garages.h | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/src/control/Garages.h b/src/control/Garages.h index a7dfa462..8a9fd1b6 100644 --- a/src/control/Garages.h +++ b/src/control/Garages.h @@ -51,14 +51,17 @@ enum class CStoredCar { + enum { + FLAG_BULLETPROOF = 0x1, + FLAG_FIREPROOF = 0x2, + FLAG_EXPLOSIONPROOF = 0x4, + FLAG_COLLISIONPROOF = 0x8, + FLAG_MELEEPROOF = 0x10, + }; int32 m_nModelIndex; CVector m_vecPos; CVector m_vecAngle; - int32 m_bBulletproof : 1; - int32 m_bFireproof : 1; - int32 m_bExplosionproof : 1; - int32 m_bCollisionproof : 1; - int32 m_bMeleeproof : 1; + int32 m_nFlags; int8 m_nPrimaryColor; int8 m_nSecondaryColor; int8 m_nRadioStation; @@ -78,6 +81,13 @@ VALIDATE_SIZE(CStoredCar, 0x28); #define SWITCH_GARAGE_DISTANCE_CLOSE 40.0f +#define CRUSHER_GARAGE_X1 (1135.5f) +#define CRUSHER_GARAGE_Y1 (57.0f) +#define CRUSHER_GARAGE_Z1 (-1.0f) +#define CRUSHER_GARAGE_X2 (1149.5f) +#define CRUSHER_GARAGE_Y2 (63.7f) +#define CRUSHER_GARAGE_Z2 (3.5f) + class CGarage { public: @@ -87,7 +97,7 @@ public: bool m_bClosingWithoutTargetCar; bool m_bDeactivated; bool m_bResprayHappened; - int m_nTargetModelIndex; + int32 m_nTargetModelIndex; CEntity *m_pDoor1; CEntity *m_pDoor2; uint8 m_bDoor1PoolIndex; |