per-slider option to wrap around
menuitemslider text min max val step display action wrap DOCREF menuitemslider
This commit is contained in:
+15
-15
@@ -28,7 +28,7 @@ menuitem "Choose resolution from list\i\3" [ showmenu [Display resolutions] ]
|
||||
menuitem "" -1
|
||||
menuitemslider "Graphics detail: " 1 6 "$gfxqualityalias" 1 [Horrible Low Medium Good High "INSANE! (May perform slowly on older gfx)"] [ new_gfx_quality $arg1 ]
|
||||
menuitem "" -1
|
||||
menuitemslider "Field of view: " 75 120 "$fov" 2 [] [ fov $arg1 ]
|
||||
menuitemslider "Field of view: " 75 120 "$fov" 2 [] [ fov $arg1 ] 1
|
||||
menuitemcheckbox "Fullscreen: " "$fullscreen" [ fullscreen $arg1 ]
|
||||
menuitemslider "Vsync: " -1 1 "$vsync" 1 [Default Disabled Enabled] [ vsync $arg1 ]
|
||||
menuitem "" -1
|
||||
@@ -90,13 +90,13 @@ const __fsaa_valuemap [-1 0 2 4 8 16]
|
||||
const __aniso_valuemap [0 2 4 8 16]
|
||||
const __minlod_valuemap [60 100 200 250]
|
||||
const __watersubdiv_valuemap [16 8 4 2 1]
|
||||
menuitemslider [Scope FOV: ] 5 60 "$scopefov" 5 [] [ scopefov $arg1 ]
|
||||
menuitemslider [Scope FOV: ] 5 60 "$scopefov" 5 [] [ scopefov $arg1 ] 1
|
||||
menuitemslider [Antialiasing (FSAA): ] 0 5 "(findlist $__fsaa_valuemap $fsaa)" 1 [Default Off 2 4 8 16] [ fsaa (at $__fsaa_valuemap $arg1) ]
|
||||
menuitemslider [Anisotropic filtering: ] 0 4 "(findlist $__aniso_valuemap $aniso)" 1 [Off 2 4 8 16] [ aniso (at $__aniso_valuemap $arg1) ]
|
||||
menuitemslider [Minimal level of detail: ] 0 3 "(findlist $__minlod_valuemap $minlod)" 1 [Low Decent Good Best] [ minlod (at $__minlod_valuemap $arg1) ]
|
||||
menuitemslider [Light error: ] 1 100 "$lighterror" 5 [] [ lighterror $arg1 ]
|
||||
menuitemslider [Water subdivision: ] 0 4 "(findlist $__watersubdiv_valuemap $watersubdiv)" 1 ["Lowest quality" "Low quality" "Medium quality" "High quality" "Highest quality"] [ watersubdiv (at $__watersubdiv_valuemap $arg1) ]
|
||||
menuitemslider [Dynamic shadows: ] 0 2 __getshadowq 1 [Off Blob Stencil] [ (concatword __setshadowq_ $arg1) ]
|
||||
menuitemslider [Dynamic shadows: ] 0 2 __getshadowq 1 [Off Blob Stencil] [ (concatword __setshadowq_ $arg1) ] 1
|
||||
menuitemslider [Tex-reduce: ] -1 3 "$texreduce" 1 [] [ texreduce $arg1 ]
|
||||
menuitemcheckbox [Water reflection: ] "$waterreflect" [ waterreflect $arg1 ]
|
||||
menuitemcheckbox [Dynamic lights: ] "$dynlight" [ dynlight $arg1 ]
|
||||
@@ -139,13 +139,13 @@ menuitemslider [ Damage maxroll: ] 0 (getvarrange max maxrolleffect) "$maxro
|
||||
menuitemcheckbox [ Team score counters ] "(= $hideteamscorehud 0)" [ hideteamscorehud (= $arg1 0) ]
|
||||
menuitemcheckbox [ KTF flag direction indicator ] "(! $hidektfindicator)" [ hidektfindicator (! $arg1) ]
|
||||
menuitemcheckbox [ Radar ] "(= $hideradar 0)" [ hideradar (= $arg1 0) ]
|
||||
menuitemslider [ Radar zoom: ] 5 500 [ $radarheight ] 5 [][ radarheight $arg1 ]
|
||||
menuitemslider [ Votes: ] 0 2 "$hidevote" 1 ["Always show" "Show until you vote" "Never show"] [ hidevote $arg1 ]
|
||||
menuitemslider [ Graphics statistics: ] 0 2 "$showstats" 1 [None "FPS Only" All] [ showstats $arg1 ]
|
||||
menuitemslider [ Game time: ] 0 2 "$gametimedisplay" 1 [None "Count backward" "Count forward"] [ gametimedisplay $arg1 ]
|
||||
menuitemslider [ Wall clock: ] 0 6 [findlist $wallclockformatlist $wallclockformat] 1 [None "HH:MM (local, 24h)" "HH:MM:SS (local, 24h)" "HH:MM (local, 12h)" "HH:MM:SS (local, 12h)" "HH:MM (UTC/GMT)" "HH:MM:SS (UTC/GMT)"] [ alias wallclockformat (at $wallclockformatlist $arg1)]
|
||||
menuitemslider [ Radar zoom: ] 5 500 [ $radarheight ] 5 [][ radarheight $arg1 ] 1
|
||||
menuitemslider [ Votes: ] 0 2 "$hidevote" 1 ["Always show" "Show until you vote" "Never show"] [ hidevote $arg1 ] 1
|
||||
menuitemslider [ Graphics statistics: ] 0 2 "$showstats" 1 [None "FPS Only" All] [ showstats $arg1 ] 1
|
||||
menuitemslider [ Game time: ] 0 2 "$gametimedisplay" 1 [None "Count backward" "Count forward"] [ gametimedisplay $arg1 ] 1
|
||||
menuitemslider [ Wall clock: ] 0 6 [findlist $wallclockformatlist $wallclockformat] 1 [None "HH:MM (local, 24h)" "HH:MM:SS (local, 24h)" "HH:MM (local, 12h)" "HH:MM:SS (local, 12h)" "HH:MM (UTC/GMT)" "HH:MM:SS (UTC/GMT)"] [ alias wallclockformat (at $wallclockformatlist $arg1)] 1
|
||||
menuitemslider [ Extra messages: ] 0 3 "$hudextras" 1 ["No extra messages" "Show extra messages in console" "Pop up extra messages!" "SPAM EXTRA MESSAGES!"] [ hudextras $arg1 ]
|
||||
menuitemslider [ Hand alignment: ] 0 1 "$righthanded" 1 [Left-handed Right-handed] [ righthanded $arg1 ]
|
||||
menuitemslider [ Hand alignment: ] 0 1 "$righthanded" 1 [Left-handed Right-handed] [ righthanded $arg1 ] 1
|
||||
menuitemslider [ Max-roll: ] 0 (getvarrange max maxroll) "$maxroll" 1 [] [ maxroll $arg1 ]
|
||||
menuitemslider [ Spectator max-roll: ] 0 (getvarrange max maxrollremote) "$maxrollremote" 2 [] [ maxrollremote $arg1 ]
|
||||
|
||||
@@ -167,8 +167,8 @@ menuitemkeyinput "Forward console key: " key_console_forward
|
||||
menuitemkeyinput "End of console key: " key_console_end
|
||||
menuitemkeyinput "Scroll console key (+ mousewheel): " key_console_scroll
|
||||
menuitem "\f4Inlined console graphics settings:" -1
|
||||
menuitemslider (concatword "Igraph size (" (getigraph ")") "): ") 80 300 "$igraphsize" 5 [] [ igraphsize $arg1 ]
|
||||
menuitemslider "Igraph size for menu icons (\i\1): " 80 160 "$igraphsizehardcoded" 5 [] [ igraphsizehardcoded $arg1 ]
|
||||
menuitemslider (concatword "Igraph size (" (getigraph ")") "): ") 80 300 "$igraphsize" 5 [] [ igraphsize $arg1 ] 1
|
||||
menuitemslider "Igraph size for menu icons (\i\1): " 80 160 "$igraphsizehardcoded" 5 [] [ igraphsizehardcoded $arg1 ] 1
|
||||
menuitemcheckbox "Stop igraph animation: " "! $igraphanimate" [ igraphanimate (! $arg1) ]
|
||||
menuitemcheckbox "Disable igraphs: " "$hideigraphs" [ hideigraphs $arg1 ]
|
||||
|
||||
@@ -179,8 +179,8 @@ newmenu "\fsGameplay"
|
||||
alias nickhighlight 0
|
||||
alias __gibsgore 1
|
||||
menuitemtextinput "Nickname: " "result $curname" [ name $arg1 ]
|
||||
menuitemslider "Player skins: " 0 2 "$teamdisplaymode" 1 [Normal "Colored vests" "Full color"] [ teamdisplaymode $arg1 ]
|
||||
menuitemslider "Custom player skins: " 0 2 "$hidecustomskins" 1 ["Always show" "Show in non-team modes" "Never show"] [ hidecustomskins $arg1 ]
|
||||
menuitemslider "Player skins: " 0 2 "$teamdisplaymode" 1 [Normal "Colored vests" "Full color"] [ teamdisplaymode $arg1 ] 1
|
||||
menuitemslider "Custom player skins: " 0 2 "$hidecustomskins" 1 ["Always show" "Show in non-team modes" "Never show"] [ hidecustomskins $arg1 ] 1
|
||||
menuitem "" -1
|
||||
menuitemcheckbox "Reduced violence mode: " "$poniesmodeon" [ reducedviolencemode $arg1 ]
|
||||
menuitemslider "Gib gore: " 0 4 "$__gibsgore" 1 [Off Normal Good Messy Unrealistic] [ gibsgore $arg1 ]
|
||||
@@ -237,7 +237,7 @@ looplist [ subgun 3 assault 2 akimbo 2 ] [ g n ] [ alias (concatword __burstshot
|
||||
menuitemslider [Play hit sounds: ] 0 2 "$hitsound" 1 [Off "When server detects hits" "When client detects hits"] [ hitsound $arg1 ]
|
||||
menuitemcheckbox [Auto weapon reload: ] "$autoreload" [ autoreload $arg1 ]
|
||||
menuitemcheckbox [Auto switch to akimbo upon pickup: ] "$akimboautoswitch" [ akimboautoswitch $arg1 ]
|
||||
menuitemslider [Akimbo end action: ] 0 3 "$akimboendaction" 1 ["Switch to knife" "Stay with pistol" "Switch to grenades" "Switch to primary"] [ akimboendaction $arg1 ]
|
||||
menuitemslider [Akimbo end action: ] 0 3 "$akimboendaction" 1 ["Switch to knife" "Stay with pistol" "Switch to grenades" "Switch to primary"] [ akimboendaction $arg1 ] 1
|
||||
menuitemcheckbox [SMG - Full Auto?] "(= (burstshots SUBGUN -1) 0)" [ if (= $arg1 0) [ burstshots SUBGUN $__burstshots_subgun ] [ burstshots SUBGUN 0 ]; refreshcurmenu ]
|
||||
menuitemcheckbox [AR - Full Auto?] "(= (burstshots ASSAULT -1) 0)" [ if (= $arg1 0) [ burstshots ASSAULT $__burstshots_assault ] [ burstshots ASSAULT 0 ]; refreshcurmenu ]
|
||||
menuitemcheckbox [Akimbo - Full Auto?] "(= (burstshots AKIMBO -1) 0)" [ if (= $arg1 0) [ burstshots AKIMBO $__burstshots_akimbo ] [ burstshots AKIMBO 0 ]; refreshcurmenu ]
|
||||
@@ -696,7 +696,7 @@ menuitemtextinput "Mouse sensitivity: " "$sensitivity" [ sensitivity $arg1
|
||||
menuitemcheckbox "Reduced violence mode: " "$poniesmodeon" [ reducedviolencemode $arg1 ]
|
||||
menuitemslider "Graphics detail: " 1 6 "$gfxqualityalias" 1 [Horrible Low Medium Good High "INSANE! (May perform slowly on older gfx)"] [ new_gfx_quality $arg1 ]
|
||||
menuitemslider "Sound detail: " 1 3 "$__soundquality" 1 [Low Medium High] [ __set_sound_quality $arg1 ]
|
||||
menuitemslider "Field of view: " 75 120 "$fov" 2 [] [ fov $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 ]
|
||||
|
||||
Reference in New Issue
Block a user