forked from townforge/townforge
194 lines
7.0 KiB
Plaintext
194 lines
7.0 KiB
Plaintext
WindowInfo
|
|
title Options
|
|
centered-relative-size: .7 .7
|
|
modal: 1
|
|
|
|
TBTabContainer
|
|
gravity: "all"
|
|
id: "tab-container"
|
|
tabs
|
|
TBButton: text: "Graphics"
|
|
TBButton: text: "Controls"
|
|
TBButton: text: "Audio"
|
|
TBButton: text: "UI"
|
|
TBButton: text: "Node"
|
|
TBButton: text: "Tutorial"
|
|
|
|
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
|
|
|
|
TBLayout: axis x, distribution-position: "left top", distribution: "gravity", size: "preferred"
|
|
|
|
TBSelectDropdown: id: "monitor"
|
|
TBSelectDropdown: id: "resolution"
|
|
|
|
TBLayout: axis x, distribution-position: "left top", distribution: "gravity", size: "preferred"
|
|
|
|
TBTextField: text: "Shadow quality"
|
|
TBSelectDropdown: id: "shadows", value: 0
|
|
items
|
|
item: id: "shadows-blur-vsm", text: "Blur VSM (best)"
|
|
item: id: "shadows-vsm", text: "VSM"
|
|
item: id: "shadows-pcf-24bit", text: "PCF 24 bit"
|
|
item: id: "shadows-pcf-16bit", text: "PCF 16 bit"
|
|
item: id: "shadows-simple-24bit", text: "Simple 24 bit"
|
|
item: id: "shadows-simple-16bit", text: "Simple 16 bit (fastest)"
|
|
item: id: "shadows-off", text: "Off"
|
|
|
|
TBLayout: axis x, distribution-position: "left top", distribution: "gravity", size: "preferred"
|
|
TBTextField: text: "Shadow map size"
|
|
TBSelectDropdown: id: "shadow-map-size", value: 0
|
|
items
|
|
item: id: "shadowmap-2048", text: "2048"
|
|
item: id: "shadowmap-1024", text: "1024"
|
|
item: id: "shadowmap-512", text: "512"
|
|
|
|
TBLayout: axis x, distribution-position: "left top", distribution: "gravity"
|
|
|
|
TBClickLabel: text: "Clouds"
|
|
lp: min-width: 200
|
|
TBCheckBox: id: "clouds"
|
|
|
|
TBLayout: axis x, distribution-position: "left top", distribution: "gravity"
|
|
|
|
TBClickLabel: text: "Dynamic sky"
|
|
lp: min-width: 200
|
|
TBCheckBox: id: "dynamic-sky"
|
|
|
|
TBLayout: axis x, distribution-position: "left top", distribution: "gravity", size: "preferred"
|
|
|
|
TBTextField: text: "View distance:"
|
|
TBInlineSelect: id: "view-distance", min: 1, max: 100
|
|
|
|
TBLayout: axis x, distribution-position: "left top", distribution: "gravity"
|
|
|
|
TBClickLabel: text: "Specific time of day"
|
|
TBCheckBox: id: "override-time-of-day"
|
|
TBButton: id: "dec-time-of-day"
|
|
TBImageWidget: filename: "resources/default_skin/arrow_left.png"
|
|
TBSlider: id: "time-of-day", min: 0, max: 360, step: 1, gravity: "all"
|
|
TBButton: id: "inc-time-of-day"
|
|
TBImageWidget: filename: "resources/default_skin/arrow_right.png"
|
|
|
|
TBLayout: axis x, distribution-position: "left top", distribution: "gravity"
|
|
|
|
TBClickLabel: text: "Show flags"
|
|
lp: min-width: 200
|
|
TBCheckBox: id: "show-hide-flags"
|
|
|
|
TBLayout: axis x, distribution-position: "left top", distribution: "gravity", size: "preferred"
|
|
|
|
TBTextField: text: "Max active FPS:"
|
|
TBInlineSelect: id: "max-active-fps", min: 1, max: 120
|
|
|
|
TBLayout: axis x, distribution-position: "left top", distribution: "gravity", size: "preferred"
|
|
|
|
TBTextField: text: "Max inactive FPS:"
|
|
TBInlineSelect: id: "max-inactive-fps", min: 1, max: 120
|
|
|
|
TBLayout: axis: x, distribution: "available"
|
|
TBLayout: axis: y, distribution-position: "center top", distribution: "gravity"
|
|
TBTextField: text: "Double click on a row, then hit a key or a mouse button to set"
|
|
TBTextField: text: "Click on a row, then hit delete to unset"
|
|
TBSelectList: id: "controls", gravity: "top bottom"
|
|
lp:
|
|
min-width: 400
|
|
max-width: 400
|
|
TBButton: id: "controls-reset", text: "Reset to defaults"
|
|
TBLayout: axis: y
|
|
TBClickLabel: text: "Invert mouse Y"
|
|
TBCheckBox: id: "invert-mouse-y"
|
|
TBLayout: axis: x, distribution: "gravity"
|
|
TBTextField: text: "Mouse sensitivity"
|
|
TBSlider: id: "mouse-sensitivity", min: -75, max: 150, step: 1, gravity: "left right"
|
|
TBLayout: axis: x, distribution: "gravity"
|
|
TBTextField: text: "Keyboard turn rate"
|
|
TBSlider: id: "turn-rate", min: -75, max: 150, step: 1, gravity: "left right"
|
|
|
|
TBLayout: axis: x, distribution: "available"
|
|
TBLayout: axis: y, distribution-position: "center", distribution: "gravity"
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Music"
|
|
TBSelectDropdown: id: "music-track"
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Music volume"
|
|
TBSlider: id: "music-volume", min: 0, max: 100, step: 1, gravity: "all"
|
|
lp:
|
|
min-width: 120
|
|
|
|
TBSeparator
|
|
|
|
TBLayout: axis: x
|
|
TBClickLabel: text: "Play SFX on new block"
|
|
TBCheckBox: id: "play-sfx-on-new-block"
|
|
|
|
TBLayout: axis: x
|
|
TBTextField: text: "SFX volume"
|
|
TBSlider: id: "sfx-volume", min: 0, max: 100, step: 1, gravity: "all"
|
|
lp:
|
|
min-width: 120
|
|
|
|
TBButton: id: "music-skip-track", text: "Skip track"
|
|
|
|
TBLayout: axis: y, distribution-position: "center", distribution: "gravity"
|
|
TBLayout: axis: x, gravity: "left"
|
|
TBTextField: text: "Font size"
|
|
TBInlineSelect: id: "font-size", min: 8, max: 100
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Compass"
|
|
TBSelectDropdown: id: "compass"
|
|
items
|
|
item: id: "compass-off", text: "Off"
|
|
item: id: "compass-small", text: "Small"
|
|
item: id: "compass-medium", text: "Medium"
|
|
item: id: "compass-large", text: "Large"
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Calendar"
|
|
TBSelectDropdown: id: "calendar"
|
|
items
|
|
item: id: "calendar-off", text: "Off"
|
|
item: id: "calendar-small", text: "Small"
|
|
item: id: "calendar-medium", text: "Medium"
|
|
item: id: "calendar-large", text: "Large"
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Thermometer"
|
|
TBSelectDropdown: id: "thermometer"
|
|
items
|
|
item: id: "thermometer-off", text: "Off"
|
|
item: id: "thermometer-small", text: "Small"
|
|
item: id: "thermometer-medium", text: "Medium"
|
|
item: id: "thermometer-large", text: "Large"
|
|
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Notification lifetime"
|
|
TBInlineSelect: id: "notification-lifetime", min: 1, max: 30
|
|
TBTextField: text: "seconds"
|
|
|
|
TBLayout: axis: y, distribution-position: "center", distribution: "gravity"
|
|
TBTextField: text: "Townforge can automatically start and stop the node along with the game"
|
|
TBTextField: text: "If this option is disabled, you will have to manage the mode yourself"
|
|
TBClickLabel: text: "Automatically start/stop node"
|
|
TBCheckBox: id: "control-daemon"
|
|
TBToggleContainer: id: "daemon-options", toggle: "enabled", gravity: "all"
|
|
TBSeparator
|
|
TBLayout: axis: y, distribution-position: "left"
|
|
TBTextField: text: "Blockchain directory"
|
|
TBEditField: id: "daemon-data-dir", placeholder: "Empty for default", gravity: "left right"
|
|
TBSeparator
|
|
TBTextField: text: "Log settings"
|
|
TBEditField: id: "daemon-log", placeholder: "0-4 for level, list of categories, or empty for default", gravity: "left right"
|
|
TBSeparator
|
|
TBButton: id: "restart-daemon", text: "Set daemon configuration"
|
|
|
|
TBLayout: axis: y, distribution-position: "center", distribution: "gravity"
|
|
TBClickLabel: text: "Enable tutorial"
|
|
TBCheckBox: id: "enable-tutorial"
|
|
|
|
TBSeparator
|
|
TBTextField: text: "You can reset the tutorial to see it all again:"
|
|
TBButton: id: "reset-tutorial", text: "Reset tutorial"
|
|
|
|
TBSeparator
|
|
|
|
TBTextField: text: "Double click on any tutorial to view it:"
|
|
TBSelectList: id: "tutorials", gravity: "all"
|