From 84204471a51f4bd0a4f89619d2dbdb5b59e21be7 Mon Sep 17 00:00:00 2001 From: aap Date: Fri, 31 May 2019 11:44:43 +0200 Subject: more high level functions --- src/render/PointLights.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/render/PointLights.cpp') diff --git a/src/render/PointLights.cpp b/src/render/PointLights.cpp index 8496d8aa..34cfa658 100644 --- a/src/render/PointLights.cpp +++ b/src/render/PointLights.cpp @@ -2,4 +2,12 @@ #include "patcher.h" #include "PointLights.h" +int16 &CPointLights::NumLights = *(int16*)0x95CC3E; + WRAPPER void CPointLights::RenderFogEffect(void) { EAXJMP(0x510C30); } + +void +CPointLights::InitPerFrame(void) +{ + NumLights = 0; +} -- cgit v1.2.3