From 63f9d096fca8a1104d851ef3611c5c407c3e08df Mon Sep 17 00:00:00 2001 From: flowtron Date: Mon, 12 Jul 2010 20:45:34 +0000 Subject: [PATCH] updated scripts & menus git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5351 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/menus.cfg | 21 ++++++++++++++------- config/menus_bot.cfg | 2 +- config/menus_multiplayer.cfg | 1 + 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/config/menus.cfg b/config/menus.cfg index 201dd1f0..c6e20862 100755 --- a/config/menus.cfg +++ b/config/menus.cfg @@ -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 diff --git a/config/menus_bot.cfg b/config/menus_bot.cfg index d58ee383..8541ab17 100644 --- a/config/menus_bot.cfg +++ b/config/menus_bot.cfg @@ -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 diff --git a/config/menus_multiplayer.cfg b/config/menus_multiplayer.cfg index 909e634f..587156fc 100644 --- a/config/menus_multiplayer.cfg +++ b/config/menus_multiplayer.cfg @@ -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"