updated scripts & menus

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5351 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2010-07-12 20:45:34 +00:00
parent 131e5ad7c3
commit 63f9d096fc
3 changed files with 16 additions and 8 deletions
+14 -7
View File
@@ -18,11 +18,11 @@ menuitem (_ "Quit") "savequit"
// Start maps.
alias genmapitems [
genmapitems = [
alias n (listlen $arg1)
loop i $n [
alias listmapname (at $arg1 $i)
menuitemimage (concatword "packages/maps/official/preview/" $listmapname ".jpg") $listmapname (concat map $listmapname)
menuitemmapload $listmapname
alias next (+ $i 1)
if (= $next $n) [ alias next 0 ] []
alias nextmap (at $arg1 $next)
@@ -120,16 +120,23 @@ newmenu Credits
menuitem "Project Leaders" -1
menuitem "-----------------" -1
menuitem "driAn Lead coder, OpenAL, OpenGL, gameplay code." -1
menuitem "makkE Lead artist, models, skins, animations," -1
menuitem " mapping, 2D-art, textures, sounds." -1
menuitem "Flowtron Project leader, code, scripts, what needs to be done." -1
menuitem "Brahma Coder, anti-cheat, analysis and community liason." -1
menuitem "RandumKiwi Mapping, documentation, tester, clean-up crew." -1
menuitem "" -1
menuitem "Active Developers/Contributors" -1
menuitem "-----------------------------------" -1
menuitem "eihrul Coder, OpenGL expert, Enet Library, Cube2 backporting." -1
menuitem "RandumKiwi Mapping, documentation, tester, clean-up crew." -1
menuitem "Flowtron Universal team member, additional code, admin, community chief." -1
menuitem "BCFH|Aerkefiende Master of NSIS (Windows Installer)." -1
menuitem "WahnFred XCode Ninja (Mac Packaging)." -1
menuitem "Toca Mapmodels, sounds, textures, other stuff." -1
menuitem "Mr.Floppy Mapmodels, sounds, textures, other stuff." -1
menuitem "" -1
menuitem "Project Consultants" -1
menuitem "-----------------------" -1
menuitem "driAn Code Guru, OpenAL, OpenGL, gameplay code." -1
menuitem "makkE Artwork Guru, models, skins, animations," -1
menuitem " mapping, 2D-art, textures, sounds." -1
menuitem "" -1
menuitem "Community Mappers" -1
menuitem "-----------------------" -1
+1 -1
View File
@@ -6,7 +6,7 @@ alias genbotmaps [
loop i (listlen $arg1) [
alias listmapname (at $arg1 $i)
alias menutext $listmapname (concat map $listmapname)
menuitem $menutext (concat "alias tmp_botmap" $listmapname "; startbotmap")
menuitemmapload $listmapname (concat tmp_botmap "=" $listmapname ";" startbotmap)
]
]
genbotmaps $defaultmaps
+1
View File
@@ -145,6 +145,7 @@ menuitemcheckbox "F6: Reverse the sort order:" "$serversortdir" "serversortdir $
menuitemcheckbox "F7: Only show good servers:" "$showonlygoodservers" "showonlygoodservers $arg1"
menuitemcheckbox "F8: Show minutes remaining:" "$showminremain" "showminremain $arg1"
menuitemcheckbox "Sort official maps ontop:" "$serversortpreferofficial" "serversortpreferofficial $arg1"
menuitemcheckbox "Use gamemode acronyms:" "$modeacronyms" "modeacronyms $arg1"
menuitemslider "Favourites tag column: " 0 2 "$serverbrowserhidefavtag" 1 [ "Show always" "Show when used" "Hide always"] "serverbrowserhidefavtag $arg1"
menuitemslider "Server IP & port: " 0 2 "$serverbrowserhideip" 1 [ "Show" "Show in grey" "Hide"] "serverbrowserhideip $arg1"
menuitemslider "Sort servers by: " 0 7 "$serversort" 1 [ "Ping" "Number of players" "Max players" "Minutes remaining" "Map name" "Gamemode" "IP address" "Server description"] "serversort $arg1"