- removed many 'extern "C"' declarations, now that assembly is no longer a concern.

- some concepts about building a RenderViewpoint struct. No actual work yet.
This commit is contained in:
Christoph Oelckers 2017-03-11 11:31:09 +01:00
commit 72da1fed7e
12 changed files with 74 additions and 60 deletions

View file

@ -57,10 +57,8 @@
static bool R_CheckForFixedLights(const uint8_t *colormaps);
extern "C" {
FDynamicColormap NormalLight;
FDynamicColormap FullNormalLight; //[SP] Emulate GZDoom brightness
}
bool NormalLightHasFixedLights;

View file

@ -77,11 +77,8 @@ int AddSpecialColormap(float r1, float g1, float b1, float r2, float g2, float b
extern uint8_t DesaturateColormap[31][256];
extern "C"
{
extern FDynamicColormap NormalLight;
extern FDynamicColormap FullNormalLight;
}
extern bool NormalLightHasFixedLights;
FDynamicColormap *GetSpecialLights (PalEntry lightcolor, PalEntry fadecolor, int desaturate);