aboutsummaryrefslogtreecommitdiff
path: root/game/src/GameStart.tscn
diff options
context:
space:
mode:
author Spartan322 <Megacake1234@gmail.com>2023-04-29 08:49:48 +0200
committer Spartan322 <Megacake1234@gmail.com>2023-05-02 01:00:09 +0200
commit865e7aeca7c3090fee914b9ebde9490ef23d3559 (patch)
tree7836ab6e2e5bd751c226d86646883f8424577a7c /game/src/GameStart.tscn
parent10053cf259c55ee45803268a844edf1011d8a16b (diff)
Add ArgumentParser
Streamlines parsing of commandline arguments Arguments reside in ProjectSettings as `openvic2/data/arguments` as a dictionary The dictionary's key is the option name The dictionary is set with default values This enables project setting overrides for arguments (user specified arguments take priority) Add help commandline option Prepare for removal of GameDebug.gd Add game project description
Diffstat (limited to 'game/src/GameStart.tscn')
-rw-r--r--game/src/GameStart.tscn5
1 files changed, 4 insertions, 1 deletions
diff --git a/game/src/GameStart.tscn b/game/src/GameStart.tscn
index 2046bb5..d5f9d45 100644
--- a/game/src/GameStart.tscn
+++ b/game/src/GameStart.tscn
@@ -1,5 +1,6 @@
-[gd_scene load_steps=6 format=3 uid="uid://1udsn4mggep2"]
+[gd_scene load_steps=7 format=3 uid="uid://1udsn4mggep2"]
+[ext_resource type="PackedScene" uid="uid://dayjmgc34tqo6" path="res://src/ArgumentParser.tscn" id="1_oe61r"]
[ext_resource type="PackedScene" uid="uid://o4u142w4qkln" path="res://src/GameMenu.tscn" id="1_wlojq"]
[ext_resource type="Script" path="res://src/SplashContainer.gd" id="2_xmcgv"]
[ext_resource type="Texture2D" uid="uid://deef5hufq0j61" path="res://splash_assets/splash_end.png" id="3_qfv12"]
@@ -14,6 +15,8 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
+[node name="ArgumentParser" parent="." instance=ExtResource("1_oe61r")]
+
[node name="GameMenu" parent="." instance=ExtResource("1_wlojq")]
visible = false
layout_mode = 1