From 0d64f4adf648f80e5a00b4659da01388a48e2f81 Mon Sep 17 00:00:00 2001 From: Adrian Schmid Date: Tue, 18 Jul 2023 20:59:00 +0200 Subject: [PATCH] some notes for me + debug function for printing settings --- src/singletons/global_state.gd | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/src/singletons/global_state.gd b/src/singletons/global_state.gd index 298009f..29c4248 100644 --- a/src/singletons/global_state.gd +++ b/src/singletons/global_state.gd @@ -1,11 +1,11 @@ extends Node - -var screen_reader:bool = false -var disable_rendering: bool = false -var simplified_navigation:bool = false -var show_navigation_buttons: bool = false -var enable_subtitles: bool = false -var enable_closed_caption: bool = false + # For Startup Scene: +var screen_reader:bool = false # Screenreader +var disable_rendering: bool = false # show nav button +var simplified_navigation:bool = false # simplified controls +var show_navigation_buttons: bool = false # show nav ui +var enable_subtitles: bool = false # ItemList2 +var enable_closed_caption: bool = false # ItemList2 var reduce_motion: bool = false var streaming_content_notes: bool = false var show_content_notes: bool = false @@ -87,3 +87,17 @@ func transition_stage_to(thief: Object): func queue_for_stage(target: Object, index: int = 1): stage_list.insert(index, target) + +func print_settings(): + print_debug("Screenreader: ", screen_reader, " / ", + "Disable rendering: ", disable_rendering, " / ", + "Simplified controls: ", simplified_navigation, " / ", + "Show navigation buttons: ", show_navigation_buttons, " / ", + "Enable subtitles: ", enable_subtitles, " / ", + "Enable CC: ", enable_closed_caption, " / ") + + + + + +