forgor cv_chat_showlimit :chaosleep:

This commit is contained in:
alufolie91 committed 2026-06-28 18:59:21 +02:00
1 parent 655e2a38db
commit 855b39b396
2 files changed
+14 -9

No files matched your search

+6 -4
View File
@@ -1604,9 +1604,11 @@ static boolean ShouldDrawMenuBG(void)
// camera options stuff, only do when in level
if (gamestate == GS_LEVEL &&
(currentMenu == &OP_CamOptionsDef || currentMenu == &OP_Player1CamOptionsDef
|| currentMenu == &OP_Player2CamOptionsDef || currentMenu == &OP_Player3CamOptionsDef
|| currentMenu == &OP_Player4CamOptionsDef))
(currentMenu == &OP_CamOptionsDef ||
currentMenu == &OP_Player1CamOptionsDef ||
currentMenu == &OP_Player2CamOptionsDef ||
currentMenu == &OP_Player3CamOptionsDef ||
currentMenu == &OP_Player4CamOptionsDef))
return false;
return true;
@@ -1624,7 +1626,7 @@ void M_Drawer(void)
// pain and suffering
forceshowhud = (gamestate == GS_LEVEL && menuactive && (currentMenu == &OP_SaturnHudDef || currentMenu == &OP_HudOffsetDef || currentMenu == &OP_NametagDef || currentMenu == &OP_DriftGaugeDef)); // holy fuick
forceshowchat = (gamestate == GS_LEVEL && menuactive && currentMenu == &OP_ChatOptionsDef && (!OLDCHAT) && (itemOn == op_chat_boxwidth || itemOn == op_chat_boxheight || itemOn == op_chat_xoffs || itemOn == op_chat_yoffs)); // man i dont gaf anymore lmao
forceshowchat = (gamestate == GS_LEVEL && menuactive && currentMenu == &OP_ChatOptionsDef && (!OLDCHAT) && (itemOn == op_chat_boxwidth || itemOn == op_chat_boxheight || itemOn == op_chat_xoffs || itemOn == op_chat_yoffs || itemOn == op_chat_charlmt)); // man i dont gaf anymore lmao
if (menuactive)
{
+8 -5
View File
@@ -1419,13 +1419,14 @@ static menuitem_t OP_ChatOptionsMenu[] =
{IT_STRING | IT_CVAR, NULL, "Message Fadeout Time", &cv_chattime, 90},
{IT_STRING | IT_CVAR, NULL, "Spam Protection", &cv_chatspamprotection, 100},
{IT_STRING | IT_CVAR, NULL, "Max Chat Messages", &cv_chatlogsize, 110},
{IT_STRING | IT_CVAR, NULL, "Display Character Limit", &cv_chat_showlimit, 120},
{IT_STRING | IT_CVAR, NULL, "Local ping display", &cv_showping, 130}, // shows ping above the framerate if we want to.
{IT_STRING | IT_CVAR, NULL, "Ping display style", &cv_pingstyle, 140},
{IT_STRING | IT_CVAR, NULL, "Ping measurement", &cv_pingmeasurement, 150},
{IT_STRING | IT_CVAR, NULL, "Ping icon", &cv_pingicon, 160},
{IT_STRING | IT_CVAR, NULL, "Local ping display", &cv_showping, 140}, // shows ping above the framerate if we want to.
{IT_STRING | IT_CVAR, NULL, "Ping display style", &cv_pingstyle, 150},
{IT_STRING | IT_CVAR, NULL, "Ping measurement", &cv_pingmeasurement, 160},
{IT_STRING | IT_CVAR, NULL, "Ping icon", &cv_pingicon, 170},
{IT_STRING | IT_CVAR, NULL, "Show IP address in playerlist", &cv_shownodeip, 170},
{IT_STRING | IT_CVAR, NULL, "Show IP address in playerlist", &cv_shownodeip, 180},
};
static const char* OP_ChatOptionsTooltips[] =
@@ -1440,6 +1441,7 @@ static const char* OP_ChatOptionsTooltips[] =
"Fadeout time for new chat message.",
"Spam protection for in-game chat.",
"Maxiumum amount of chat messages to look back at.",
"Show how many characters you have left to type in the chat.",
"Show player ping.",
"Choose the style of the ping display.",
"Measurement used for ping.",
@@ -1459,6 +1461,7 @@ enum
op_chat_fadetime,
op_chat_spamprotect,
op_chat_maxmsg,
op_chat_charlmt,
op_chat_showping,
op_chat_pingstyle,
op_chat_pingmeasr,