- add cvar 'cl_disableinvertedcolormap' - changes the invulnerability… (#972)
* - add cvar 'cl_disableinvertedcolormap' - changes the invulnerability sphere to instead be a regular desaturated colormap that transitions from deep blue to pale yellow * - add menu option for cl_disableinvertedcolormap * - added customization for invulnerability colormap * - fixed custom colormap being calculated incorrectly * - disable custom invulnerability map before the main game loop
This commit is contained in:
parent
20d3752fdd
commit
a3741abbf3
4 changed files with 45 additions and 2 deletions
|
|
@ -106,6 +106,7 @@
|
|||
|
||||
EXTERN_CVAR(Bool, hud_althud)
|
||||
EXTERN_CVAR(Int, vr_mode)
|
||||
EXTERN_CVAR(Bool, cl_customizeinvulmap)
|
||||
void DrawHUD();
|
||||
void D_DoAnonStats();
|
||||
void I_DetectOS();
|
||||
|
|
@ -2752,6 +2753,10 @@ static int D_DoomMain_Internal (void)
|
|||
C_RunDelayedCommands();
|
||||
gamestate = GS_STARTUP;
|
||||
|
||||
// enable custom invulnerability map here
|
||||
if (cl_customizeinvulmap)
|
||||
R_InitColormaps(true);
|
||||
|
||||
if (!restart)
|
||||
{
|
||||
// start the apropriate game based on parms
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue