diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-19 11:44:40 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-19 11:44:40 +0200 |
commit | ff0e039599a6c347fb7dfd3366b681f04c448e5c (patch) | |
tree | cdb4a1b05fd670a260121e37a0126fe3b168249e /src/render/Occlusion.h | |
parent | Merge remote-tracking branch 'upstream/miami' into miami (diff) | |
parent | Merge pull request #562 from Xinerki/miami (diff) | |
download | re3-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.h | 19 |
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); }; |