diff --git a/config/menus_settings.cfg b/config/menus_settings.cfg index 0a9af559..8e5ded30 100644 --- a/config/menus_settings.cfg +++ b/config/menus_settings.cfg @@ -690,24 +690,40 @@ menuitemcheckbox "Yes, reset all settings: " [ $__resetyes ] [ __resetyes = $arg menuitem "\f2 [ Apply! ] " [ if $__resetyes [ resetcfg 1; quit ] [ showmenu [] ] ] [ if $__resetyes [ echo "\f3Choose [Apply] and AssaultCube will now quit and your settings will be reset." ] ] -//// QUICK setup //// +//// welcome //// -newmenu [QUICK setup] -menuitemtextinput "Nickname: " [ if (strcmp $curname "unarmed") [ result "" ] [ result $curname ] ] [ name $arg1 ] -menuitemcheckbox "Use high-res player skins" "(>= (findlist (zipmodlist active) protox_hq_reskin) 0)" [ if $arg1 [addzipmod protox_hq_reskin] [zipmodremove protox_hq_reskin] ] -menuitemtextinput "Resolution (width): " "$scr_w" [ scr_w $arg1 ] -menuitemtextinput "Resolution (height): " "$scr_h" [ scr_h $arg1 ] -menuitem (concatword "\f2Set\f5 resolution as in desktop (" $desktopw "x" $desktoph ")") [ scr_w $desktopw ; scr_h $desktoph ; refreshcurmenudelayed ] -menuitemcheckbox "Fullscreen: " "$fullscreen" [ fullscreen $arg1 ] -menuitemcheckbox "Fullscreen is always using desktop resolution: " "$fullscreendesktop" [ fullscreendesktop $arg1 ] -menuitemtextinput "Mouse sensitivity: " "$sensitivity" [ sensitivity $arg1 ] -menuitemcheckbox "Reduced violence mode: " "$poniesmodeon" [ reducedviolencemode $arg1 ] -menuitemslider "Graphics detail: " 1 6 "$gfxqualityalias" [Horrible Low Medium Good High "INSANE! (May perform slowly on older gfx)"] [ new_gfx_quality $arg1 ] -menuitemslider "Sound detail: " 1 3 "$__soundquality" [Low Medium High] [ __set_sound_quality $arg1 ] -menuitemslider "Field of view: " 75 120 "$fov" 2 [ fov $arg1 ] 1 -menuitem "" -1 -menuitem "\f0\t\t\t [ OK; View FAQ ]" [ closecurmenu; resetgl; load_faq ; showmenu faq ] -menuitem "\f2\t\t\t [ OK ]" [ closecurmenu; resetgl ] +newmenu [welcome] // keep this menu as simple as possible - only include the absolute minimum of configuration options +menuinit [ + resetcurmenu + if (checkalias __windowtype) [] [ __windowtype = 0 ] + scr_w $desktopw + scr_h $desktoph + menuitem "AssaultCube has been created and nurtured by an international" -1 + menuitem "community of artists and developers since July 2004. We are" -1 + menuitem "people who love building fun games." -1 + menuitem "" -1 + menuitem "\f2We are looking for lead developers to help us build the next" -1 + menuitem "\f2generation of AssaultCube for Windows, Mac, Linux and Mobile." -1 + menuitem "" -1 + menuitem "\f5Enjoy the game!" -1 + menuitem "" -1 + menuitemtextinput "Nickname: " [ if (strcmp $curname "unarmed") [ result "" ] [ result $curname ] ] [ name $arg1 ] + menuitemradio "Fullscreen: " 0 1 "$__windowtype" [ "Yes" "No" ] [ + __windowtype = $arg1 + refreshcurmenudelayed // reset the screen width/height to desktop resolution whenever radio buttons are touched + ] + menuitemtextinput "Resolution / width: " "$scr_w" [ scr_w $arg1 ] + menuitemtextinput "Resolution / height: " "$scr_h" [ scr_h $arg1 ] + menuitemslider "Brightness: " 70 130 "$gamma" 1 [ gamma $arg1 ] + menuitem "" -1 + menuitem "\f0\t\t\t[ OK ]" [ + closecurmenu; + fullscreen (= $__windowtype 0) + fullscreendesktop (= $__windowtype 0) + resetgl + ] + if (checkalias __firstrun) [] [ __firstrun = 1; menuselection (curmenu) 9 ] // preselect nickname field +] const new_gfx_quality [ if (= $arg1 6) [ // "INSANE!" gfx quality