aliases defaultmaps/ctfmaps/etc. should be constant

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7345 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2013-03-10 23:47:08 +00:00
parent c428be31f4
commit cf3799e8a5
+3 -3
View File
@@ -33,7 +33,7 @@ genmapitems = [
newmenu maps
// Add maps to the below list to include them in the normal map menu (also for botmaps).
defaultmaps = [ac_aqueous ac_arabian ac_arctic ac_arid ac_avenue ac_cavern ac_complex ac_depot ac_desert ac_desert2 ac_desert3 ac_douze ac_edifice ac_elevation ac_gothic ac_iceroad ac_industrial ac_ingress ac_keller ac_lainio ac_mines ac_outpost ac_power ac_rattrap ac_scaffold ac_shine ac_snow ac_stellar ac_sunset ac_swamp ac_terros ac_toxic ac_urban ac_venison ac_werk]
const defaultmaps [ac_aqueous ac_arabian ac_arctic ac_arid ac_avenue ac_cavern ac_complex ac_depot ac_desert ac_desert2 ac_desert3 ac_douze ac_edifice ac_elevation ac_gothic ac_iceroad ac_industrial ac_ingress ac_keller ac_lainio ac_mines ac_outpost ac_power ac_rattrap ac_scaffold ac_shine ac_snow ac_stellar ac_sunset ac_swamp ac_terros ac_toxic ac_urban ac_venison ac_werk]
genmapitems $defaultmaps
menuitem [] -1
// the following seems to be of the old-style thoughts of MP - flowtron: 2010may23 says: the different MPs should somehow list themselves though, yes.
@@ -46,7 +46,7 @@ menudirlist "packages/maps" cgz [map $arg1]
newmenu maps_flags
// Add maps to the below list to include them in the CTF, KTF & TKTF map menu. Maps should contain flags here.
ctfmaps = [ac_aqueous ac_arabian ac_arid ac_avenue ac_cavern ac_depot ac_desert3 ac_douze ac_edifice ac_elevation ac_gothic ac_iceroad ac_industrial ac_ingress ac_keller ac_lainio ac_mines ac_outpost ac_power ac_shine ac_stellar ac_sunset ac_swamp ac_terros ac_urban ac_venison ac_werk]
const ctfmaps [ac_aqueous ac_arabian ac_arid ac_avenue ac_cavern ac_depot ac_desert3 ac_douze ac_edifice ac_elevation ac_gothic ac_iceroad ac_industrial ac_ingress ac_keller ac_lainio ac_mines ac_outpost ac_power ac_shine ac_stellar ac_sunset ac_swamp ac_terros ac_urban ac_venison ac_werk]
genmapitems $ctfmaps
menuitem [] -1
if (&& $mappack_version (listlen $mappack_flagmaps)) [menuitem (concatword "Map-pack (version " $mappack_version ") maps...") [showmenu [mappack flag maps]]];
@@ -124,7 +124,7 @@ menuitem [No] [ showmenu [] ]
menuitem [] -1
menuitemcheckbox [Don't ask next time: ] [(= $askquit 0)] [askquit = (= $arg1 0)]
savequit = [ if $askquit [ showmenu quit ] quit ]
const savequit [ if $askquit [ showmenu quit ] quit ]
// Create additional menus...
exec config/menus_bot.cfg