summaryrefslogtreecommitdiffstats
path: root/src/render/Fluff.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-01-20 22:07:47 +0100
committerGitHub <noreply@github.com>2020-01-20 22:07:47 +0100
commitc6894b15be057bf294a8d642052ba627c1c79c36 (patch)
tree739e2dafe2617481334ba7f28a94b1733e19cc1a /src/render/Fluff.h
parentPowerPoints (diff)
parentMLO, XtraCompsModelInfo, MovingThing, Solid (diff)
downloadre3-c6894b15be057bf294a8d642052ba627c1c79c36.tar
re3-c6894b15be057bf294a8d642052ba627c1c79c36.tar.gz
re3-c6894b15be057bf294a8d642052ba627c1c79c36.tar.bz2
re3-c6894b15be057bf294a8d642052ba627c1c79c36.tar.lz
re3-c6894b15be057bf294a8d642052ba627c1c79c36.tar.xz
re3-c6894b15be057bf294a8d642052ba627c1c79c36.tar.zst
re3-c6894b15be057bf294a8d642052ba627c1c79c36.zip
Diffstat (limited to '')
-rw-r--r--src/render/Fluff.h31
1 files changed, 23 insertions, 8 deletions
diff --git a/src/render/Fluff.h b/src/render/Fluff.h
index b189b9a2..7ab2d81d 100644
--- a/src/render/Fluff.h
+++ b/src/render/Fluff.h
@@ -2,23 +2,38 @@
#include "common.h"
#include "Vector.h"
+class CMovingThing
+{
+public:
+ CMovingThing *m_pNext;
+ CMovingThing *m_pPrev;
+ int16 m_nType;
+ int16 field_A;
+ CVector m_vecPosn;
+ CEntity* m_pEntity;
+
+ void Update();
+ void AddToList(CMovingThing *pThing);
+ void RemoveFromList();
+ int16 SizeList();
+};
+
+#define NUMMOVINGTHINGS 128
+
class CMovingThings
{
public:
+ static CMovingThing StartCloseList;
+ static CMovingThing EndCloseList;
+ static int16 Num;
+ static CMovingThing aMovingThings[NUMMOVINGTHINGS];
+
static void Init();
static void Shutdown();
static void Update();
static void Render();
};
-class CMovingThing
-{
-public:
- void Update();
- void AddToList();
- void RemoveFromList();
-};
-
class CScrollBar
{
private: