summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Herzog <thomas.herzog@mail.com>2017-12-16 10:26:39 +0100
committerGitHub <noreply@github.com>2017-12-16 10:26:39 +0100
commitbde1ce384fa0e9244ee5fb67c81fceb4c96e1f1d (patch)
treee2632b2919efaade1f7596c6f2cc946be79da41f
parent03380c0cefa368c9d615e6cc2948dbdb10148355 (diff)
parent575b2f4d1406291bf280da8f9b22e72cb022ad10 (diff)
downloadredot-cpp-bde1ce384fa0e9244ee5fb67c81fceb4c96e1f1d.tar.gz
Merge pull request #57 from Grosskopf/master
Fixed building
-rw-r--r--binding_generator.py18
-rw-r--r--include/core/Godot.hpp8
2 files changed, 13 insertions, 13 deletions
diff --git a/binding_generator.py b/binding_generator.py
index e87d963..239e643 100644
--- a/binding_generator.py
+++ b/binding_generator.py
@@ -71,8 +71,8 @@ def generate_class_header(used_classes, c):
source.append("")
- source.append("#include <CoreTypes.hpp>")
- source.append("#include <Ref.hpp>")
+ source.append("#include <core/CoreTypes.hpp>")
+ source.append("#include <core/Ref.hpp>")
class_name = strip_name(c["name"])
@@ -240,11 +240,11 @@ def generate_class_implementation(icalls, used_classes, c):
source.append("")
source.append("")
- source.append("#include <GodotGlobal.hpp>")
- source.append("#include <CoreTypes.hpp>")
- source.append("#include <Ref.hpp>")
+ source.append("#include <core/GodotGlobal.hpp>")
+ source.append("#include <core/CoreTypes.hpp>")
+ source.append("#include <core/Ref.hpp>")
- source.append("#include <Godot.hpp>")
+ source.append("#include <core/Godot.hpp>")
source.append("")
@@ -465,7 +465,7 @@ def generate_icall_header(icalls):
source.append("#include <stdint.h>")
source.append("")
- source.append("#include <CoreTypes.hpp>")
+ source.append("#include <core/CoreTypes.hpp>")
source.append("#include <Object.hpp>")
source.append("")
source.append("")
@@ -515,8 +515,8 @@ def generate_icall_implementation(icalls):
source.append("#include <stdint.h>")
source.append("")
- source.append("#include <GodotGlobal.hpp>")
- source.append("#include <CoreTypes.hpp>")
+ source.append("#include <core/GodotGlobal.hpp>")
+ source.append("#include <core/CoreTypes.hpp>")
source.append("#include <Object.hpp>")
source.append("")
source.append("")
diff --git a/include/core/Godot.hpp b/include/core/Godot.hpp
index 972a00f..0aed17b 100644
--- a/include/core/Godot.hpp
+++ b/include/core/Godot.hpp
@@ -8,13 +8,13 @@
#include <nativescript/godot_nativescript.h>
-#include <CoreTypes.hpp>
-#include <Variant.hpp>
-#include <Ref.hpp>
+#include <core/CoreTypes.hpp>
+#include <core/Variant.hpp>
+#include <core/Ref.hpp>
#include <Object.hpp>
-#include <GodotGlobal.hpp>
+#include <core/GodotGlobal.hpp>
namespace godot {