2019-06-01 10:02:31 +00:00
|
|
|
#pragma once
|
|
|
|
|
2020-08-19 14:10:22 +00:00
|
|
|
extern RpLight *pAmbient;
|
|
|
|
extern RpLight *pDirect;
|
|
|
|
extern RpLight *pExtraDirectionals[4];
|
|
|
|
extern int LightStrengths[4];
|
|
|
|
extern int NumExtraDirLightsInWorld;
|
|
|
|
|
2019-05-15 14:52:37 +00:00
|
|
|
void SetLightsWithTimeOfDayColour(RpWorld *);
|
2019-06-01 10:02:31 +00:00
|
|
|
RpWorld *LightsCreate(RpWorld *world);
|
|
|
|
void LightsDestroy(RpWorld *world);
|
|
|
|
void WorldReplaceNormalLightsWithScorched(RpWorld *world, float l);
|
|
|
|
void WorldReplaceScorchedLightsWithNormal(RpWorld *world);
|
|
|
|
void AddAnExtraDirectionalLight(RpWorld *world, float dirx, float diry, float dirz, float red, float green, float blue);
|
|
|
|
void RemoveExtraDirectionalLights(RpWorld *world);
|
2019-05-15 14:52:37 +00:00
|
|
|
void SetAmbientAndDirectionalColours(float f);
|
|
|
|
void SetBrightMarkerColours(float f);
|
|
|
|
void ReSetAmbientAndDirectionalColours(void);
|
|
|
|
void DeActivateDirectional(void);
|
|
|
|
void ActivateDirectional(void);
|
|
|
|
void SetAmbientColours(void);
|
|
|
|
void SetAmbientColoursForPedsCarsAndObjects(void);
|
2019-06-01 10:02:31 +00:00
|
|
|
void SetAmbientColoursToIndicateRoadGroup(int i);
|
|
|
|
void SetAmbientColours(RwRGBAReal *color);
|