blob: 5d911e35df08c0c5e8a3ce8a607b411752c51589 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
[gd_scene load_steps=5 format=3 uid="uid://cgfo1ocbdi1ug"]
[ext_resource type="Script" path="res://addons/zylann.hterrain/tools/generator/generator_dialog.gd" id="1"]
[ext_resource type="PackedScene" path="res://addons/zylann.hterrain/tools/inspector/inspector.tscn" id="2"]
[ext_resource type="PackedScene" path="res://addons/zylann.hterrain/tools/terrain_preview.tscn" id="3"]
[ext_resource type="PackedScene" path="res://addons/zylann.hterrain/tools/util/dialog_fitter.tscn" id="4"]
[node name="GeneratorDialog" type="AcceptDialog"]
title = "Generate terrain"
size = Vector2i(1100, 780)
min_size = Vector2i(1100, 620)
script = ExtResource("1")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 8.0
offset_top = 8.0
offset_right = -8.0
offset_bottom = -18.0
[node name="Editor" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="Settings" type="VBoxContainer" parent="VBoxContainer/Editor"]
custom_minimum_size = Vector2(420, 0)
layout_mode = 2
[node name="Inspector" parent="VBoxContainer/Editor/Settings" instance=ExtResource("2")]
layout_mode = 2
[node name="Preview" type="Control" parent="VBoxContainer/Editor"]
layout_mode = 2
size_flags_horizontal = 3
[node name="TerrainPreview" parent="VBoxContainer/Editor/Preview" instance=ExtResource("3")]
layout_mode = 1
anchors_preset = 15
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="VBoxContainer/Editor/Preview"]
layout_mode = 0
offset_left = 5.0
offset_top = 4.0
offset_right = 207.0
offset_bottom = 18.0
text = "LMB: offset, MMB: rotate"
[node name="ProgressBar" type="ProgressBar" parent="VBoxContainer/Editor/Preview"]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -35.0
step = 1.0
[node name="Choices" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
alignment = 1
[node name="ApplyButton" type="Button" parent="VBoxContainer/Choices"]
layout_mode = 2
text = "Apply"
[node name="CancelButton" type="Button" parent="VBoxContainer/Choices"]
layout_mode = 2
text = "Cancel"
[node name="DialogFitter" parent="." instance=ExtResource("4")]
layout_mode = 3
anchors_preset = 0
offset_left = 8.0
offset_top = 8.0
offset_right = 1092.0
offset_bottom = 762.0
[connection signal="property_changed" from="VBoxContainer/Editor/Settings/Inspector" to="." method="_on_Inspector_property_changed"]
[connection signal="dragged" from="VBoxContainer/Editor/Preview/TerrainPreview" to="." method="_on_TerrainPreview_dragged"]
[connection signal="pressed" from="VBoxContainer/Choices/ApplyButton" to="." method="_on_ApplyButton_pressed"]
[connection signal="pressed" from="VBoxContainer/Choices/CancelButton" to="." method="_on_CancelButton_pressed"]
|