From: Debugger Date: Fri, 13 Sep 2013 18:47:19 +0000 (+0200) Subject: minor addition X-Git-Tag: xonotic-v0.8.2~1987^2~55^2~4^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7385c7a7678ef177a0b1c79004869e73b98b7525;p=xonotic%2Fxonotic-data.pk3dir.git minor addition --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index cea90fe4e..daee5caba 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -4390,7 +4390,8 @@ void HUD_CenterPrint (void) } } - +// QuickMenu (#17) +// // QUICKMENU_MAXLINES must be <= 10 #define QUICKMENU_MAXLINES 10 #define QUICKMENU_MAXENTRIES 256 diff --git a/quickmenu.txt b/quickmenu.txt index 4a188f6bb..d6fea3673 100644 --- a/quickmenu.txt +++ b/quickmenu.txt @@ -24,39 +24,43 @@ "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"