diff options
author | majestic <majesticcoding@gmail.com> | 2021-01-11 20:23:56 +0100 |
---|---|---|
committer | majestic <majesticcoding@gmail.com> | 2021-01-11 21:47:09 +0100 |
commit | 0f0812618acd6d5c87bd218bfb6f0b099135e64e (patch) | |
tree | ad7b84792f40cc2fc60dbfdd35d38be783c23934 /src/vehicles/Door.h | |
parent | Merge branch 'lcs' of https://github.com/GTAmodding/re3 into lcs (diff) | |
download | re3-0f0812618acd6d5c87bd218bfb6f0b099135e64e.tar re3-0f0812618acd6d5c87bd218bfb6f0b099135e64e.tar.gz re3-0f0812618acd6d5c87bd218bfb6f0b099135e64e.tar.bz2 re3-0f0812618acd6d5c87bd218bfb6f0b099135e64e.tar.lz re3-0f0812618acd6d5c87bd218bfb6f0b099135e64e.tar.xz re3-0f0812618acd6d5c87bd218bfb6f0b099135e64e.tar.zst re3-0f0812618acd6d5c87bd218bfb6f0b099135e64e.zip |
Diffstat (limited to 'src/vehicles/Door.h')
-rw-r--r-- | src/vehicles/Door.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/vehicles/Door.h b/src/vehicles/Door.h index 567d3263..da5a3de0 100644 --- a/src/vehicles/Door.h +++ b/src/vehicles/Door.h @@ -67,3 +67,22 @@ public: float RetTranslationWhenOpen(void); void Open(float ratio); }; + + +class CFerryDoor { +private: + float m_fClosedPosn; + float m_fOpenPosn; + int8 m_nDirn; + int8 m_nAxis; + int8 m_nDoorState; + float m_fPosn; + float m_fPrevPosn; +public: + bool IsInUse(void); + float RetTranslationWhenClosed(void); + float RetTranslationWhenOpen(void); + bool IsClosed(void); + bool IsFullyOpen(void); + void Open(float ratio); +};
\ No newline at end of file |