mappack removed, x2

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7521 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lucas GAUTHERON
2013-08-02 11:47:18 +00:00
parent 2ddcbf0ac1
commit ce6474a9a7
-13
View File
@@ -32,9 +32,6 @@ newmenu maps
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_wasteland 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.
// possibly a not defined internal script-file or we just generate from the know listing, which is well defined, the CGZ files and show them by code.
if (&& $mappack_version (listlen $mappack_maps)) [menuitem (concatword "Map-pack (version " $mappack_version ") maps...") [showmenu [mappack maps]]];
menuitem (_ [Show all maps...]) [ showmenu [all maps] ]
newmenu [all maps]
@@ -45,16 +42,8 @@ newmenu maps_flags
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]]];
menuitem (_ [Show all maps..]) [showmenu [all maps]]
if $mappack_version [
newmenu [mappack maps]
genmapitems $mappack_maps
newmenu [mappack flag maps]
genmapitems $mappack_flagmaps
]
newmenu Demo // If in-game (playing demos isn't needed)
menuitem (_ [Start recording a demo]) recorddemo
@@ -92,8 +81,6 @@ menuitem (_ "Thank you to everyone participating to help us make") -1
menuitem (_ "AssaultCube what it is today. To learn about the team") -1
menuitem (_ "(Rabid Viper Productions) behind the game, read here:") -1
menuitem (concatword (c 1) " http://assault.cubers.net/docs/team.html") -1
if $mappack_version [ menuitem [] -1 ]
if $mappack_version [ menuitem " ... about your map-pack:" [ showmenu [about mappack] ]];
menuitem [] -1
menuitem (_ "AssaultCube is a total-conversion of the CUBE engine") -1
menuitem (_ "by Wouter 'Aardappel' van Oortmerssen, and others:") -1