diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-11 00:00:41 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-11 00:00:41 +0200 |
commit | 2f979a8cde8d230b9a125379cbc8f9b5b5036ad9 (patch) | |
tree | 21de7d40579f4f97cc1b708df267b939a44bba87 /src/control/Garages.h | |
parent | force load weapons as long as we dont stream em yet (diff) | |
download | re3-2f979a8cde8d230b9a125379cbc8f9b5b5036ad9.tar re3-2f979a8cde8d230b9a125379cbc8f9b5b5036ad9.tar.gz re3-2f979a8cde8d230b9a125379cbc8f9b5b5036ad9.tar.bz2 re3-2f979a8cde8d230b9a125379cbc8f9b5b5036ad9.tar.lz re3-2f979a8cde8d230b9a125379cbc8f9b5b5036ad9.tar.xz re3-2f979a8cde8d230b9a125379cbc8f9b5b5036ad9.tar.zst re3-2f979a8cde8d230b9a125379cbc8f9b5b5036ad9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Garages.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/control/Garages.h b/src/control/Garages.h index c54c41df..3e66dc32 100644 --- a/src/control/Garages.h +++ b/src/control/Garages.h @@ -94,6 +94,7 @@ class CGarage { eGarageType m_eGarageType; eGarageState m_eGarageState; + uint8 m_nMaxStoredCars; bool field_2; // unused bool m_bClosingWithoutTargetCar; bool m_bDeactivated; @@ -108,12 +109,16 @@ class CGarage bool m_bRecreateDoorOnNextRefresh; bool m_bRotatedDoor; bool m_bCameraFollowsPlayer; - float m_fX1; - float m_fX2; - float m_fY1; - float m_fY2; - float m_fZ1; - float m_fZ2; + CVector m_vecCorner1; + CVector2D m_vDir1; + CVector2D m_vDir2; + float m_fSupZ; + float m_fDir1Len; + float m_fDir2Len; + float m_fInfX; + float m_fSupX; + float m_fInfY; + float m_fSupY; float m_fDoorPos; float m_fDoorHeight; float m_fDoor1X; @@ -183,8 +188,6 @@ class CGarage friend class CCamera; }; -static_assert(sizeof(CGarage) == 140, "CGarage"); - class CGarages { enum { |