~ubuntu-branches/debian/stretch/assaultcube-data/stretch

« back to all changes in this revision

Viewing changes to config/menus.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Gonéri Le Bouder, Ansgar Burchardt, Gonéri Le Bouder
  • Date: 2010-04-02 23:37:55 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100402233755-kf74fxwlu634o6vg
Tags: 1.0.4+repack1-1
[ Ansgar Burchardt ]
* debian/control: fix typo in short description

[ Gonéri Le Bouder ]
* Upgrade to 1.0.4
* bump standards-version to 3.8.4
* Add Depends: ${misc:Depends} just to avoid a lintian warning
* Add a debian/source/format file for the same reason

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// check for an installed mappack
 
2
alias mappack_version 0; alias mappack_maps ""; alias mappack_flagmaps ""
 
3
exec config/menus_mappack.cfg
 
4
 
1
5
// standard menu definitions
2
6
 
3
7
newmenu main
27
31
]
28
32
newmenu maps
29
33
// Add maps to the below list to include them in the normal map menu (also for botmaps).
30
 
alias defaultmaps "ac_arctic ac_complex ac_depot ac_depot_classic ac_desert ac_desert2 ac_desert3 ac_elevation ac_gothic ac_keller ac_mines ac_power ac_scaffold ac_shine ac_snow ac_sunset ac_toxic ac_urban ac_wasteland"
 
34
// Don't add ac_depot_classic to the maps list.
 
35
alias defaultmaps "ac_aqueous ac_arctic ac_complex ac_depot ac_desert ac_desert2 ac_desert3 ac_douze ac_elevation ac_gothic ac_keller ac_mines ac_power ac_scaffold ac_shine ac_snow ac_sunset ac_toxic ac_urban"
31
36
genmapitems     $defaultmaps
32
37
menuitem        "" -1
 
38
if (&& $mappack_version (listlen $mappack_maps)) [menuitem (concatword "Map-pack (version " $mappack_version ") maps...") [showmenu "mappack maps"]];
33
39
menuitem        "Show all maps..." [ showmenu "all maps" ]
34
40
 
35
41
newmenu "all maps"
36
42
menudirlist "packages/maps" "cgz" "map $arg1"
37
43
 
38
44
 
39
 
 
40
45
newmenu maps_flags 
41
46
// Add maps to the below list to include them in the CTF, KTF & TKTF map menu. Maps should contain flags here.
42
 
alias ctfmaps "ac_depot ac_desert3 ac_elevation ac_keller ac_mines ac_power ac_shine ac_sunset ac_urban"
 
47
alias ctfmaps "ac_aqueous ac_depot ac_desert3 ac_douze ac_elevation ac_gothic ac_keller ac_mines ac_power ac_shine ac_sunset ac_urban"
43
48
genmapitems $ctfmaps
44
49
menuitem "" -1
 
50
if (&& $mappack_version (listlen $mappack_flagmaps)) [menuitem (concatword "Map-pack (version " $mappack_version ") maps...") [showmenu "mappack flag maps"]];
45
51
menuitem "Show all maps.." [showmenu "all maps"]
46
52
 
47
53
 
 
54
if $mappack_version [
 
55
    newmenu "mappack maps"
 
56
    genmapitems $mappack_maps
 
57
    newmenu "mappack flag maps"
 
58
    genmapitems $mappack_flagmaps
 
59
]
 
60
 
48
61
newmenu Demo // If in-game (playing demos isn't needed)
49
62
 
50
63
menuitem "Start recording a demo"       "recorddemo"
55
68
newmenu "Download demo"
56
69
menuinit [ echo " 4Choose the demo number you wish to download, as show below in the console." ]
57
70
menuitemtextinput "Demo number:  "      "" "alias dldemo $arg1"
58
 
menuitem " 2      [ Download ]          " "getdemo $dldemo"
 
71
menuitem " 2          [ Download ]              " "getdemo $dldemo"
59
72
 
60
73
 
61
74
 
63
76
menuinit [ echo "To stop demo playback, type:  3/stopdemo" ]
64
77
menudirlist "demos/" "dmo" "demo $arg1"
65
78
 
66
 
 
 
79
// in-game menu that opens when pressing escape while watching a demo.
 
80
newmenu "Watching demo"
 
81
menuitem "Stop watching demo" "stopdemo"
 
82
menuitem "Restart demo" "demo $_demofile"
 
83
menuitem "Watch other demo" [stopdemo; closemenu "Watching demo"; showmenu "Play demo"]
 
84
menuitem "" -1
 
85
menuitem " 4Main menu..."               [ closemenu "Watching demo"; showmenu main ]
 
86
menuitem " 3Quit AssaultCube"           "savequit"
67
87
 
68
88
newmenu about
69
89
 
70
90
menuitem "AssaultCube v1.0" -1
71
91
menuitem "                     ...Help"         "showmenu help"
72
92
menuitem "                     ...Credits"      "showmenu Credits"
 
93
if $mappack_version [ menuitem "                     ...Map-pack credits" [ showmenu "about mappack" ]];
73
94
menuitem "" -1
74
95
menuitem "by 'Rabid Viper Productions'" "showmenu Credits"
75
96
menuitem " 1http://assault.cubers.net/" -1                      // URL's are colourised blue, like a hyperlink normally is...
77
98
menuitem "AssaultCube is a total-conversion of the CUBE engine" -1
78
99
menuitem "...by Wouter 'Aardappel' van Oortmerssen, and others." -1
79
100
menuitem " 1http://www.cubeengine.com/" -1
 
101
menuinitselection 2
80
102
 
81
103
newmenu help
82
104
 
118
140
menuitem "Archangel                     Map: ac_urban." -1
119
141
menuitem "Mr.Floppy                     Map: ac_keller, plus textures." -1
120
142
menuitem "DogDancing                    Map: ac_shine, ac_scaffold, textures." -1
121
 
menuitem "R4zor                         Map: ac_sunset." -1
122
 
menuitem "KC                            Map: ac_arctic." -1
 
143
menuitem "R4zor                         Map: ac_sunset, ac_gothic." -1
 
144
menuitem "Halo                          Map: ac_arctic." -1
123
145
menuitem "" -1
124
146
menuitem "Special thanks" -1
125
147
menuitem "----------------" -1
180
202
exec config/menus_edit.cfg
181
203
exec config/menus_settings.cfg
182
204
exec config/menus_multiplayer.cfg
 
205
exec config/favourites.cfg
 
206