Uploaded game files
This commit is contained in:
parent
459da513f6
commit
f71e7e39a0
1543 changed files with 50503 additions and 0 deletions
|
@ -0,0 +1,14 @@
|
|||
tool
|
||||
extends VBoxContainer
|
||||
|
||||
|
||||
func _ready():
|
||||
var HistoryCheckbox = $"GridContainer/HistoryBox/SettingsCheckbox/CheckBox"
|
||||
HistoryCheckbox.connect('toggled', self, '_on_HistoryLogging_toggled')
|
||||
_on_HistoryLogging_toggled(HistoryCheckbox.pressed)
|
||||
|
||||
|
||||
func _on_HistoryLogging_toggled(button_pressed):
|
||||
for n in $GridContainer.get_children():
|
||||
n.visible = button_pressed
|
||||
$GridContainer/HistoryBox.visible = true
|
|
@ -0,0 +1,341 @@
|
|||
[gd_scene load_steps=8 format=2]
|
||||
|
||||
[ext_resource path="res://addons/dialogic/Editor/Common/SectionTitle.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://addons/dialogic/Editor/Common/TLabel.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://addons/dialogic/Editor/SettingsEditor/Scenes/HistorySettings.gd" type="Script" id=3]
|
||||
[ext_resource path="res://addons/dialogic/Editor/SettingsEditor/Scenes/SettingsCheckbox.tscn" type="PackedScene" id=4]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=1]
|
||||
content_margin_left = 4.0
|
||||
content_margin_right = 4.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_bottom = 4.0
|
||||
bg_color = Color( 0.252, 0.2718, 0.3246, 1 )
|
||||
|
||||
[sub_resource type="Image" id=4]
|
||||
data = {
|
||||
"data": PoolByteArray( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),
|
||||
"format": "LumAlpha8",
|
||||
"height": 16,
|
||||
"mipmaps": false,
|
||||
"width": 16
|
||||
}
|
||||
|
||||
[sub_resource type="ImageTexture" id=3]
|
||||
flags = 4
|
||||
flags = 4
|
||||
image = SubResource( 4 )
|
||||
size = Vector2( 16, 16 )
|
||||
|
||||
[node name="HistorySettings" type="VBoxContainer"]
|
||||
margin_top = 258.0
|
||||
margin_right = 304.0
|
||||
margin_bottom = 390.0
|
||||
script = ExtResource( 3 )
|
||||
|
||||
[node name="SectionTitle" parent="." instance=ExtResource( 1 )]
|
||||
margin_right = 336.0
|
||||
custom_styles/normal = SubResource( 1 )
|
||||
text = "History settings"
|
||||
text_key = "History settings"
|
||||
|
||||
[node name="GridContainer" type="GridContainer" parent="."]
|
||||
margin_top = 26.0
|
||||
margin_right = 336.0
|
||||
margin_bottom = 344.0
|
||||
columns = 2
|
||||
|
||||
[node name="HistoryBox" type="HBoxContainer" parent="GridContainer"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 24.0
|
||||
|
||||
[node name="SettingsCheckbox" parent="GridContainer/HistoryBox" instance=ExtResource( 4 )]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 24.0
|
||||
text = "Enable History"
|
||||
settings_section = "history"
|
||||
settings_key = "enable_history_logging"
|
||||
|
||||
[node name="UseDialogTheme" parent="GridContainer" instance=ExtResource( 4 )]
|
||||
margin_left = 162.0
|
||||
margin_right = 336.0
|
||||
margin_bottom = 24.0
|
||||
text = "Use default theme"
|
||||
default = true
|
||||
settings_section = "history"
|
||||
settings_key = "enable_dynamic_theme"
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="GridContainer"]
|
||||
margin_top = 28.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 32.0
|
||||
|
||||
[node name="HSeparator2" type="HSeparator" parent="GridContainer"]
|
||||
margin_left = 162.0
|
||||
margin_top = 28.0
|
||||
margin_right = 336.0
|
||||
margin_bottom = 32.0
|
||||
|
||||
[node name="ShowOpenButton" parent="GridContainer" instance=ExtResource( 4 )]
|
||||
margin_top = 36.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 60.0
|
||||
text = "Show open button"
|
||||
default = true
|
||||
settings_section = "history"
|
||||
settings_key = "enable_open_button"
|
||||
|
||||
[node name="ShowCloseButton" parent="GridContainer" instance=ExtResource( 4 )]
|
||||
margin_left = 162.0
|
||||
margin_top = 36.0
|
||||
margin_right = 336.0
|
||||
margin_bottom = 60.0
|
||||
text = "Show close button"
|
||||
default = true
|
||||
settings_section = "history"
|
||||
settings_key = "enable_close_button"
|
||||
|
||||
[node name="LogAllChoices" parent="GridContainer" instance=ExtResource( 4 )]
|
||||
margin_top = 64.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 88.0
|
||||
text = "Log all choices"
|
||||
default = true
|
||||
settings_section = "history"
|
||||
settings_key = "log_choices"
|
||||
|
||||
[node name="LogChoiceAnswer" parent="GridContainer" instance=ExtResource( 4 )]
|
||||
margin_left = 162.0
|
||||
margin_top = 64.0
|
||||
margin_right = 336.0
|
||||
margin_bottom = 88.0
|
||||
text = "Log choice answer"
|
||||
default = true
|
||||
settings_section = "history"
|
||||
settings_key = "log_answers"
|
||||
|
||||
[node name="LogCharacterJoins" parent="GridContainer" instance=ExtResource( 4 )]
|
||||
margin_top = 92.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 116.0
|
||||
text = "Log character joins"
|
||||
default = true
|
||||
settings_section = "history"
|
||||
settings_key = "log_arrivals"
|
||||
|
||||
[node name="LogBox" type="HBoxContainer" parent="GridContainer"]
|
||||
margin_left = 162.0
|
||||
margin_top = 92.0
|
||||
margin_right = 336.0
|
||||
margin_bottom = 116.0
|
||||
|
||||
[node name="HSeparator" type="VSeparator" parent="GridContainer/LogBox"]
|
||||
margin_right = 4.0
|
||||
margin_bottom = 24.0
|
||||
|
||||
[node name="JoinTextLabel" parent="GridContainer/LogBox" instance=ExtResource( 2 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_left = 8.0
|
||||
margin_top = 5.0
|
||||
margin_right = 35.0
|
||||
margin_bottom = 19.0
|
||||
text = "Text"
|
||||
text_key = "Text"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="GridContainer/LogBox"]
|
||||
margin_left = 39.0
|
||||
margin_right = 174.0
|
||||
margin_bottom = 24.0
|
||||
size_flags_horizontal = 3
|
||||
text = "has arrived"
|
||||
|
||||
[node name="LogCharacterLeaves" parent="GridContainer" instance=ExtResource( 4 )]
|
||||
margin_top = 120.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 144.0
|
||||
text = "Log character leaves"
|
||||
default = true
|
||||
settings_section = "history"
|
||||
settings_key = "history_scroll_to_bottom"
|
||||
|
||||
[node name="LogBox2" type="HBoxContainer" parent="GridContainer"]
|
||||
margin_left = 162.0
|
||||
margin_top = 120.0
|
||||
margin_right = 336.0
|
||||
margin_bottom = 144.0
|
||||
|
||||
[node name="HSeparator" type="VSeparator" parent="GridContainer/LogBox2"]
|
||||
margin_right = 4.0
|
||||
margin_bottom = 24.0
|
||||
|
||||
[node name="TLabel1" parent="GridContainer/LogBox2" instance=ExtResource( 2 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_left = 8.0
|
||||
margin_top = 5.0
|
||||
margin_right = 35.0
|
||||
margin_bottom = 19.0
|
||||
text = "Text"
|
||||
text_key = "Text"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="GridContainer/LogBox2"]
|
||||
margin_left = 39.0
|
||||
margin_right = 174.0
|
||||
margin_bottom = 24.0
|
||||
size_flags_horizontal = 3
|
||||
text = "has left"
|
||||
|
||||
[node name="ScrollToBottom" parent="GridContainer" instance=ExtResource( 4 )]
|
||||
margin_top = 148.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 172.0
|
||||
text = "Scroll to bottom"
|
||||
default = true
|
||||
settings_section = "history"
|
||||
settings_key = "history_scroll_to_bottom"
|
||||
|
||||
[node name="ReverseTimeline" parent="GridContainer" instance=ExtResource( 4 )]
|
||||
margin_left = 162.0
|
||||
margin_top = 148.0
|
||||
margin_right = 336.0
|
||||
margin_bottom = 172.0
|
||||
text = "Reverse timeline"
|
||||
settings_section = "history"
|
||||
settings_key = "history_reverse_timeline"
|
||||
|
||||
[node name="ShowNameColors" parent="GridContainer" instance=ExtResource( 4 )]
|
||||
margin_top = 176.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 200.0
|
||||
text = "Show name colors"
|
||||
default = true
|
||||
settings_section = "history"
|
||||
settings_key = "history_name_color_on"
|
||||
|
||||
[node name="LineBreakAfterNames" parent="GridContainer" instance=ExtResource( 4 )]
|
||||
margin_left = 162.0
|
||||
margin_top = 176.0
|
||||
margin_right = 336.0
|
||||
margin_bottom = 200.0
|
||||
text = "Line break after names"
|
||||
settings_section = "history"
|
||||
settings_key = "history_break_after_name"
|
||||
|
||||
[node name="HSeparator3" type="HSeparator" parent="GridContainer"]
|
||||
margin_top = 204.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 208.0
|
||||
|
||||
[node name="HSeparator4" type="HSeparator" parent="GridContainer"]
|
||||
margin_left = 162.0
|
||||
margin_top = 204.0
|
||||
margin_right = 336.0
|
||||
margin_bottom = 208.0
|
||||
|
||||
[node name="TLabel8" parent="GridContainer" instance=ExtResource( 2 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 216.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 230.0
|
||||
size_flags_horizontal = 3
|
||||
text = "History button position"
|
||||
text_key = "History button position"
|
||||
|
||||
[node name="PositionSelector" type="OptionButton" parent="GridContainer"]
|
||||
margin_left = 162.0
|
||||
margin_top = 212.0
|
||||
margin_right = 336.0
|
||||
margin_bottom = 234.0
|
||||
text = "Top Right"
|
||||
icon = SubResource( 3 )
|
||||
items = [ "Top Left", SubResource( 3 ), false, 0, null, "Top Center", SubResource( 3 ), false, 1, null, "Top Right", SubResource( 3 ), false, 2, null, "", null, false, 3, null, "Center Left", SubResource( 3 ), false, 3, null, "Center", SubResource( 3 ), false, 4, null, "Center Right", SubResource( 3 ), false, 5, null, "", null, false, 7, null, "Bottom Left", SubResource( 3 ), false, 6, null, "Bottom Center", SubResource( 3 ), false, 7, null, "Bottom Right", SubResource( 3 ), false, 8, null ]
|
||||
selected = 2
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="TLabel9" parent="GridContainer" instance=ExtResource( 2 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 243.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 257.0
|
||||
hint_tooltip = "Choose delimiter that appears after character name"
|
||||
mouse_filter = 0
|
||||
size_flags_horizontal = 3
|
||||
text = "Name delimiter"
|
||||
text_key = "Name delimiter"
|
||||
|
||||
[node name="CharacterDelimiter" type="LineEdit" parent="GridContainer"]
|
||||
margin_left = 162.0
|
||||
margin_top = 238.0
|
||||
margin_right = 336.0
|
||||
margin_bottom = 262.0
|
||||
text = ":"
|
||||
|
||||
[node name="TLabel7" parent="GridContainer" instance=ExtResource( 2 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 271.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 285.0
|
||||
mouse_filter = 0
|
||||
text = "Screen margin"
|
||||
text_key = "Screen margin"
|
||||
|
||||
[node name="BoxMargin" type="HBoxContainer" parent="GridContainer"]
|
||||
margin_left = 162.0
|
||||
margin_top = 266.0
|
||||
margin_right = 336.0
|
||||
margin_bottom = 290.0
|
||||
|
||||
[node name="MarginX" type="SpinBox" parent="GridContainer/BoxMargin"]
|
||||
margin_right = 74.0
|
||||
margin_bottom = 24.0
|
||||
max_value = 999.0
|
||||
rounded = true
|
||||
allow_greater = true
|
||||
allow_lesser = true
|
||||
|
||||
[node name="MarginY" type="SpinBox" parent="GridContainer/BoxMargin"]
|
||||
margin_left = 78.0
|
||||
margin_right = 152.0
|
||||
margin_bottom = 24.0
|
||||
max_value = 999.0
|
||||
rounded = true
|
||||
allow_greater = true
|
||||
allow_lesser = true
|
||||
|
||||
[node name="TLabel5" parent="GridContainer" instance=ExtResource( 2 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 299.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 313.0
|
||||
text = "Log margin"
|
||||
text_key = "Log margin"
|
||||
|
||||
[node name="ContainerMargin" type="HBoxContainer" parent="GridContainer"]
|
||||
margin_left = 162.0
|
||||
margin_top = 294.0
|
||||
margin_right = 336.0
|
||||
margin_bottom = 318.0
|
||||
|
||||
[node name="MarginX" type="SpinBox" parent="GridContainer/ContainerMargin"]
|
||||
margin_right = 74.0
|
||||
margin_bottom = 24.0
|
||||
max_value = 1e+07
|
||||
rounded = true
|
||||
allow_greater = true
|
||||
allow_lesser = true
|
||||
|
||||
[node name="MarginY" type="SpinBox" parent="GridContainer/ContainerMargin"]
|
||||
margin_left = 78.0
|
||||
margin_right = 152.0
|
||||
margin_bottom = 24.0
|
||||
max_value = 1e+07
|
||||
rounded = true
|
||||
allow_greater = true
|
||||
allow_lesser = true
|
|
@ -0,0 +1,19 @@
|
|||
tool
|
||||
extends HBoxContainer
|
||||
|
||||
export var text : String = ''
|
||||
export var default : bool = false
|
||||
export var settings_section : String = ''
|
||||
export var settings_key : String = ''
|
||||
var editor_reference
|
||||
|
||||
func _ready():
|
||||
editor_reference = find_parent('EditorView')
|
||||
# This node needs a Settings Editor parent to get the current loaded settings
|
||||
$CheckBox.text = editor_reference.dialogicTranslator.translate(text)
|
||||
var settings = DialogicResources.get_settings_config()
|
||||
$CheckBox.pressed = settings.get_value(settings_section, settings_key, default)
|
||||
$CheckBox.connect("toggled", self, "_on_toggled")
|
||||
|
||||
func _on_toggled(button_pressed):
|
||||
DialogicResources.set_settings_value(settings_section, settings_key, button_pressed)
|
|
@ -0,0 +1,12 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://addons/dialogic/Editor/SettingsEditor/Scenes/SettingsCheckbox.gd" type="Script" id=1]
|
||||
|
||||
[node name="SettingsCheckbox" type="HBoxContainer"]
|
||||
size_flags_horizontal = 3
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="CheckBox" type="CheckBox" parent="."]
|
||||
margin_right = 24.0
|
||||
margin_bottom = 24.0
|
||||
size_flags_horizontal = 3
|
Loading…
Add table
Add a link
Reference in a new issue