diff --git a/include/core/Godot.hpp b/include/core/Godot.hpp index 6d0289f6..e84f88a9 100644 --- a/include/core/Godot.hpp +++ b/include/core/Godot.hpp @@ -8,13 +8,13 @@ #include -#include -#include -#include +#include "CoreTypes.hpp" +#include "Variant.hpp" +#include "Ref.hpp" -#include +#include "Object.hpp" -#include +#include "GodotGlobal.hpp" namespace godot { diff --git a/include/core/Ref.hpp b/include/core/Ref.hpp index f81dbbeb..d96c9de3 100644 --- a/include/core/Ref.hpp +++ b/include/core/Ref.hpp @@ -3,9 +3,10 @@ #include "Variant.hpp" #include "GodotGlobal.hpp" -#include "../Reference.hpp" namespace godot { +class Reference; +class Object; // Replicates Godot's Ref behavior // Rewritten from f5234e70be7dec4930c2d5a0e829ff480d044b1d.