Moved the about, keybind, and options window to a new folder.

This commit is contained in:
Relintai 2022-02-12 19:56:40 +01:00
parent a35d3152ba
commit 4d304f61c3
30 changed files with 70 additions and 67 deletions

View File

@ -7,7 +7,7 @@
[ext_resource path="res://scenes/CharacterSelectorMenu.gd" type="Script" id=5]
[ext_resource path="res://scenes/CharacterCreationMenu.gd" type="Script" id=6]
[ext_resource path="res://ui/player/menu/character_creation_button_group.tres" type="ButtonGroup" id=7]
[ext_resource path="res://ui/options/Options.tscn" type="PackedScene" id=8]
[ext_resource path="res://ui/windows/options/Options.tscn" type="PackedScene" id=8]
[ext_resource path="res://ui/register/Register.tscn" type="PackedScene" id=9]
[ext_resource path="res://ui/login/Login.tscn" type="PackedScene" id=10]
[ext_resource path="res://scenes/ConnectButton.gd" type="Script" id=11]
@ -19,7 +19,7 @@
[ext_resource path="res://tw/new_terramanlibrarymerger.tres" type="TerrainLibraryMerger" id=17]
[ext_resource path="res://tw/new_terramanlevelgenerator.tres" type="TerrainLevelGenerator" id=18]
[ext_resource path="res://scripts/settings/DirectionalLightSettings.gd" type="Script" id=19]
[ext_resource path="res://ui/about/About.tscn" type="PackedScene" id=20]
[ext_resource path="res://ui/windows/about/About.tscn" type="PackedScene" id=20]
[ext_resource path="res://menu/ExitButton.gd" type="Script" id=21]
[ext_resource path="res://ui/scripts/Window.gd" type="Script" id=22]

View File

@ -1,9 +1,9 @@
[gd_scene load_steps=6 format=2]
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=1]
[ext_resource path="res://ui/options/Options.tscn" type="PackedScene" id=2]
[ext_resource path="res://ui/windows/options/Options.tscn" type="PackedScene" id=2]
[ext_resource path="res://ui/ingame_menu/ExitButton.gd" type="Script" id=3]
[ext_resource path="res://ui/keybinds/Keybinds.tscn" type="PackedScene" id=4]
[ext_resource path="res://ui/windows/keybinds/Keybinds.tscn" type="PackedScene" id=4]
[ext_resource path="res://ui/interface/InterfaceOptions.tscn" type="PackedScene" id=5]
[node name="IngameMenu" type="Control"]
@ -99,6 +99,7 @@ margin_left = -331.0
margin_top = -224.5
margin_right = 331.0
margin_bottom = 224.5
[connection signal="pressed" from="Menu/VBoxContainer/Resume" to="." method="hide"]
[connection signal="pressed" from="Menu/VBoxContainer/Keybinds" to="KeybindWindow" method="show"]
[connection signal="pressed" from="Menu/VBoxContainer/Interface" to="InterfaceOptions" method="show"]

View File

@ -1,12 +1,12 @@
[gd_scene load_steps=10 format=2]
[ext_resource path="res://ui/about/GodotAuthors.gd" type="Script" id=1]
[ext_resource path="res://ui/about/GodotDonors.gd" type="Script" id=2]
[ext_resource path="res://ui/windows/about/GodotAuthors.gd" type="Script" id=1]
[ext_resource path="res://ui/windows/about/GodotDonors.gd" type="Script" id=2]
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=3]
[ext_resource path="res://ui/about/GodotLicense.gd" type="Script" id=4]
[ext_resource path="res://ui/about/GodotThirdPartyLicenses.gd" type="Script" id=5]
[ext_resource path="res://ui/about/Authors.gd" type="Script" id=6]
[ext_resource path="res://ui/about/Third-Party Licenses.gd" type="Script" id=7]
[ext_resource path="res://ui/windows/about/GodotLicense.gd" type="Script" id=4]
[ext_resource path="res://ui/windows/about/GodotThirdPartyLicenses.gd" type="Script" id=5]
[ext_resource path="res://ui/windows/about/Authors.gd" type="Script" id=6]
[ext_resource path="res://ui/windows/about/Third-Party Licenses.gd" type="Script" id=7]
[ext_resource path="res://ui/scripts/Window.gd" type="Script" id=8]
[ext_resource path="res://ui/scripts/KeyboardTabContainer.gd" type="Script" id=9]

View File

@ -1,16 +1,16 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://ui/keybinds/KeybindCategory.gd" type="Script" id=1]
[ext_resource path="res://ui/keybinds/KeybindEntry.tscn" type="PackedScene" id=2]
[ext_resource path="res://ui/windows/keybinds/KeybindEntry.tscn" type="PackedScene" id=1]
[ext_resource path="res://ui/windows/keybinds/KeybindCategory.gd" type="Script" id=2]
[node name="KeybindCategory" type="VBoxContainer"]
margin_right = 1016.0
margin_bottom = 23.0
script = ExtResource( 1 )
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
keybind_entry_scene = ExtResource( 2 )
keybind_entry_scene = ExtResource( 1 )
content_container_path = NodePath("VBoxContainer/content")
[node name="Label" type="Label" parent="."]

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://ui/keybinds/KeybindEntry.gd" type="Script" id=1]
[ext_resource path="res://ui/windows/keybinds/KeybindEntry.gd" type="Script" id=1]
[node name="KeybindEntry" type="HBoxContainer"]
margin_right = 996.0
@ -30,5 +30,6 @@ margin_right = 996.0
margin_bottom = 37.0
rect_min_size = Vector2( 200, 30 )
text = "empty"
[connection signal="pressed" from="Button" to="." method="query_keybind_1"]
[connection signal="pressed" from="Button2" to="." method="query_keybind_2"]

View File

@ -1,25 +1,25 @@
[gd_scene load_steps=11 format=2]
[ext_resource path="res://ui/keybinds/Keybinds.gd" type="Script" id=1]
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=2]
[ext_resource path="res://ui/keybinds/KeybindCategory.tscn" type="PackedScene" id=3]
[ext_resource path="res://ui/icons/icon_mouse.png" type="Texture" id=4]
[ext_resource path="res://ui/icons/icon_keyboard.png" type="Texture" id=5]
[ext_resource path="res://ui/icons/icon_joy_button.png" type="Texture" id=6]
[ext_resource path="res://ui/icons/icon_remove.png" type="Texture" id=7]
[ext_resource path="res://ui/icons/icon_add.png" type="Texture" id=8]
[ext_resource path="res://ui/icons/icon_edit.png" type="Texture" id=9]
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=1]
[ext_resource path="res://ui/icons/icon_add.png" type="Texture" id=2]
[ext_resource path="res://ui/icons/icon_edit.png" type="Texture" id=3]
[ext_resource path="res://ui/icons/icon_remove.png" type="Texture" id=4]
[ext_resource path="res://ui/windows/keybinds/KeybindCategory.tscn" type="PackedScene" id=5]
[ext_resource path="res://ui/windows/keybinds/Keybinds.gd" type="Script" id=6]
[ext_resource path="res://ui/icons/icon_joy_button.png" type="Texture" id=7]
[ext_resource path="res://ui/icons/icon_mouse.png" type="Texture" id=8]
[ext_resource path="res://ui/icons/icon_keyboard.png" type="Texture" id=9]
[ext_resource path="res://ui/icons/icon_joy_axis.png" type="Texture" id=10]
[node name="KeybindWindow" type="PanelContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 2 )
script = ExtResource( 1 )
theme = ExtResource( 1 )
script = ExtResource( 6 )
__meta__ = {
"_edit_use_anchors_": false
}
keybind_category_scene = ExtResource( 3 )
keybind_category_scene = ExtResource( 5 )
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 4.0
@ -51,13 +51,13 @@ margin_right = 1016.0
margin_bottom = 554.0
size_flags_horizontal = 3
size_flags_vertical = 3
add_texture = ExtResource( 8 )
remove_texture = ExtResource( 7 )
edit_texture = ExtResource( 9 )
keyboard_texture = ExtResource( 5 )
joybutton_texture = ExtResource( 6 )
add_texture = ExtResource( 2 )
remove_texture = ExtResource( 4 )
edit_texture = ExtResource( 3 )
keyboard_texture = ExtResource( 9 )
joybutton_texture = ExtResource( 7 )
joyaxis_texture = ExtResource( 10 )
mouse_texture = ExtResource( 4 )
mouse_texture = ExtResource( 8 )
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
margin_top = 562.0
@ -78,6 +78,7 @@ margin_right = 1016.0
margin_bottom = 30.0
rect_min_size = Vector2( 80, 30 )
text = "OK"
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Button" to="." method="hide"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/Button" to="." method="hide"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/Button2" to="." method="close"]

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://ui/options/OptionButtonRow.gd" type="Script" id=1]
[ext_resource path="res://ui/windows/options/OptionButtonRow.gd" type="Script" id=1]
[node name="OptionButtonRow" type="HBoxContainer"]
margin_right = 527.0

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://ui/options/OptionToggleRow.gd" type="Script" id=1]
[ext_resource path="res://ui/windows/options/OptionToggleRow.gd" type="Script" id=1]
[node name="OptionToggleRow" type="HBoxContainer"]
margin_top = 34.0

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://ui/options/OptionEnumRow.gd" type="Script" id=1]
[ext_resource path="res://ui/windows/options/OptionEnumRow.gd" type="Script" id=1]
[node name="OptionEnumRow" type="HBoxContainer"]
margin_top = 34.0

View File

@ -1,14 +1,14 @@
[gd_scene load_steps=10 format=2]
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=1]
[ext_resource path="res://ui/player/player_ui/RemoveProfile.gd" type="Script" id=2]
[ext_resource path="res://ui/options/OptionsViewportLabel.tscn" type="PackedScene" id=3]
[ext_resource path="res://ui/options/OptionCheckboxRow.tscn" type="PackedScene" id=4]
[ext_resource path="res://ui/options/OptionCheckBox.gd" type="Script" id=5]
[ext_resource path="res://ui/options/OptionEnumRow.tscn" type="PackedScene" id=6]
[ext_resource path="res://ui/windows/options/OptionEnumRow.tscn" type="PackedScene" id=2]
[ext_resource path="res://ui/windows/options/OptionCheckboxRow.tscn" type="PackedScene" id=3]
[ext_resource path="res://ui/player/player_ui/RemoveProfile.gd" type="Script" id=4]
[ext_resource path="res://ui/windows/options/OptionsViewportLabel.tscn" type="PackedScene" id=5]
[ext_resource path="res://ui/windows/options/OptionCheckBox.gd" type="Script" id=6]
[ext_resource path="res://ui/scripts/Window.gd" type="Script" id=7]
[ext_resource path="res://ui/options/OptionsSpinboxRow.tscn" type="PackedScene" id=8]
[ext_resource path="res://ui/scripts/KeyboardTabContainer.gd" type="Script" id=9]
[ext_resource path="res://ui/scripts/KeyboardTabContainer.gd" type="Script" id=8]
[ext_resource path="res://ui/windows/options/OptionsSpinboxRow.tscn" type="PackedScene" id=9]
[node name="Options" type="Control"]
anchor_right = 1.0
@ -46,7 +46,7 @@ margin_bottom = 431.0
size_flags_horizontal = 3
size_flags_vertical = 3
tab_align = 0
script = ExtResource( 9 )
script = ExtResource( 8 )
focus_control_on_tab_change_path = NodePath("../Close")
[node name="Video" type="VBoxContainer" parent="PanelContainer/VBoxContainer/TabContainer"]
@ -58,17 +58,17 @@ margin_right = -4.0
margin_bottom = -4.0
size_flags_horizontal = 3
[node name="ViewportWidth" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 3 )]
[node name="ViewportWidth" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 5 )]
margin_bottom = 15.0
property_label = "Viewport Width"
[node name="ViewportHeight" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 3 )]
[node name="ViewportHeight" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 5 )]
margin_top = 23.0
margin_bottom = 38.0
property_label = "Viewport Height"
width = false
[node name="ViewportScale" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 8 )]
[node name="ViewportScale" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 9 )]
margin_top = 46.0
margin_bottom = 70.0
property_category = "rendering"
@ -78,28 +78,28 @@ min_value = 20.0
step = 5.0
suffix = "%"
[node name="Borderless" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 4 )]
[node name="Borderless" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 3 )]
margin_top = 78.0
margin_bottom = 104.0
property_category = "rendering"
property_name = "borderless"
property_label = "Borderless Window"
[node name="FullScreen" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 4 )]
[node name="FullScreen" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 3 )]
margin_top = 112.0
margin_bottom = 138.0
property_category = "rendering"
property_name = "fullscreen"
property_label = "Fullscreen"
[node name="AlwaysOnTop" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 4 )]
[node name="AlwaysOnTop" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 3 )]
margin_top = 146.0
margin_bottom = 172.0
property_category = "rendering"
property_name = "always_on_top"
property_label = "Always On Top"
[node name="ThreadModel" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 6 )]
[node name="ThreadModel" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 2 )]
margin_top = 180.0
margin_bottom = 206.0
property_category = "rendering"
@ -107,21 +107,21 @@ property_name = "thread_model"
property_label = "Thread Model"
options = [ "Single-Unsafe", "Single-Safe", "Multi Threaded" ]
[node name="Shadows" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 4 )]
[node name="Shadows" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 3 )]
margin_top = 214.0
margin_bottom = 240.0
property_category = "rendering"
property_name = "shadows_enabled"
property_label = "Shadows Enabled"
[node name="VSync" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 4 )]
[node name="VSync" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 3 )]
margin_top = 248.0
margin_bottom = 274.0
property_category = "rendering"
property_name = "use_vsync"
property_label = "VSync"
[node name="VSyncViaCompositor" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 4 )]
[node name="VSyncViaCompositor" parent="PanelContainer/VBoxContainer/TabContainer/Video" instance=ExtResource( 3 )]
margin_top = 282.0
margin_bottom = 308.0
property_category = "rendering"
@ -138,7 +138,7 @@ margin_right = -4.0
margin_bottom = -4.0
size_flags_horizontal = 3
[node name="OptionsSpinboxRow" parent="PanelContainer/VBoxContainer/TabContainer/Game" instance=ExtResource( 8 )]
[node name="OptionsSpinboxRow" parent="PanelContainer/VBoxContainer/TabContainer/Game" instance=ExtResource( 9 )]
margin_top = 0.0
margin_bottom = 24.0
property_category = "game"
@ -148,7 +148,7 @@ min_value = 2.0
max_value = 30.0
step = 1.0
[node name="OptionsSpinboxRow2" parent="PanelContainer/VBoxContainer/TabContainer/Game" instance=ExtResource( 8 )]
[node name="OptionsSpinboxRow2" parent="PanelContainer/VBoxContainer/TabContainer/Game" instance=ExtResource( 9 )]
margin_top = 32.0
margin_bottom = 56.0
property_category = "game"
@ -157,7 +157,7 @@ property_label = "Chunk Lod First Falloff"
max_value = 30.0
step = 1.0
[node name="OptionsSpinboxRow3" parent="PanelContainer/VBoxContainer/TabContainer/Game" instance=ExtResource( 8 )]
[node name="OptionsSpinboxRow3" parent="PanelContainer/VBoxContainer/TabContainer/Game" instance=ExtResource( 9 )]
margin_top = 64.0
margin_bottom = 88.0
property_category = "game"
@ -176,14 +176,14 @@ margin_right = -4.0
margin_bottom = -4.0
size_flags_horizontal = 3
[node name="OptionToggleRow" parent="PanelContainer/VBoxContainer/TabContainer/Interface" instance=ExtResource( 4 )]
[node name="OptionToggleRow" parent="PanelContainer/VBoxContainer/TabContainer/Interface" instance=ExtResource( 3 )]
margin_top = 0.0
margin_bottom = 26.0
property_category = "ui"
property_name = "touchscreen_mode"
property_label = "Touchscreen Mode"
[node name="OptionsSpinboxRow" parent="PanelContainer/VBoxContainer/TabContainer/Interface" instance=ExtResource( 8 )]
[node name="OptionsSpinboxRow" parent="PanelContainer/VBoxContainer/TabContainer/Interface" instance=ExtResource( 9 )]
margin_top = 34.0
margin_bottom = 58.0
property_category = "ui"
@ -194,7 +194,7 @@ max_value = 2.4
step = 0.01
rounded = false
[node name="OptionsSpinboxRow2" parent="PanelContainer/VBoxContainer/TabContainer/Interface" instance=ExtResource( 8 )]
[node name="OptionsSpinboxRow2" parent="PanelContainer/VBoxContainer/TabContainer/Interface" instance=ExtResource( 9 )]
margin_top = 66.0
margin_bottom = 90.0
property_category = "ui"
@ -205,14 +205,14 @@ max_value = 2.4
step = 0.01
rounded = false
[node name="OptionToggleRow2" parent="PanelContainer/VBoxContainer/TabContainer/Interface" instance=ExtResource( 4 )]
[node name="OptionToggleRow2" parent="PanelContainer/VBoxContainer/TabContainer/Interface" instance=ExtResource( 3 )]
margin_top = 98.0
margin_bottom = 124.0
property_category = "ui"
property_name = "actionbar_show_keybind_text"
property_label = "Show Keybind Text"
[node name="OptionToggleRow3" parent="PanelContainer/VBoxContainer/TabContainer/Interface" instance=ExtResource( 4 )]
[node name="OptionToggleRow3" parent="PanelContainer/VBoxContainer/TabContainer/Interface" instance=ExtResource( 3 )]
margin_top = 132.0
margin_bottom = 158.0
property_category = "ui"
@ -233,7 +233,7 @@ size_flags_horizontal = 3
margin_right = 527.0
margin_bottom = 26.269
text = "Show Debug info"
script = ExtResource( 5 )
script = ExtResource( 6 )
property_category = "debug"
property_name = "debug_info"
@ -243,7 +243,7 @@ margin_right = 527.0
margin_bottom = 60.269
size_flags_horizontal = 3
text = "Remove Profile"
script = ExtResource( 2 )
script = ExtResource( 4 )
[node name="Close" type="Button" parent="PanelContainer/VBoxContainer"]
margin_top = 439.0

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://ui/options/OptionsSliderRow.gd" type="Script" id=1]
[ext_resource path="res://ui/windows/options/OptionsSliderRow.gd" type="Script" id=1]
[node name="OptionsSliderRow" type="HBoxContainer"]
margin_top = 46.0

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://ui/options/OptionsSpinboxRow.gd" type="Script" id=1]
[ext_resource path="res://ui/windows/options/OptionsSpinboxRow.gd" type="Script" id=1]
[node name="OptionsSpinboxRow" type="HBoxContainer"]
margin_top = 70.0

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://ui/options/OptionsViewportLabel.gd" type="Script" id=1]
[ext_resource path="res://ui/windows/options/OptionsViewportLabel.gd" type="Script" id=1]
[node name="OptionsViewportLabel" type="HBoxContainer"]
margin_right = 527.0