- 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:
parent
56986ba843
commit
72da1fed7e
12 changed files with 74 additions and 60 deletions
|
|
@ -57,10 +57,8 @@
|
|||
static bool R_CheckForFixedLights(const uint8_t *colormaps);
|
||||
|
||||
|
||||
extern "C" {
|
||||
FDynamicColormap NormalLight;
|
||||
FDynamicColormap FullNormalLight; //[SP] Emulate GZDoom brightness
|
||||
}
|
||||
bool NormalLightHasFixedLights;
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue