the con_notifytime help now explains what -1 is for

This commit is contained in:
myT 2017-11-12 01:07:22 +01:00
parent de72f96ae7
commit d56efd2d3d
2 changed files with 5 additions and 1 deletions

View File

@ -291,7 +291,7 @@ static const cvarTableItem_t con_cvars[] =
// bugs in the renderer's overflow handling will cause crashes
// if the console has too many polys/verts because of too small a font
{ &con_noprint, "con_noprint", "0", 0, CVART_BOOL, NULL, NULL, "disables console printing and history writing" },
{ &con_notifytime, "con_notifytime", "3", CVAR_ARCHIVE, CVART_FLOAT, "-1", "30", "number of seconds a notify line stays visible" },
{ &con_notifytime, "con_notifytime", "3", CVAR_ARCHIVE, CVART_FLOAT, "-1", "30", help_con_notifytime },
{ &con_scale, "con_scale", "1.2", CVAR_ARCHIVE, CVART_FLOAT, "0.25", "10", "console text scaling factor" },
{ &con_scaleMode, "con_scaleMode", "0", CVAR_ARCHIVE, CVART_INTEGER, "0", "2", help_con_scaleMode },
{ &con_speed, "con_speed", "1000", CVAR_ARCHIVE, CVART_FLOAT, "0.1", "1000", "console opening/closing speed" }

View File

@ -64,3 +64,7 @@ help_bind_extra
" 0 = never\n" \
" 1 = window is not focused\n" \
" 2 = window is minimized"
#define help_con_notifytime \
"seconds messages stay visible in the notify area\n" \
"If -1, CPMA will draw the notify area with the 'Console' SuperHUD element."