]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add quickmenu panel number to _hud_panelorder
authorterencehill <piuntn@gmail.com>
Mon, 19 Jan 2015 17:09:50 +0000 (18:09 +0100)
committerterencehill <piuntn@gmail.com>
Mon, 19 Jan 2015 17:09:50 +0000 (18:09 +0100)
hud_luminos.cfg
hud_luminos_minimal.cfg
hud_luminos_minimal_xhair.cfg
hud_luminos_old.cfg
hud_nexuiz.cfg
qcsrc/client/hud.qc
qcsrc/client/hud.qh

index 837d534e6cb04adb0be371c37dfcc1e0ef67524e..377b737e78a2d61e0e97880b8cc0fc8959cfdd27 100644 (file)
@@ -24,7 +24,7 @@ seta hud_progressbar_speed_color "1 0.75 0"
 seta hud_progressbar_acceleration_color "0.5 0.75 1"
 seta hud_progressbar_acceleration_neg_color "0.125 0.25 0.5"
 
-seta _hud_panelorder "15 12 9 10 5 6 14 0 7 4 11 2 1 3 8 13 16 17 "
+seta _hud_panelorder "18 15 12 9 10 5 6 14 0 7 4 11 2 1 3 8 13 16 17 "
 
 seta hud_configure_grid "1"
 seta hud_configure_grid_xsize "0.010000"
index d57e50ddcf61bd291f5a6ab1985f7e44077c1c9f..79b72fac90e8e21a555344fbd31f14f4c23c44d8 100644 (file)
@@ -24,7 +24,7 @@ seta hud_progressbar_speed_color "1 0.75 0"
 seta hud_progressbar_acceleration_color "0.5 0.75 1"
 seta hud_progressbar_acceleration_neg_color "0.125 0.25 0.5"
 
-seta _hud_panelorder "10 3 0 14 6 9 13 4 1 2 11 12 7 5 8 15 16 17 "
+seta _hud_panelorder "18 10 3 0 14 6 9 13 4 1 2 11 12 7 5 8 15 16 17 "
 
 seta hud_configure_grid "1"
 seta hud_configure_grid_xsize "0.010000"
index d0d506c352b0dedb6aa01f9d10fad1b91d558665..1185f2183ead7fa48ff28b5fa2c53ba38f0a8dd3 100644 (file)
@@ -24,7 +24,7 @@ seta hud_progressbar_speed_color "1 0.75 0"
 seta hud_progressbar_acceleration_color "0.5 0.75 1"
 seta hud_progressbar_acceleration_neg_color "0.125 0.25 0.5"
 
-seta _hud_panelorder "15 3 1 2 11 10 0 14 6 9 13 4 12 7 5 8 16 17 "
+seta _hud_panelorder "18 15 3 1 2 11 10 0 14 6 9 13 4 12 7 5 8 16 17 "
 
 seta hud_configure_grid "1"
 seta hud_configure_grid_xsize "0.010000"
index ed1a11e2f40ceea6a336194fd80276622f000475..c0edcb8b8cca5ffea23434076e4bd98e1b403146 100644 (file)
@@ -24,7 +24,7 @@ seta hud_progressbar_speed_color "1 0.75 0"
 seta hud_progressbar_acceleration_color "0.5 0.75 1"
 seta hud_progressbar_acceleration_neg_color "0.125 0.25 0.5"
 
-seta _hud_panelorder "15 10 9 6 8 14 5 0 4 13 2 7 1 3 11 12 16 17 "
+seta _hud_panelorder "18 15 10 9 6 8 14 5 0 4 13 2 7 1 3 11 12 16 17 "
 
 seta hud_configure_grid "1"
 seta hud_configure_grid_xsize "0.010000"
index 9d9c94ea7724fa0f95967264dbe8ba01dc93ddae..523b3bf0aad7446f5111110ca1cc53a5835a2338 100644 (file)
@@ -24,7 +24,7 @@ seta hud_progressbar_speed_color "1 0.75 0"
 seta hud_progressbar_acceleration_color "0.5 0.75 1"
 seta hud_progressbar_acceleration_neg_color "0.125 0.25 0.5"
 
-seta _hud_panelorder "15 0 11 8 5 6 14 9 13 7 2 3 1 10 12 4 16 17 "
+seta _hud_panelorder "18 15 0 11 8 5 6 14 9 13 7 2 3 1 10 12 4 16 17 "
 
 seta hud_configure_grid "1"
 seta hud_configure_grid_xsize "0.01"
index e5aea378043672730605a05abba17a2c36eb536e..f9333d41142acdfb2e4726b17664b5b77e2f02bd 100644 (file)
@@ -4411,7 +4411,7 @@ void HUD_CenterPrint (void)
        }
 }
 
-// Buffs (#18)
+// Buffs (#17)
 //
 void HUD_Buffs(void)
 {
@@ -4470,7 +4470,7 @@ void HUD_Buffs(void)
        draw_endBoldFont();
 }
 
-// QuickMenu (#19)
+// QuickMenu (#18)
 //
 // QUICKMENU_MAXLINES must be <= 10
 #define QUICKMENU_MAXLINES 10
index f733e296801919a4f9550973ef11fc898c27b583..992bdad40984cc326fa149321dfb432032b3cb33 100644 (file)
@@ -119,7 +119,8 @@ float mv_active;
        HUD_PANEL(PHYSICS      , HUD_Physics      , physics) \
        HUD_PANEL(CENTERPRINT  , HUD_CenterPrint  , centerprint) \
        HUD_PANEL(BUFFS        , HUD_Buffs        , buffs) \
-       HUD_PANEL(QUICKMENU    , HUD_QuickMenu    , quickmenu) 
+       HUD_PANEL(QUICKMENU    , HUD_QuickMenu    , quickmenu) \
+       // always add new panels to the end of list
 
 #define HUD_PANEL(NAME,draw_func,name) \
        float HUD_PANEL_##NAME; \