diff options
author | aap <aap@papnet.eu> | 2020-08-20 12:53:17 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-08-20 12:53:17 +0200 |
commit | 764af8735c00a7f40a51f605fed3c73ce6413337 (patch) | |
tree | 3009c3e5da4a39e7e64446e654ee3689b8e91632 /src/rw/Lights.cpp | |
parent | 30dadcfb22d49d6f8059b214071f28c6e6a399b2 (diff) |
rw stuff done & other small things
Diffstat (limited to 'src/rw/Lights.cpp')
-rw-r--r-- | src/rw/Lights.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/rw/Lights.cpp b/src/rw/Lights.cpp index c5038232..3657e2c7 100644 --- a/src/rw/Lights.cpp +++ b/src/rw/Lights.cpp @@ -10,6 +10,8 @@ #include "Frontend.h" #include "MBlur.h" +//--MIAMI: done + RpLight *pAmbient; RpLight *pDirect; RpLight *pExtraDirectionals[4] = { nil }; @@ -30,7 +32,6 @@ RwRGBAReal DirectionalLightColour; #define USEBLURCOLORS CMBlur::BlurOn #endif -//--MIAMI: done void SetLightsWithTimeOfDayColour(RpWorld *) { @@ -309,6 +310,14 @@ ActivateDirectional(void) RpLightSetFlags(pDirect, rpLIGHTLIGHTATOMICS); } +RwRGBAReal FullLight = { 1.0f, 1.0f, 1.0f, 1.0f }; + +void +SetFullAmbient(void) +{ + RpLightSetColor(pAmbient, &FullLight); +} + void SetAmbientColours(void) { |