-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #178 from endlessm/T35536-renames
T35536 renames
- Loading branch information
Showing
26 changed files
with
191 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
...de/block_script_data/block_script_data.gd → ...rialization/block_script_serialization.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...lock_canvas/serialized_block_tree_node.gd → ...code/serialization/block_serialization.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
class_name SerializedBlockTreeNode | ||
class_name BlockSerialization | ||
extends Resource | ||
|
||
@export var name: StringName | ||
@export var position: Vector2 | ||
@export var path_child_pairs: Array | ||
|
||
# TODO: Remove once the data/UI decouple is done. | ||
@export var serialized_block: SerializedBlock | ||
@export var block_serialized_properties: BlockSerializedProperties | ||
|
||
|
||
func _init(p_name: StringName, p_position: Vector2 = Vector2.ZERO, p_serialized_block: SerializedBlock = null, p_path_child_pairs: Array = []): | ||
func _init(p_name: StringName, p_position: Vector2 = Vector2.ZERO, p_block_serialized_properties: BlockSerializedProperties = null, p_path_child_pairs: Array = []): | ||
name = p_name | ||
position = p_position | ||
serialized_block = p_serialized_block | ||
block_serialized_properties = p_block_serialized_properties | ||
path_child_pairs = p_path_child_pairs |
4 changes: 3 additions & 1 deletion
4
..._code/ui/block_canvas/serialized_block.gd → ...ialization/block_serialized_properties.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[gd_resource type="Resource" script_class="BlockScriptSerialization" load_steps=6 format=3 uid="uid://dit7fykhl3h48"] | ||
|
||
[ext_resource type="Script" path="res://addons/block_code/serialization/block_serialization.gd" id="1_barc5"] | ||
[ext_resource type="Script" path="res://addons/block_code/serialization/block_serialized_properties.gd" id="2_cgfpx"] | ||
[ext_resource type="Script" path="res://addons/block_code/serialization/block_script_serialization.gd" id="4_cqq7x"] | ||
|
||
[sub_resource type="Resource" id="Resource_b0aen"] | ||
script = ExtResource("2_cgfpx") | ||
block_class = &"EntryBlock" | ||
serialized_props = [["color", Color(0.92549, 0.231373, 0.34902, 1)], ["scope", ""], ["param_input_strings", {}]] | ||
|
||
[sub_resource type="Resource" id="Resource_1h6wi"] | ||
script = ExtResource("1_barc5") | ||
name = &"ready_block" | ||
position = Vector2(54, 47) | ||
path_child_pairs = [] | ||
block_serialized_properties = SubResource("Resource_b0aen") | ||
|
||
[resource] | ||
script = ExtResource("4_cqq7x") | ||
script_inherits = "INHERIT_DEFAULT" | ||
block_trees = Array[ExtResource("1_barc5")]([SubResource("Resource_1h6wi")]) | ||
variables = Array[Resource("res://addons/block_code/ui/block_canvas/variable_resource.gd")]([]) | ||
generated_script = "extends INHERIT_DEFAULT" | ||
version = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
addons/block_code/ui/block_canvas/serialized_block_tree_node_array.gd
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.