option for speccy help

This commit is contained in:
Haze Weathers 2025-01-06 05:04:29 -05:00
parent dce789752f
commit bc234930b0
4 changed files with 43 additions and 7 deletions

View file

@ -14,6 +14,7 @@ onready var select_tab: HBoxContainer = $"%SelectTab"
onready var rumble: HBoxContainer = $"%SelectRumble"
onready var gore: HBoxContainer = $"%SelectGore"
onready var speedrun_timer: HBoxContainer = $"%SelectSpeedrunTimer"
onready var speccy_help: HBoxContainer = $"%SelectSpeccyHelp"
onready var fullscreen: HBoxContainer = $"%SelectFullscreen"
onready var window_size: HBoxContainer = $"%SelectWindowSize"
onready var scaling: HBoxContainer = $"%SelectScaling"
@ -49,6 +50,7 @@ func _init_values() -> void:
rumble.selection = Options.rumble
gore.selection = Options.gore
speedrun_timer.selection = 1 if Options.speedrun_timer else 0
speccy_help.selection = 1 if Options.speccy_help else 0
# video
fullscreen.selection = 1 if Options.fullscreen else 0
window_size.selection = int(Options.window_size) - 1
@ -86,6 +88,9 @@ func _on_Gore_selected(selection) -> void:
func _on_SelectSpeedrunTimer_selected(selection) -> void:
Options.speedrun_timer = selection == 1
func _on_SelectSpeccyHelp_selected(selection) -> void:
Options.speccy_help = selection == 1
#
# VIDEO