Add PNG screenshots to screenshottype slider.
Default screenshottype slider to the same defaults as the code to avoid conflicts. git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6124 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -388,13 +388,13 @@ menuitemslider "Akimbo end action: " 0 2 "$akimboendaction" 1 [ "Switch to pisto
|
||||
|
||||
newmenu Misc
|
||||
alias __fontsetting 0 // Initial setting for status of fonts so AC doesn't give errors.
|
||||
alias __screenshottype 1 // Initial setting for status of fonts so AC doesn't give errors.
|
||||
alias __screenshottype 0 // Initial setting for status of fonts so AC doesn't give errors.
|
||||
menuitemcheckbox "Auto map download: " "$autogetmap" "autogetmap $arg1"
|
||||
menuitemcheckbox "Show gamemodes as acronyms: " "$modeacronyms" "modeacronyms $arg1"
|
||||
menuitemcheckbox "Show quit dialog when quitting: " "$askquit" "askquit = $arg1"
|
||||
menuitemcheckbox "Auto-screenshot: " "$autoscreenshot" "autoscreenshot $arg1"
|
||||
menuitemslider "Servers to ping at once: " 0 50 "$maxservpings" 5 "" "maxservpings $arg1"
|
||||
menuitemslider "Screenshot type: " -1 3 "$__screenshottype" 1 [ "JPEG (Terrible Quality)" "JPEG (Bad Quality)" "JPEG (Good Quality)" "JPEG (Best Quality)" "BMP" ] [ if (= $arg1 -1) [ screenshottype 1; jpegquality 50; alias __screenshottype -1 ] [ if (= $arg1 0) [ screenshottype 1; jpegquality 70; alias __screenshottype 0 ] [ if (= $arg1 1) [ screenshottype 1; jpegquality 85; alias __screenshottype 1 ] [ if (= $arg1 2) [ screenshottype 1; jpegquality 100; alias __screenshottype 2 ] [ if (= $arg1 3) [ screenshottype 0; alias __screenshottype 3 ] ] ] ] ] ]
|
||||
menuitemslider "Screenshot type: " -1 4 "$__screenshottype" 1 [ "JPEG (Terrible Quality)" "JPEG (Bad Quality)" "JPEG (Good Quality)" "JPEG (Best Quality)" "PNG (Lossless)" "BMP (Lossless)" ] [ if (= $arg1 -1) [ screenshottype 1; jpegquality 50; alias __screenshottype -1 ] [ if (= $arg1 0) [ screenshottype 1; jpegquality 70; alias __screenshottype 0 ] [ if (= $arg1 1) [ screenshottype 1; jpegquality 85; alias __screenshottype 1 ] [ if (= $arg1 2) [ screenshottype 1; jpegquality 100; alias __screenshottype 2 ] [ if (= $arg1 3) [ screenshottype 2; alias __screenshottype 3 ] [ if (= $arg1 4) [ screenshottype 0; alias __screenshottype 4 ] ] ] ] ] ] ]
|
||||
menuitemslider "Console size: " 0 20 "$consize" 1 "" "consize $arg1"
|
||||
menuitemslider "Font type: " 0 2 "$__fontsetting" 1 [ "Default" "v104" "Mono" ] [ if (= $arg1 1) [ setfont v104; alias __fontsetting 1 ] [ if (= $arg1 2) [ setfont mono; alias __fontsetting 2 ] [ setfont default; alias __fontsetting 0 ] ] ]
|
||||
menuitemslider "Mini-map background style: " 0 2 "$showmapbackdrop" 1 [ "Fully Transparent" "Black" "White/Transparent" ] "showmapbackdrop $arg1"
|
||||
|
||||
Reference in New Issue
Block a user