summaryrefslogtreecommitdiff
path: root/Scenes/Game/Game.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'Scenes/Game/Game.tscn')
-rw-r--r--Scenes/Game/Game.tscn51
1 files changed, 28 insertions, 23 deletions
diff --git a/Scenes/Game/Game.tscn b/Scenes/Game/Game.tscn
index 7ea6324..e2f7bc2 100644
--- a/Scenes/Game/Game.tscn
+++ b/Scenes/Game/Game.tscn
@@ -1,38 +1,43 @@
-[gd_scene load_steps=6 format=2]
+[gd_scene load_steps=7 format=2]
-[ext_resource path="res://Scenes/Game/StatusLine.tscn" type="PackedScene" id=1]
-[ext_resource path="res://Scenes/Game/Output.tscn" type="PackedScene" id=2]
-[ext_resource path="res://Scenes/Game/Input.tscn" type="PackedScene" id=3]
+[ext_resource path="res://Scenes/Terminal/Screen.tscn" type="PackedScene" id=1]
+[ext_resource path="res://Scenes/Terminal/OutputArea.tscn" type="PackedScene" id=2]
+[ext_resource path="res://Scenes/Game/CommandInputArea.tscn" type="PackedScene" id=3]
[ext_resource path="res://Scripts/Game/Game.cs" type="Script" id=4]
-[ext_resource path="res://Scenes/Game/OutputBlock.tscn" type="PackedScene" id=5]
+[ext_resource path="res://Scenes/Terminal/StatusArea.tscn" type="PackedScene" id=5]
+[ext_resource path="res://Scenes/Terminal/OutputBlock.tscn" type="PackedScene" id=6]
-[node name="Game" type="VBoxContainer"]
-anchor_right = 1.0
-anchor_bottom = 1.0
-custom_constants/separation = 0
+[node name="Game" type="Node"]
script = ExtResource( 4 )
-[node name="StatusLine" parent="." instance=ExtResource( 1 )]
+[node name="Screen" parent="." instance=ExtResource( 1 )]
+
+[node name="TopBar" parent="Screen/ScreenContainer" index="0"]
+margin_bottom = 27.0
+
+[node name="StatusArea" parent="Screen/ScreenContainer/TopBar" index="0" instance=ExtResource( 5 )]
unique_name_in_owner = true
Title = "Adventure Title"
-[node name="Output" parent="." instance=ExtResource( 2 )]
+[node name="Content" parent="Screen/ScreenContainer" index="1"]
+margin_top = 27.0
+margin_bottom = 455.0
+
+[node name="OutputArea" parent="Screen/ScreenContainer/Content" index="0" instance=ExtResource( 2 )]
unique_name_in_owner = true
anchor_right = 0.0
anchor_bottom = 0.0
-margin_top = 31.0
margin_right = 640.0
-margin_bottom = 451.0
-size_flags_horizontal = 3
-size_flags_vertical = 3
-OutputBlockScene = ExtResource( 5 )
+margin_bottom = 428.0
+OutputBlockScene = ExtResource( 6 )
+
+[node name="BottomBar" parent="Screen/ScreenContainer" index="2"]
+margin_top = 455.0
-[node name="Input" parent="." instance=ExtResource( 3 )]
+[node name="InputArea" parent="Screen/ScreenContainer/BottomBar" index="0" instance=ExtResource( 3 )]
unique_name_in_owner = true
-anchor_right = 0.0
-margin_top = 451.0
-margin_right = 640.0
-margin_bottom = 480.0
-[connection signal="CommandSubmitted" from="Input" to="." method="OnCommandSubmitted"]
-[connection signal="UnknownInputSubmitted" from="Input" to="." method="OnUnknownInputSubmitted"]
+[connection signal="CommandSubmitted" from="Screen/ScreenContainer/BottomBar/InputArea" to="." method="OnCommandSubmitted"]
+[connection signal="UnknownInputSubmitted" from="Screen/ScreenContainer/BottomBar/InputArea" to="." method="OnUnknownInputSubmitted"]
+
+[editable path="Screen"]