Rename fullscreenscript to fullscreentoggle

Commit adds also fullscreen setting to QUICK setup menu.

DOCREF fullscreentoggle
This commit is contained in:
aurhat
2015-03-08 21:22:39 +01:00
parent 63bbd353fc
commit d05ea601bd
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -48,6 +48,7 @@ newmenu [QUICK setup]
menuitemtextinput [Nickname:] [] [ name $arg1 ]
menuitemtextinput [Resolution (Width): ] "$scr_w" [ scr_w $arg1 ]
menuitemtextinput [Resolution (Height): ] "$scr_h" [ scr_h $arg1 ]
menuitemcheckbox [Fullscreen: ] "$fullscreen" [ fullscreen $arg1 ]
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 ]
@@ -264,7 +265,7 @@ menuitemkeyinput [Console output: ] toggleconsole
menuitemkeyinput [Screenshot: ] screenshot
menuitemkeyinput [Map overview: ] toggleshowmap
menuitemkeyinput [Drop CTF flag: ] dropflag
menuitemkeyinput [Fullscreen: ] fullscreenscript
menuitemkeyinput [Fullscreen: ] fullscreentoggle
menuitem [] -1
menuitemtextinput [Lookup a keybind: ] [] [ echo []; echo (concatword (c 9) [Contents of keybind ] $arg1 :); echo (keybind $arg1) ] [] 256
menuitemcheckbox [Use old editing binds?] [ $old_editbinds ] [ old_editbinds = $arg1 ]
+2 -2
View File
@@ -65,9 +65,9 @@ const gibsgore [
]
]
// "fullscreenscript" command:
// "fullscreentoggle" command:
// This command allows swapping of fullscreen mode to be bound to a key.
const fullscreenscript [ fullscreen (! $fullscreen) ]
const fullscreentoggle [ fullscreen (! $fullscreen) ]
const editsvar [ inputcommand $$arg1 (concatword "push q (addpunct $cmdbuf) ; " $arg1 " (at $q 0) ; pop q") (concatword "edit " $arg1 :) ]
const editmapmsg [ editsvar mapmsg ]
const return [ result $arg1 ]