aboutsummaryrefslogtreecommitdiff
path: root/core/io/export_data.h
diff options
context:
space:
mode:
authorRémi Verschelde2017-03-19 00:36:26 +0100
committerRémi Verschelde2017-03-19 00:36:26 +0100
commitf8db8a3faa30b71dca33ced38be16d3f93f43e8a (patch)
tree3b798318132cca7eccfbca5818ab55656a2896d7 /core/io/export_data.h
parent1d418afe863c9e553b69174ce63aef203c46d2f0 (diff)
downloadgodot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.tar.gz
godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.tar.zst
godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.zip
Bring that Whole New World to the Old Continent too
Applies the clang-format style to the 2.1 branch as done for master in 5dbf1809c6e3e905b94b8764e99491e608122261.
Diffstat (limited to '')
-rw-r--r--core/io/export_data.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/core/io/export_data.h b/core/io/export_data.h
index 1e1941bad..dc2584984 100644
--- a/core/io/export_data.h
+++ b/core/io/export_data.h
@@ -1,9 +1,9 @@
#ifndef EXPORT_DATA_H
#define EXPORT_DATA_H
+#include "map.h"
#include "variant.h"
#include "vector.h"
-#include "map.h"
struct ExportData {
struct Dependency {
@@ -11,7 +11,7 @@ struct ExportData {
String type;
};
- Map<int,Dependency> dependencies;
+ Map<int, Dependency> dependencies;
struct PropertyData {
String name;
@@ -23,12 +23,10 @@ struct ExportData {
String type;
int index;
List<PropertyData> properties;
-
};
Vector<ResourceData> resources;
-
struct NodeData {
bool text_data;
@@ -41,19 +39,20 @@ struct ExportData {
int parent_int;
bool instance_is_placeholder;
-
//text info
NodePath parent;
NodePath owner;
String instance_placeholder;
-
-
Vector<String> groups;
List<PropertyData> properties;
-
- NodeData() { parent_int=0; owner_int=0; text_data=true; instanced=false;}
+ NodeData() {
+ parent_int = 0;
+ owner_int = 0;
+ text_data = true;
+ instanced = false;
+ }
};
Vector<NodeData> nodes;
@@ -72,7 +71,7 @@ struct ExportData {
Array binds;
int flags;
- Connection() { text_data=true; }
+ Connection() { text_data = true; }
};
Vector<Connection> connections;
@@ -80,8 +79,6 @@ struct ExportData {
Array node_paths; //for integer packed data
Variant base_scene;
-
-
};
#endif // EXPORT_DATA_H