summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorMichael Levin <risujin@fastmail.fm>2009-10-03 11:24:47 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:14:58 +0000
commit4b1bd2babe3c5b37648b987d16225d9f111205ce (patch)
treeed6ece1bd3c583982ca0f74ecca23315e30a274f /ui
parentc5ad838c31a7d6f5970010fc06d4417bef68dab9 (diff)
* 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
Diffstat (limited to 'ui')
-rw-r--r--ui/ingame_options.menu3
1 files changed, 2 insertions, 1 deletions
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