- Fully Implemented GZDoom fullbright emulation
This commit is contained in:
parent
1cd27ca98a
commit
b327a3312e
6 changed files with 32 additions and 13 deletions
|
|
@ -59,6 +59,7 @@ static bool R_CheckForFixedLights(const BYTE *colormaps);
|
|||
|
||||
extern "C" {
|
||||
FDynamicColormap NormalLight;
|
||||
FDynamicColormap FullNormalLight; //[SP] Emulate GZDoom brightness
|
||||
}
|
||||
bool NormalLightHasFixedLights;
|
||||
|
||||
|
|
@ -547,6 +548,9 @@ void R_InitColormaps ()
|
|||
NormalLight.Color = PalEntry (255, 255, 255);
|
||||
NormalLight.Fade = 0;
|
||||
NormalLight.Maps = realcolormaps.Maps;
|
||||
FullNormalLight.Color = PalEntry (255, 255, 255);
|
||||
FullNormalLight.Fade = 0;
|
||||
FullNormalLight.Maps = realcolormaps.Maps;
|
||||
NormalLightHasFixedLights = R_CheckForFixedLights(realcolormaps.Maps);
|
||||
numfakecmaps = fakecmaps.Size();
|
||||
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@ extern BYTE DesaturateColormap[31][256];
|
|||
extern "C"
|
||||
{
|
||||
extern FDynamicColormap NormalLight;
|
||||
extern FDynamicColormap FullNormalLight;
|
||||
}
|
||||
extern bool NormalLightHasFixedLights;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue