summaryrefslogtreecommitdiffstats
path: root/src/control/Garages.h
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-07-12 00:07:32 +0200
committerGitHub <noreply@github.com>2021-07-12 00:07:32 +0200
commit02e84b4b978b2d17ae9a52ae95b2617902c94150 (patch)
tree6721fa10727d0fb7221e0c7131a78c56b5a47df2 /src/control/Garages.h
parentAdd PED DENSITY and CAR DENSITY lines to GXT (diff)
parentfinish COMPATIBLE_SAVES and FIX_INCOMPATIBLE_SAVES (diff)
downloadre3-02e84b4b978b2d17ae9a52ae95b2617902c94150.tar
re3-02e84b4b978b2d17ae9a52ae95b2617902c94150.tar.gz
re3-02e84b4b978b2d17ae9a52ae95b2617902c94150.tar.bz2
re3-02e84b4b978b2d17ae9a52ae95b2617902c94150.tar.lz
re3-02e84b4b978b2d17ae9a52ae95b2617902c94150.tar.xz
re3-02e84b4b978b2d17ae9a52ae95b2617902c94150.tar.zst
re3-02e84b4b978b2d17ae9a52ae95b2617902c94150.zip
Diffstat (limited to 'src/control/Garages.h')
-rw-r--r--src/control/Garages.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/control/Garages.h b/src/control/Garages.h
index 07d5f712..358d404d 100644
--- a/src/control/Garages.h
+++ b/src/control/Garages.h
@@ -63,14 +63,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;
@@ -100,7 +103,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;