mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-05 10:55:54 +00:00
two unused functions
This commit is contained in:
parent
3289bfaa87
commit
b2f9b3175b
|
@ -3,6 +3,7 @@
|
||||||
#include <rpworld.h>
|
#include <rpworld.h>
|
||||||
|
|
||||||
#include "Lights.h"
|
#include "Lights.h"
|
||||||
|
#include "Timer.h"
|
||||||
#include "Timecycle.h"
|
#include "Timecycle.h"
|
||||||
#include "Coronas.h"
|
#include "Coronas.h"
|
||||||
#include "Weather.h"
|
#include "Weather.h"
|
||||||
|
@ -276,6 +277,46 @@ SetAmbientAndDirectionalColours(float f)
|
||||||
RpLightSetColor(pDirect, &DirectionalLightColour);
|
RpLightSetColor(pDirect, &DirectionalLightColour);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// unused
|
||||||
|
void
|
||||||
|
SetFlashyColours(float f)
|
||||||
|
{
|
||||||
|
if(CTimer::GetTimeInMilliseconds() & 0x100){
|
||||||
|
AmbientLightColour.red = 1.0f;
|
||||||
|
AmbientLightColour.green = 1.0f;
|
||||||
|
AmbientLightColour.blue = 1.0f;
|
||||||
|
|
||||||
|
DirectionalLightColour.red = DirectionalLightColourForFrame.red;
|
||||||
|
DirectionalLightColour.green = DirectionalLightColourForFrame.green;
|
||||||
|
DirectionalLightColour.blue = DirectionalLightColourForFrame.blue;
|
||||||
|
|
||||||
|
RpLightSetColor(pAmbient, &AmbientLightColour);
|
||||||
|
RpLightSetColor(pDirect, &DirectionalLightColour);
|
||||||
|
}else{
|
||||||
|
SetAmbientAndDirectionalColours(f * 0.75f);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// unused
|
||||||
|
void
|
||||||
|
SetFlashyColours_Mild(float f)
|
||||||
|
{
|
||||||
|
if(CTimer::GetTimeInMilliseconds() & 0x100){
|
||||||
|
AmbientLightColour.red = 0.65f;
|
||||||
|
AmbientLightColour.green = 0.65f;
|
||||||
|
AmbientLightColour.blue = 0.65f;
|
||||||
|
|
||||||
|
DirectionalLightColour.red = DirectionalLightColourForFrame.red;
|
||||||
|
DirectionalLightColour.green = DirectionalLightColourForFrame.green;
|
||||||
|
DirectionalLightColour.blue = DirectionalLightColourForFrame.blue;
|
||||||
|
|
||||||
|
RpLightSetColor(pAmbient, &AmbientLightColour);
|
||||||
|
RpLightSetColor(pDirect, &DirectionalLightColour);
|
||||||
|
}else{
|
||||||
|
SetAmbientAndDirectionalColours(f * 0.9f);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
SetBrightMarkerColours(float f)
|
SetBrightMarkerColours(float f)
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,6 +14,8 @@ void WorldReplaceScorchedLightsWithNormal(RpWorld *world);
|
||||||
void AddAnExtraDirectionalLight(RpWorld *world, float dirx, float diry, float dirz, float red, float green, float blue);
|
void AddAnExtraDirectionalLight(RpWorld *world, float dirx, float diry, float dirz, float red, float green, float blue);
|
||||||
void RemoveExtraDirectionalLights(RpWorld *world);
|
void RemoveExtraDirectionalLights(RpWorld *world);
|
||||||
void SetAmbientAndDirectionalColours(float f);
|
void SetAmbientAndDirectionalColours(float f);
|
||||||
|
void SetFlashyColours(float f);
|
||||||
|
void SetFlashyColours_Mild(float f);
|
||||||
void SetBrightMarkerColours(float f);
|
void SetBrightMarkerColours(float f);
|
||||||
void ReSetAmbientAndDirectionalColours(void);
|
void ReSetAmbientAndDirectionalColours(void);
|
||||||
void DeActivateDirectional(void);
|
void DeActivateDirectional(void);
|
||||||
|
|
Loading…
Reference in a new issue