diff options
author | George L. Albany <Megacake1234@gmail.com> | 2024-01-22 11:36:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 11:36:03 +0100 |
commit | 069f07a16daf04982677182caf39498e1539f3f0 (patch) | |
tree | bb8d68e013c3a815f1a1e418e564f03a9a2a451b /game/src/Game/GameStart.tscn | |
parent | 0840fd621cf35201f1e5ef90ad09033a2242b181 (diff) | |
parent | 9bca5cf3206a54b2e587cefab80d9dbcbbd002af (diff) |
Merge pull request #198 from Spartan322/add/vic2-file-picker
Add Victoria 2 Folder Picker dialog
Diffstat (limited to 'game/src/Game/GameStart.tscn')
-rw-r--r-- | game/src/Game/GameStart.tscn | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/game/src/Game/GameStart.tscn b/game/src/Game/GameStart.tscn index eccddc9..3b3a41f 100644 --- a/game/src/Game/GameStart.tscn +++ b/game/src/Game/GameStart.tscn @@ -7,7 +7,7 @@ [ext_resource type="Texture2D" uid="uid://cgdnixsyh7bja" path="res://assets/graphics/splash_image.png" id="4_5b6yq"] [ext_resource type="VideoStream" path="res://assets/graphics/splash_startup.ogv" id="5_8euyy"] -[node name="GameStartup" type="Control" node_paths=PackedStringArray("loading_screen")] +[node name="GameStartup" type="Control" node_paths=PackedStringArray("loading_screen", "vic2_dir_dialog")] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 @@ -16,6 +16,7 @@ grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_e0cos") loading_screen = NodePath("LoadingScreen") +vic2_dir_dialog = NodePath("Vic2DirDialog") [node name="LoadingScreen" parent="." instance=ExtResource("2_h0oiw")] visible = false @@ -51,5 +52,17 @@ stream = ExtResource("5_8euyy") autoplay = true expand = true +[node name="Vic2DirDialog" type="FileDialog" parent="."] +process_mode = 2 +disable_3d = true +title = "VIC2_DIR_DIALOG_TITLE" +size = Vector2i(935, 159) +ok_button_text = "VIC2_DIR_DIALOG_SELECT" +cancel_button_text = "VIC2_DIR_DIALOG_CANCEL" +mode_overrides_title = false +file_mode = 2 +access = 2 +show_hidden_files = true + [connection signal="splash_end" from="SplashContainer" to="." method="_on_splash_container_splash_end"] [connection signal="finished" from="SplashContainer/SplashVideo" to="SplashContainer" method="_on_splash_startup_finished"] |