From 3e549a7d4484340d8d71500a7e61f81f403f48cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?eray=20or=C3=A7unus?= Date: Sat, 29 Aug 2020 19:22:25 +0300 Subject: CGame done, Peds, fixes --- src/render/Occlusion.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/render/Occlusion.h') 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 -- cgit v1.2.3