From 16025d1aca46e19330acb7e6dcf76bf20ec97e03 Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Sun, 14 May 2023 07:33:42 -0400 Subject: Fix incomplete #110 requirement documentation Fix incorrect reference to UIFUN-83 as UIFUNC-83 Also fulfills: SS-18 UI-39, UI-40, UI-41, UI-86, UI-93 UIFUN-77, UIFUN-78 FS-8 --- game/src/SaveLoadMenu/SaveLoadMenu.gd | 6 +++++- game/src/SaveLoadMenu/SavePanelButton.tscn | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'game/src/SaveLoadMenu') diff --git a/game/src/SaveLoadMenu/SaveLoadMenu.gd b/game/src/SaveLoadMenu/SaveLoadMenu.gd index abf1f8c..bff0bb5 100644 --- a/game/src/SaveLoadMenu/SaveLoadMenu.gd +++ b/game/src/SaveLoadMenu/SaveLoadMenu.gd @@ -24,6 +24,8 @@ func filter_for_tag(tag : StringName) -> void: else: child.hide() +# Requirements +# * UIFUN-78 func show_for_load() -> void: _label.text = "SAVELOADMENU_LOAD_TITLE" _save_load_button.text = "SAVELOADMENU_LOAD_BUTTON" @@ -31,6 +33,8 @@ func show_for_load() -> void: is_save_menu = false show() +# Requirements +# * UIFUN-77 func show_for_save() -> void: _label.text = "SAVELOADMENU_SAVE_TITLE" _save_load_button.text = "SAVELOADMENU_SAVE_BUTTON" @@ -72,7 +76,7 @@ func _on_delete_dialog_confirmed() -> void: _requested_node_to_delete.queue_free() # REQUIREMENTS: -# * UIFUNC-83 +# * UIFUN-83 func _on_overwrite_dialog_confirmed() -> void: SaveManager.add_or_replace_save(SaveManager.make_new_save(_submitted_text)) _on_close_button_pressed() diff --git a/game/src/SaveLoadMenu/SavePanelButton.tscn b/game/src/SaveLoadMenu/SavePanelButton.tscn index 3a71a57..d2d0a41 100644 --- a/game/src/SaveLoadMenu/SavePanelButton.tscn +++ b/game/src/SaveLoadMenu/SavePanelButton.tscn @@ -3,7 +3,7 @@ [ext_resource type="Script" path="res://src/SaveLoadMenu/SavePanelButton.gd" id="1_rtuo6"] [node name="SavePanelButton" type="Container" node_paths=PackedStringArray("country_flag", "date_label", "delete_button", "background_button", "name_label")] -editor_description = "UI-84, UI-91" +editor_description = "SS-18, UI-40, UI-84, UI-86, UI-91, UI-93" offset_right = 276.0 offset_bottom = 48.0 script = ExtResource("1_rtuo6") -- cgit v1.2.3-56-ga3b1