summaryrefslogtreecommitdiffstats
path: root/src/render/Fluff.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-07-18 04:28:06 +0200
committereray orçunus <erayorcunus@gmail.com>2019-07-18 04:28:06 +0200
commit993944c05c9f204a2caf61b973d68b7f7a1c56ab (patch)
tree998813788845b3a334f2f04612136b390a1e872c /src/render/Fluff.h
parentThe Peds, mainly dying/injuring (diff)
parentmore CAutomobile::ProcessControl (diff)
downloadre3-993944c05c9f204a2caf61b973d68b7f7a1c56ab.tar
re3-993944c05c9f204a2caf61b973d68b7f7a1c56ab.tar.gz
re3-993944c05c9f204a2caf61b973d68b7f7a1c56ab.tar.bz2
re3-993944c05c9f204a2caf61b973d68b7f7a1c56ab.tar.lz
re3-993944c05c9f204a2caf61b973d68b7f7a1c56ab.tar.xz
re3-993944c05c9f204a2caf61b973d68b7f7a1c56ab.tar.zst
re3-993944c05c9f204a2caf61b973d68b7f7a1c56ab.zip
Diffstat (limited to 'src/render/Fluff.h')
-rw-r--r--src/render/Fluff.h86
1 files changed, 85 insertions, 1 deletions
diff --git a/src/render/Fluff.h b/src/render/Fluff.h
index 33532efa..f33b016e 100644
--- a/src/render/Fluff.h
+++ b/src/render/Fluff.h
@@ -1,7 +1,91 @@
#pragma once
+#include "common.h"
+#include "math/Vector.h"
class CMovingThings
{
public:
- static void Render(void);
+ static void Init();
+ static void Shutdown();
+ static void Update();
+ static void Render();
};
+
+class CMovingThing
+{
+public:
+ void Update();
+ void AddToList();
+ void RemoveFromList();
+};
+
+class CScrollBar
+{
+private:
+ uint8 m_Counter;
+ const char* m_pMessage;
+ CVector m_Position;
+ uint32 m_MessageCurrentChar;
+ uint32 m_MessageLength;
+ CVector m_Size;
+ float m_fIntensity;
+ uint8 m_MessageBar[40];
+ uint8 m_Type;
+ bool m_bVisible;
+ uint8 m_uRed;
+ uint8 m_uGreen;
+ uint8 m_uBlue;
+ float m_fScale;
+
+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 Update();
+ void Render();
+}; \ No newline at end of file