From 7b101c41c209f5bfb1db8d496b11a8e735b84179 Mon Sep 17 00:00:00 2001 From: akacross Date: Tue, 15 Sep 2026 20:44:37 -0400 Subject: [PATCH 1/4] Allow com_maxfps values up to 999 --- src/framework/Common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/framework/Common.cpp b/src/framework/Common.cpp index 4cb6d73fc..57b18b827 100644 --- a/src/framework/Common.cpp +++ b/src/framework/Common.cpp @@ -124,7 +124,7 @@ idCVar com_developer( "developer", "0", CVAR_BOOL|CVAR_SYSTEM|CVAR_NOCHEAT, "dev idCVar con_allowConsole( "con_allowConsole", "1", CVAR_BOOL | CVAR_SYSTEM | CVAR_ARCHIVE | CVAR_NOCHEAT, "allow toggling the console with the tilde key; set to 0 to require Ctrl+Alt+Tilde" ); idCVar com_speeds( "com_speeds", "0", CVAR_BOOL|CVAR_SYSTEM|CVAR_NOCHEAT, "show engine timings" ); idCVar com_showFPS( "com_showFPS", "0", CVAR_INTEGER | CVAR_SYSTEM | CVAR_ARCHIVE | CVAR_NOCHEAT, "show frames rendered per second: 1 = in-game only, 2 = legacy always on", 0, 2, idCmdSystem::ArgCompletion_Integer<0,2> ); -idCVar com_maxfps( "com_maxfps", "240", CVAR_INTEGER | CVAR_SYSTEM | CVAR_ARCHIVE | CVAR_NOCHEAT, "presentation frame cap, 0 = uncapped", 0, 1000, idCmdSystem::ArgCompletion_Integer<0,1000> ); +idCVar com_maxfps( "com_maxfps", "240", CVAR_INTEGER | CVAR_SYSTEM | CVAR_ARCHIVE | CVAR_NOCHEAT, "presentation frame cap, 0 = uncapped", 0, 999, idCmdSystem::ArgCompletion_Integer<0,999> ); idCVar com_showFramePacing( "com_showFramePacing", "0", CVAR_INTEGER | CVAR_SYSTEM | CVAR_NOCHEAT, "show frame pacing diagnostics: 1 = HUD overlay, 2 = overlay plus console logging", 0, 2, idCmdSystem::ArgCompletion_Integer<0,2> ); idCVar com_showMemoryUsage( "com_showMemoryUsage", "0", CVAR_BOOL|CVAR_SYSTEM|CVAR_NOCHEAT, "show total and per frame memory usage" ); idCVar com_showAsyncStats( "com_showAsyncStats", "0", CVAR_BOOL|CVAR_SYSTEM|CVAR_NOCHEAT, "show async network stats" ); From ec753d8b803dfc5d44cc8c655baff4ab279ba5aa Mon Sep 17 00:00:00 2001 From: akacross Date: Tue, 15 Sep 2026 21:26:04 -0400 Subject: [PATCH 2/4] Restore com_maxfps upper bound to 1000 --- src/framework/Common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/framework/Common.cpp b/src/framework/Common.cpp index 57b18b827..4cb6d73fc 100644 --- a/src/framework/Common.cpp +++ b/src/framework/Common.cpp @@ -124,7 +124,7 @@ idCVar com_developer( "developer", "0", CVAR_BOOL|CVAR_SYSTEM|CVAR_NOCHEAT, "dev idCVar con_allowConsole( "con_allowConsole", "1", CVAR_BOOL | CVAR_SYSTEM | CVAR_ARCHIVE | CVAR_NOCHEAT, "allow toggling the console with the tilde key; set to 0 to require Ctrl+Alt+Tilde" ); idCVar com_speeds( "com_speeds", "0", CVAR_BOOL|CVAR_SYSTEM|CVAR_NOCHEAT, "show engine timings" ); idCVar com_showFPS( "com_showFPS", "0", CVAR_INTEGER | CVAR_SYSTEM | CVAR_ARCHIVE | CVAR_NOCHEAT, "show frames rendered per second: 1 = in-game only, 2 = legacy always on", 0, 2, idCmdSystem::ArgCompletion_Integer<0,2> ); -idCVar com_maxfps( "com_maxfps", "240", CVAR_INTEGER | CVAR_SYSTEM | CVAR_ARCHIVE | CVAR_NOCHEAT, "presentation frame cap, 0 = uncapped", 0, 999, idCmdSystem::ArgCompletion_Integer<0,999> ); +idCVar com_maxfps( "com_maxfps", "240", CVAR_INTEGER | CVAR_SYSTEM | CVAR_ARCHIVE | CVAR_NOCHEAT, "presentation frame cap, 0 = uncapped", 0, 1000, idCmdSystem::ArgCompletion_Integer<0,1000> ); idCVar com_showFramePacing( "com_showFramePacing", "0", CVAR_INTEGER | CVAR_SYSTEM | CVAR_NOCHEAT, "show frame pacing diagnostics: 1 = HUD overlay, 2 = overlay plus console logging", 0, 2, idCmdSystem::ArgCompletion_Integer<0,2> ); idCVar com_showMemoryUsage( "com_showMemoryUsage", "0", CVAR_BOOL|CVAR_SYSTEM|CVAR_NOCHEAT, "show total and per frame memory usage" ); idCVar com_showAsyncStats( "com_showAsyncStats", "0", CVAR_BOOL|CVAR_SYSTEM|CVAR_NOCHEAT, "show async network stats" ); From cde289bdb402a0f4cec0a5645a3c24078e12d2bb Mon Sep 17 00:00:00 2001 From: akacross Date: Tue, 15 Sep 2026 21:39:21 -0400 Subject: [PATCH 3/4] Expand interactive console completion capacity --- src/framework/Console.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/framework/Console.cpp b/src/framework/Console.cpp index c7afa59af..7146b6513 100644 --- a/src/framework/Console.cpp +++ b/src/framework/Console.cpp @@ -51,6 +51,7 @@ void SCR_DrawTextRightAlign( float &y, const char *text, ... ) id_attribute((for #define CON_SCROLLBAR_LERP_SPEED 12.0f #define CON_SELECTION_ALPHA 0.35f #define CON_COMPLETION_MAX_MATCHES 64 +#define CON_COMPLETION_MAX_MATCHES 1024 #define CON_COMPLETION_MAX_VISIBLE 8 #define CON_TEXT_DRAG_THRESHOLD 4.0f #define CON_MOUSE_CURSOR_SIZE 32.0f From 6b4d329bedd67d34707df4ac56cc2988ff61df5e Mon Sep 17 00:00:00 2001 From: akacross Date: Tue, 15 Sep 2026 21:41:58 -0400 Subject: [PATCH 4/4] Remove stale console completion limit --- src/framework/Console.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/framework/Console.cpp b/src/framework/Console.cpp index 7146b6513..9fde21ecc 100644 --- a/src/framework/Console.cpp +++ b/src/framework/Console.cpp @@ -50,7 +50,6 @@ void SCR_DrawTextRightAlign( float &y, const char *text, ... ) id_attribute((for #define CON_SCROLLBAR_MIN_THUMB 18.0f #define CON_SCROLLBAR_LERP_SPEED 12.0f #define CON_SELECTION_ALPHA 0.35f -#define CON_COMPLETION_MAX_MATCHES 64 #define CON_COMPLETION_MAX_MATCHES 1024 #define CON_COMPLETION_MAX_VISIBLE 8 #define CON_TEXT_DRAG_THRESHOLD 4.0f