]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
minor addition
authorDebugger <pyngot@hotmail.com>
Fri, 13 Sep 2013 18:47:19 +0000 (20:47 +0200)
committerDebugger <pyngot@hotmail.com>
Fri, 13 Sep 2013 18:47:19 +0000 (20:47 +0200)
qcsrc/client/hud.qc
quickmenu.txt

index cea90fe4e86c197d967aba145801726570b71a3c..daee5caba623555cdbcc1727709a66be8fc5579f 100644 (file)
@@ -4390,7 +4390,8 @@ void HUD_CenterPrint (void)
        }
 }
 
-
+// QuickMenu (#17)
+//
 // QUICKMENU_MAXLINES must be <= 10
 #define QUICKMENU_MAXLINES 10
 #define QUICKMENU_MAXENTRIES 256
index 4a188f6bb6aa88cf96fcc176065ad7242b178b79..d6fea367347c2e4194f94731be7cceaaf0240ea8 100644 (file)
 
 "Settings"
        "View/HUD settings"
-               "1st/3rd person view" "toggle chase_active"
-               "Force player models on/off" "toggle cl_forceplayermodels"
-               "Player names on/off" "toggle hud_shownames"
-               "Crosshair per weapon on/off" "toggle crosshair_per_weapon"
-               "Show fps on/off" "toggle hud_panel_engineinfo"
+               "1st/3rd person view" "toggle chase_active; cl_cmd hud quickmenu"
+               "Force player models on/off" "toggle cl_forceplayermodels; cl_cmd hud quickmenu"
+               "Player names on/off" "toggle hud_shownames; cl_cmd hud quickmenu"
+               "Crosshair per weapon on/off" "toggle crosshair_per_weapon; cl_cmd hud quickmenu"
+               "Show fps on/off" "toggle hud_panel_engineinfo; cl_cmd hud quickmenu"
        "View/HUD settings"
 
        "Sound settings"
-               "Hit sound on/off" "toggle cl_hitsound"
-               "Chat sound on/off" "toggle cl_chatsound"
+               "Hit sound on/off" "toggle cl_hitsound; cl_cmd hud quickmenu"
+               "Chat sound on/off" "toggle cl_chatsound; cl_cmd hud quickmenu"
        "Sound settings"
 
        "Spectator camera"
-               "1st person" "chase_active 0; -use"
-               "3rd person free" "chase_active 1; +use"
-               "3rd person behind" "chase_active 1; -use"
+               "1st person" "chase_active 0; -use; cl_cmd hud quickmenu"
+               "3rd person free" "chase_active 1; +use; cl_cmd hud quickmenu"
+               "3rd person behind" "chase_active 1; -use; cl_cmd hud quickmenu"
        "Spectator camera"
 
        "Observer camera"
-               "Increase speed" "weapnext"
-               "Decrease speed" "weapprev"
-               "Wall collision off" "-use"
-               "Wall collision on" "+use"
+               "Increase speed" "weapnext; cl_cmd hud quickmenu"
+               "Decrease speed" "weapprev; cl_cmd hud quickmenu"
+               "Wall collision off" "-use; cl_cmd hud quickmenu"
+               "Wall collision on" "+use; cl_cmd hud quickmenu"
        "Observer camera"
        
-       "toggle fullscreen" "toggle vid_fullscreen; vid_restart"
+       "toggle fullscreen" "toggle vid_fullscreen; vid_restart; cl_cmd hud quickmenu"
 "Settings"
 
 "Call a vote"
-       "Restart the map" "vcall restart"
-       "Endmatch" "vcall endmatch"
-       "Reduce matchtime" "vcall reducematchtime"
-       "Extend matchtime" "vcall extendmatchtime"
-       "Shuffle" "vcall shuffleteams"
-       "Cointoss" "vcall cointoss"
+       "Restart the map" "vcall restart; cl_cmd hud quickmenu"
+       "Endmatch" "vcall endmatch; cl_cmd hud quickmenu"
+       "Reduce matchtime" "vcall reducematchtime; cl_cmd hud quickmenu"
+       "Extend matchtime" "vcall extendmatchtime; cl_cmd hud quickmenu"
+       "Shuffle" "vcall shuffleteams; cl_cmd hud quickmenu"
+       "Cointoss" "vcall cointoss; cl_cmd hud quickmenu"
+       
+       "Vote a map"
+               "lsmaps"
+       "Vote a map"
 "Call a vote"