summaryrefslogtreecommitdiffstats
path: root/src/render/Fluff.h
diff options
context:
space:
mode:
authormajestic <majesticcoding@gmail.com>2020-10-21 00:49:29 +0200
committermajestic <majesticcoding@gmail.com>2020-10-21 00:49:29 +0200
commitb36759b58657d1264350a039c33dbf7de3f90147 (patch)
tree6f722ccb33c5aee5fd317752012826b90593f490 /src/render/Fluff.h
parentMerge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff)
downloadre3-b36759b58657d1264350a039c33dbf7de3f90147.tar
re3-b36759b58657d1264350a039c33dbf7de3f90147.tar.gz
re3-b36759b58657d1264350a039c33dbf7de3f90147.tar.bz2
re3-b36759b58657d1264350a039c33dbf7de3f90147.tar.lz
re3-b36759b58657d1264350a039c33dbf7de3f90147.tar.xz
re3-b36759b58657d1264350a039c33dbf7de3f90147.tar.zst
re3-b36759b58657d1264350a039c33dbf7de3f90147.zip
Diffstat (limited to '')
-rw-r--r--src/render/Fluff.h50
1 files changed, 4 insertions, 46 deletions
diff --git a/src/render/Fluff.h b/src/render/Fluff.h
index f61da350..01ad7b38 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(int16 nType, CEntity *pEnt);
};
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();
};