summaryrefslogtreecommitdiffstats
path: root/src/render/Occlusion.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-08-30 23:07:38 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-08-30 23:07:38 +0200
commit4ffca8954fb8b95142de7d32821f4b2dae79a553 (patch)
tree55f8b82c25d60628ae1361c6c87519f2f4023a1c /src/render/Occlusion.h
parentscript inaccuracy (diff)
parentMerge pull request #697 from erorcun/miami (diff)
downloadre3-4ffca8954fb8b95142de7d32821f4b2dae79a553.tar
re3-4ffca8954fb8b95142de7d32821f4b2dae79a553.tar.gz
re3-4ffca8954fb8b95142de7d32821f4b2dae79a553.tar.bz2
re3-4ffca8954fb8b95142de7d32821f4b2dae79a553.tar.lz
re3-4ffca8954fb8b95142de7d32821f4b2dae79a553.tar.xz
re3-4ffca8954fb8b95142de7d32821f4b2dae79a553.tar.zst
re3-4ffca8954fb8b95142de7d32821f4b2dae79a553.zip
Diffstat (limited to 'src/render/Occlusion.h')
-rw-r--r--src/render/Occlusion.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/Occlusion.h b/src/render/Occlusion.h
index 9a415f88..8a444525 100644
--- a/src/render/Occlusion.h
+++ b/src/render/Occlusion.h
@@ -49,10 +49,14 @@ public:
static bool OccluderHidesBehind(CActiveOccluder *occl1, CActiveOccluder *occl2);
static bool IsAABoxOccluded(CVector pos, float width, float length, float height);
static bool IsPositionOccluded(CVector pos, float side);
+#ifndef MASTER
static void Render();
+#endif
};
bool CalcScreenCoors(CVector const &in, CVector *out, float *outw, float *outh);
bool CalcScreenCoors(CVector const &in, CVector *out);
+#ifndef MASTER
extern bool bDisplayOccDebugStuff;
+#endif \ No newline at end of file