name highlight color slider in the gameplay settings menu

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6284 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2011-04-18 05:04:26 +00:00
parent 006d873d44
commit 518ececb37
2 changed files with 8 additions and 7 deletions
+6 -7
View File
@@ -31,12 +31,11 @@ poniesmodeon = 0 // Reduced violence mode.
__gibsgore = 1 // Default value for gibs slider.
// Aliases that should be stored in saved.cfg are defined below
if (! (checkalias ofc_gamma_list)) [
ofc_gamma_list = ""
loop ogl (listlen $defaultmaps) [
add2list ofc_gamma_list $gamma
]
ofc_gamma_list = ""
loop ogl (listlen $defaultmaps) [
add2list ofc_gamma_list $gamma
]
if (! (checkalias dyngamma)) [ dyngamma = 0 ]
if (! (checkalias old_editbinds)) [ old_editbinds = 1 ]
dyngamma = 0
old_editbinds = 1
nickhighlight = 5
+2
View File
@@ -366,6 +366,7 @@ menuitem "Sensible default (30-40 FPS)" [ closemenu "FPS Range"; fpsrange
menuitem "FPS whore (60-60 FPS)" [ closemenu "FPS Range"; fpsrange 60 60 ]
menuitem "I don't understand LOD (100+ FPS)" [ closemenu "FPS Range"; fpsrange 100 1000 ]
if (! (checkalias nickhighlight)) [ nickhighlight = 5 ]
newmenu gameplay
@@ -376,6 +377,7 @@ menuitem "" -1
menuitemcheckbox "Reduced violence mode: " "$poniesmodeon" [ reducedviolencemode $arg1 ]
menuitemcheckbox "Auto weapon reload: " "$autoreload" [ autoreload $arg1 ]
menuitemslider "Gib gore: " 0 4 "$__gibsgore" 1 [ "Off" "Normal" "Good" "Messy" "Unrealistic" ] [ gibsgore $arg1 ]
menuitemslider "Name highlight color: " 0 9 "$nickhighlight" 1 [ " 0green" " 1blue" " 2yellow" " 3red" " 4gray" "white" " 6dark brown" " 7dark red" " 8purple" " 9orange" ] [ nickhighlight = $arg1; HIGHLIGHT = (c $nickhighlight) ]
menuitemcheckbox "Hit sound: " "$hitsound" [ hitsound $arg1 ]
menuitemcheckbox "Show scores on death: " "$showscoresondeath" [ showscoresondeath $arg1 ]
menuitem "Change to the enemy team" [ changeteam ]