From 4b1bd2babe3c5b37648b987d16225d9f111205ce Mon Sep 17 00:00:00 2001 From: Michael Levin Date: Sat, 3 Oct 2009 11:24:47 +0000 Subject: * Reworked the dialog code a bit, removed some redundancies * Commented out the CMD_* dialog long messages -- probably never accessed from the GUI! * Converted some more prints into MN_* messages * Introduced a two-argument 'servermenu' to pass arguments to CG_Menu() -- menus can refer to classes etc now * Converted UI 'Disable Warning Dialogs' to a multi-item ('no', 'print to console', 'yes') * Removed some unused dialogs --- ui/ingame_options.menu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/ingame_options.menu b/ui/ingame_options.menu index 00390713..ae3e3325 100644 --- a/ui/ingame_options.menu +++ b/ui/ingame_options.menu @@ -282,9 +282,10 @@ { name game group optionsGrp - type ITEM_TYPE_YESNO + type ITEM_TYPE_MULTI text "Disable Warning Dialogs:" cvar "cg_disableWarningDialogs" + cvarFloatList { "No" 0 "Print to Console" 1 "Yes" 2 } rect CONTENT_X (CONTENT_Y+(7*ELEM_H)) CONTENT_W ELEM_H textalign ALIGN_RIGHT textvalign VALIGN_CENTER -- cgit