Always show delay (remove cv_showping)

This commit is contained in:
AJ Martinez 2024-03-22 19:11:04 -07:00
parent e82a626d45
commit 070525f711
7 changed files with 6 additions and 21 deletions

View file

@ -120,8 +120,8 @@ static void temp_legacy_finishupdate_draws()
if (cv_ticrate.value)
SCR_DisplayTicRate();
if (cv_showping.value && netgame && (consoleplayer != serverplayer || !server_lagless))
if (netgame && (consoleplayer != serverplayer || !server_lagless))
{
if (server_lagless)
{

View file

@ -5467,11 +5467,6 @@ K_drawMiniPing (void)
UINT32 f = V_SNAPTORIGHT;
UINT8 i = R_GetViewNumber();
if (!cv_showping.value)
{
return;
}
if (r_splitscreen > 1 && !(i & 1))
{
f = V_SNAPTOLEFT;

View file

@ -23,9 +23,6 @@ menuitem_t OPTIONS_HUD[] =
{IT_STRING | IT_CVAR, "Show FPS", "Displays the framerate in the lower right corner of the screen.",
NULL, {.cvar = &cv_ticrate}, 0, 0},
{IT_STRING | IT_CVAR, "Show Input Delay", "Displays your input delay in the lower right corner of the screen.",
NULL, {.cvar = &cv_showping}, 0, 0},
{IT_STRING | IT_CVAR, "Show \"FOCUS LOST\"", "Displays \"FOCUS LOST\" when the game cannot accept inputs.",
NULL, {.cvar = &cv_showfocuslost}, 0, 0},

View file

@ -579,11 +579,6 @@ void SCR_DisplayLocalPing(void)
UINT32 ping = playerpingtable[consoleplayer];
UINT32 pl = playerpacketlosstable[consoleplayer];
if (cv_showping.value == 2 && ping <= servermaxping) // only show 2 (warning) if our ping is at a bad level
{
return;
}
INT32 dispy = cv_ticrate.value ? 170 : 181;
boolean offline = (consoleplayer == serverplayer);

View file

@ -1326,7 +1326,7 @@ void I_FinishUpdate(void)
if (cv_ticrate.value)
SCR_DisplayTicRate();
if (cv_showping.value && netgame && consoleplayer != serverplayer)
if (netgame && consoleplayer != serverplayer)
SCR_DisplayLocalPing();
if (render_soft == rendermode && screens[0])

View file

@ -491,10 +491,8 @@ void ST_drawDebugInfo(void)
height -= 20;
}
if (cv_showping.value)
{
height -= 20;
}
// was cv_showping compensation
height -= 20;
if (cht_debug & DBG_BASIC)
{

View file

@ -173,7 +173,7 @@ void I_FinishUpdate(void)
if (cv_ticrate.value)
SCR_DisplayTicRate();
if (cv_showping.value && netgame && consoleplayer != serverplayer)
if (netgame && consoleplayer != serverplayer)
SCR_DisplayLocalPing();
//