summaryrefslogtreecommitdiffstats
path: root/src/rw/Lights.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-16 10:50:45 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-16 10:50:45 +0200
commitb1fc7bc533dc7d603daafbf8a158a92f710c1e60 (patch)
tree20ec3f4fd1aeaba1ab41078cfb49a248d9421885 /src/rw/Lights.cpp
parentfirst fake RW implementation working (diff)
downloadre3-b1fc7bc533dc7d603daafbf8a158a92f710c1e60.tar
re3-b1fc7bc533dc7d603daafbf8a158a92f710c1e60.tar.gz
re3-b1fc7bc533dc7d603daafbf8a158a92f710c1e60.tar.bz2
re3-b1fc7bc533dc7d603daafbf8a158a92f710c1e60.tar.lz
re3-b1fc7bc533dc7d603daafbf8a158a92f710c1e60.tar.xz
re3-b1fc7bc533dc7d603daafbf8a158a92f710c1e60.tar.zst
re3-b1fc7bc533dc7d603daafbf8a158a92f710c1e60.zip
Diffstat (limited to '')
-rw-r--r--src/rw/Lights.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/rw/Lights.cpp b/src/rw/Lights.cpp
index cd83a898..9218a055 100644
--- a/src/rw/Lights.cpp
+++ b/src/rw/Lights.cpp
@@ -9,18 +9,18 @@
#include "ZoneCull.h"
#include "Frontend.h"
-RpLight *&pAmbient = *(RpLight**)0x885B6C;
-RpLight *&pDirect = *(RpLight**)0x880F7C;
-RpLight **pExtraDirectionals = (RpLight**)0x60009C;
-int *LightStrengths = (int*)0x87BEF0;
-int &NumExtraDirLightsInWorld = *(int*)0x64C608;
-
-RwRGBAReal &AmbientLightColourForFrame = *(RwRGBAReal*)0x6F46F8;
-RwRGBAReal &AmbientLightColourForFrame_PedsCarsAndObjects = *(RwRGBAReal*)0x6F1D10;
-RwRGBAReal &DirectionalLightColourForFrame = *(RwRGBAReal*)0x87C6B8;
-
-RwRGBAReal &AmbientLightColour = *(RwRGBAReal*)0x86B0F8;
-RwRGBAReal &DirectionalLightColour = *(RwRGBAReal*)0x72E308;
+RpLight *pAmbient;// = *(RpLight**)0x885B6C;
+RpLight *pDirect;// = *(RpLight**)0x880F7C;
+RpLight *pExtraDirectionals[] = { nil, nil, nil, nil };// = (RpLight**)0x60009C;
+int LightStrengths[4];// = (int*)0x87BEF0;
+int NumExtraDirLightsInWorld;// = *(int*)0x64C608;
+
+RwRGBAReal AmbientLightColourForFrame;// = *(RwRGBAReal*)0x6F46F8;
+RwRGBAReal AmbientLightColourForFrame_PedsCarsAndObjects;// = *(RwRGBAReal*)0x6F1D10;
+RwRGBAReal DirectionalLightColourForFrame;// = *(RwRGBAReal*)0x87C6B8;
+
+RwRGBAReal AmbientLightColour;// = *(RwRGBAReal*)0x86B0F8;
+RwRGBAReal DirectionalLightColour;// = *(RwRGBAReal*)0x72E308;
void
SetLightsWithTimeOfDayColour(RpWorld *)