diff options
author | Roman Masanin <36927roma@gmail.com> | 2020-09-26 20:07:51 +0200 |
---|---|---|
committer | Roman Masanin <36927roma@gmail.com> | 2020-09-26 20:07:51 +0200 |
commit | 4c220b1f9583e2db3cdbb99fcdecd82ae4fe9e0d (patch) | |
tree | c6971ac78cab232fa6665dee01f8c014890d0114 /src/render/Fluff.h | |
parent | mark completed functions in audioManager.h (diff) | |
download | re3-4c220b1f9583e2db3cdbb99fcdecd82ae4fe9e0d.tar re3-4c220b1f9583e2db3cdbb99fcdecd82ae4fe9e0d.tar.gz re3-4c220b1f9583e2db3cdbb99fcdecd82ae4fe9e0d.tar.bz2 re3-4c220b1f9583e2db3cdbb99fcdecd82ae4fe9e0d.tar.lz re3-4c220b1f9583e2db3cdbb99fcdecd82ae4fe9e0d.tar.xz re3-4c220b1f9583e2db3cdbb99fcdecd82ae4fe9e0d.tar.zst re3-4c220b1f9583e2db3cdbb99fcdecd82ae4fe9e0d.zip |
Diffstat (limited to 'src/render/Fluff.h')
-rw-r--r-- | src/render/Fluff.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/render/Fluff.h b/src/render/Fluff.h index 5a4458a8..460c12a8 100644 --- a/src/render/Fluff.h +++ b/src/render/Fluff.h @@ -90,30 +90,33 @@ class CEscalator CVector m_pos2; CVector m_pos3; CMatrix m_matrix; + bool m_bIsActive; bool m_bIsMovingDown; int32 m_stepsCount; float m_lowerEnd; float m_upperEnd; + CVector m_midPoint; float m_radius; CObject *m_pSteps[24]; public: - bool m_bIsActive;//TODO also recheck! - CVector m_midPoint; CEscalator(); void Update(void); void SwitchOff(void); void AddThisOne(CVector pos0, CVector pos1, CVector pos2, CVector pos3, bool b_isMovingDown); + bool IsActive() { return m_bIsActive; }; + CVector GetPosition() { return m_midPoint; }; }; class CEscalators { + static CEscalator aEscalators[NUM_ESCALATORS]; public: - static CEscalator aEscalators[NUM_ESCALATORS];//TODO need recheck this! static int32 NumEscalators; static void Init(void); static void Update(void); static void AddOne(CVector pos0, CVector pos1, CVector pos2, CVector pos3, bool b_isMovingDown); static void Shutdown(void); + static CEscalator GetEscalator(int ind) { return aEscalators[ind]; }; }; class CMovingThing |