mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
Merge branch 'master' of https://github.com/rheit/zdoom
This commit is contained in:
commit
c6f7848a09
3 changed files with 7 additions and 1 deletions
|
@ -119,6 +119,7 @@ CUSTOM_CVAR(Int, am_showmaplabel, 2, CVAR_ARCHIVE)
|
|||
}
|
||||
|
||||
CVAR (Bool, idmypos, false, 0);
|
||||
CVAR(Float, underwater_fade_scalar, 1.0f, CVAR_ARCHIVE) // [Nash] user-settable underwater blend intensity
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
|
@ -1544,7 +1545,10 @@ void DBaseStatusBar::DrawPowerups ()
|
|||
|
||||
void DBaseStatusBar::BlendView (float blend[4])
|
||||
{
|
||||
V_AddBlend (BaseBlendR / 255.f, BaseBlendG / 255.f, BaseBlendB / 255.f, BaseBlendA, blend);
|
||||
// [Nash] Allow user to set blend intensity
|
||||
float cnt = (BaseBlendA * underwater_fade_scalar);
|
||||
|
||||
V_AddBlend (BaseBlendR / 255.f, BaseBlendG / 255.f, BaseBlendB / 255.f, cnt, blend);
|
||||
V_AddPlayerBlend(CPlayer, blend, 1.0f, 228);
|
||||
|
||||
if (screen->Accel2D || (CPlayer->camera != NULL && menuactive == MENU_Off && ConsoleState == c_up))
|
||||
|
|
|
@ -1785,6 +1785,7 @@ DSPLYMNU_WIPETYPE = "Screen wipe style";
|
|||
DSPLYMNU_SHOWENDOOM = "Show ENDOOM screen";
|
||||
DSPLYMNU_BLOODFADE = "Blood Flash Intensity";
|
||||
DSPLYMNU_PICKUPFADE = "Pickup Flash Intensity";
|
||||
DSPLYMNU_WATERFADE = "Underwater Blend Intensity";
|
||||
DSPLYMNU_PALLETEHACK = "DirectDraw palette hack"; // Not used
|
||||
DSPLYMNU_ATTACHEDSURFACES = "Use attached surfaces"; // Not used
|
||||
DSPLYMNU_SKYMODE = "Sky render mode";
|
||||
|
|
|
@ -696,6 +696,7 @@ OptionMenu "VideoOptions"
|
|||
Option "$DSPLYMNU_CAPFPS", "cl_capfps", "OffOn"
|
||||
Slider "$DSPLYMNU_BLOODFADE", "blood_fade_scalar", 0.0, 1.0, 0.05, 2
|
||||
Slider "$DSPLYMNU_PICKUPFADE", "pickup_fade_scalar", 0.0, 1.0, 0.05, 2
|
||||
Slider "$DSPLYMNU_WATERFADE", "underwater_fade_scalar", 0.0, 1.0, 0.05, 2
|
||||
Option "$DSPLYMNU_COLUMNMETHOD", "r_columnmethod", "ColumnMethods"
|
||||
|
||||
StaticText " "
|
||||
|
|
Loading…
Reference in a new issue