summaryrefslogtreecommitdiffstats
path: root/src/render/Fluff.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-01-20 21:41:41 +0100
committerSergeanur <s.anureev@yandex.ua>2020-01-20 21:58:13 +0100
commita9f39d828426df60876f00a5d2164eb50879b5c9 (patch)
tree739e2dafe2617481334ba7f28a94b1733e19cc1a /src/render/Fluff.h
parentPowerPoints (diff)
downloadre3-a9f39d828426df60876f00a5d2164eb50879b5c9.tar
re3-a9f39d828426df60876f00a5d2164eb50879b5c9.tar.gz
re3-a9f39d828426df60876f00a5d2164eb50879b5c9.tar.bz2
re3-a9f39d828426df60876f00a5d2164eb50879b5c9.tar.lz
re3-a9f39d828426df60876f00a5d2164eb50879b5c9.tar.xz
re3-a9f39d828426df60876f00a5d2164eb50879b5c9.tar.zst
re3-a9f39d828426df60876f00a5d2164eb50879b5c9.zip
Diffstat (limited to 'src/render/Fluff.h')
-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: