summaryrefslogtreecommitdiffstats
path: root/src/render/Occlusion.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-19 11:44:40 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-19 11:44:40 +0200
commitff0e039599a6c347fb7dfd3366b681f04c448e5c (patch)
treecdb4a1b05fd670a260121e37a0126fe3b168249e /src/render/Occlusion.h
parentMerge remote-tracking branch 'upstream/miami' into miami (diff)
parentMerge pull request #562 from Xinerki/miami (diff)
downloadre3-ff0e039599a6c347fb7dfd3366b681f04c448e5c.tar
re3-ff0e039599a6c347fb7dfd3366b681f04c448e5c.tar.gz
re3-ff0e039599a6c347fb7dfd3366b681f04c448e5c.tar.bz2
re3-ff0e039599a6c347fb7dfd3366b681f04c448e5c.tar.lz
re3-ff0e039599a6c347fb7dfd3366b681f04c448e5c.tar.xz
re3-ff0e039599a6c347fb7dfd3366b681f04c448e5c.tar.zst
re3-ff0e039599a6c347fb7dfd3366b681f04c448e5c.zip
Diffstat (limited to 'src/render/Occlusion.h')
-rw-r--r--src/render/Occlusion.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/render/Occlusion.h b/src/render/Occlusion.h
index 977649b8..ac0ede5e 100644
--- a/src/render/Occlusion.h
+++ b/src/render/Occlusion.h
@@ -1,7 +1,26 @@
#pragma once
+class COccluder
+{
+public:
+ int16 width, length, height;
+ int16 x, y, z;
+ uint16 angle;
+ int16 listIndex;
+};
+
class COcclusion
{
public:
+ static int32 NumOccludersOnMap;
+ static int16 FarAwayList;
+ static int16 NearbyList;
+ static int16 ListWalkThroughFA;
+ static int16 PreviousListWalkThroughFA;
+
+ static COccluder aOccluders[NUMOCCLUSIONVOLUMES];
+
+ static void Init(void);
+ static void AddOne(float x, float y, float z, float width, float length, float height, float angle);
static void ProcessBeforeRendering(void);
};