rw stuff done & other small things

This commit is contained in:
aap
2020-08-20 12:53:17 +02:00
parent 30dadcfb22
commit 764af8735c
15 changed files with 99 additions and 68 deletions

View File

@@ -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)
{