diff options
author | Roman Masanin <36927roma@gmail.com> | 2020-10-24 21:26:56 +0200 |
---|---|---|
committer | Roman Masanin <36927roma@gmail.com> | 2020-10-24 21:26:56 +0200 |
commit | a12789c632897c2f1339f806158e84c565bd8580 (patch) | |
tree | f7eb31c812c3c194eeee0c8defe440e675eae567 /src/render/Fluff.h | |
parent | mark reflections done (diff) | |
parent | Model indices edits (diff) | |
download | re3-a12789c632897c2f1339f806158e84c565bd8580.tar re3-a12789c632897c2f1339f806158e84c565bd8580.tar.gz re3-a12789c632897c2f1339f806158e84c565bd8580.tar.bz2 re3-a12789c632897c2f1339f806158e84c565bd8580.tar.lz re3-a12789c632897c2f1339f806158e84c565bd8580.tar.xz re3-a12789c632897c2f1339f806158e84c565bd8580.tar.zst re3-a12789c632897c2f1339f806158e84c565bd8580.zip |
Diffstat (limited to 'src/render/Fluff.h')
-rw-r--r-- | src/render/Fluff.h | 50 |
1 files changed, 4 insertions, 46 deletions
diff --git a/src/render/Fluff.h b/src/render/Fluff.h index f61da350..98fb9f92 100644 --- a/src/render/Fluff.h +++ b/src/render/Fluff.h @@ -135,7 +135,7 @@ public: int16 SizeList(); }; -#define NUMMOVINGTHINGS 128 +#define NUMMOVINGTHINGS 48 class CMovingThings { @@ -149,6 +149,8 @@ public: static void Shutdown(); static void Update(); static void Render(); + static void PossiblyAddThisEntity(CEntity *pEnt); + static void RegisterOne(CEntity *pEnt, uint16 nType); }; class CScrollBar @@ -176,51 +178,7 @@ public: void SetVisibility(bool visible) { m_bVisible = visible; } bool IsVisible() { return m_bVisible; } - void Init(CVector, uint8, float, float, float, uint8, uint8, uint8, float); - void Update(); - void Render(); -}; - -class CTowerClock -{ -private: - CVector m_Position; - CVector m_Size; - float m_fDrawDistance; - float m_fScale; - uint8 m_uRed; - uint8 m_uGreen; - uint8 m_uBlue; - bool m_bVisible; - float m_fIntensity; - -public: - void SetVisibility(bool visible) { m_bVisible = visible; } - bool IsVisible() { return m_bVisible; } - - void Init(CVector, float, float, uint8, uint8, uint8, float, float); - void Update(); - void Render(); -}; - -class CDigitalClock -{ -private: - CVector m_Position; - CVector m_Size; - float m_fDrawDistance; - float m_fScale; - uint8 m_uRed; - uint8 m_uGreen; - uint8 m_uBlue; - bool m_bVisible; - float m_fIntensity; - -public: - void SetVisibility(bool visible) { m_bVisible = visible; } - bool IsVisible() { return m_bVisible; } - - void Init(CVector, float, float, uint8, uint8, uint8, float, float); + void Init(CVector pos1, CVector pos2, uint8 type, uint8 red, uint8 green, uint8 blue, float scale); void Update(); void Render(); }; |