diff --git a/src/screen.c b/src/screen.c index a1f6b7f55..5005118b6 100644 --- a/src/screen.c +++ b/src/screen.c @@ -421,9 +421,9 @@ void SCR_DisplayTicRate(void) else if (totaltics == TICRATE) ticcntcolor = V_GREENMAP; V_DrawString(vid.width-(72*vid.dupx), h, - V_YELLOWMAP|V_NOSCALESTART|V_HUDTRANS, "FPS:"); + V_YELLOWMAP|V_NOSCALESTART|V_USERHUDTRANS, "FPS:"); V_DrawString(vid.width-(40*vid.dupx), h, - ticcntcolor|V_NOSCALESTART|V_HUDTRANS, va("%02d/%02u", totaltics, TICRATE)); + ticcntcolor|V_NOSCALESTART|V_USERHUDTRANS, va("%02d/%02u", totaltics, TICRATE)); lasttic = ontic; } diff --git a/src/st_stuff.c b/src/st_stuff.c index 5ccf9bb52..6f75a25e7 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -198,7 +198,7 @@ void ST_Ticker(boolean run) // 0 is default, any others are special palettes. INT32 st_palette = 0; -INT32 st_translucency = 0; +INT32 st_translucency = 10; void ST_doPaletteStuff(void) { diff --git a/src/v_video.h b/src/v_video.h index cd32ac5f8..e3dbb75dc 100644 --- a/src/v_video.h +++ b/src/v_video.h @@ -106,6 +106,10 @@ extern RGBA_t *pMasterPalette; #define V_HUDTRANSHALF 0x000D0000 #define V_HUDTRANS 0x000E0000 // draw the hud translucent #define V_HUDTRANSDOUBLE 0x000F0000 +// Macros follow +#define V_USERHUDTRANSHALF ((10-(cv_translucenthud.value/2))<