cvar_t vid_brightness = {"vid_brightness", "1", true};
cvar_t vid_contrast = {"vid_contrast", "1", true};
-void Palette_Setup8to24()
+void Palette_Setup8to24(void)
{
byte *in, *out;
unsigned short i;
}
/*
-void Palette_Setup15to8()
+void Palette_Setup15to8(void)
{
byte *pal;
unsigned r,g,b;
}
}
-void Texture_Gamma ()
+void Texture_Gamma (void)
{
int i, adjusted;
double invgamma;
Con_Printf("Hardware gamma not supported.\n");
}
-void Gamma_Init()
+void Gamma_Init(void)
{
Cvar_RegisterVariable(&vid_gamma);
Cvar_RegisterVariable(&vid_brightness);
Cvar_RegisterVariable(&vid_contrast);
}
-void Palette_Init()
+void Palette_Init(void)
{
byte *pal;
pal = (byte *)COM_LoadMallocFile ("gfx/palette.lmp", false);