summaryrefslogtreecommitdiffstats
path: root/scene/resources/resource_format_text.cpp
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2023-09-06 21:02:52 +0200
committerYuri Sizov <yuris@humnom.net>2023-09-06 22:54:38 +0200
commitd8ff69d53c239fca97f212791ec38022a9a7913c (patch)
treeccbec32c4d9bba82a7cc2c94eb3ef050dc0efb28 /scene/resources/resource_format_text.cpp
parent8449592d92eaeef990f5502b419d491ee3eeb7a6 (diff)
downloadredot-engine-d8ff69d53c239fca97f212791ec38022a9a7913c.tar.gz
Extract ScriptInstance to simplify includes
This allows to include script_instance.h directly in the generated gdvirtual.gen.inc, and remove excessive includes from the codebase. This should also allow Resource to use GDVIRTUAL macros, which wasn't possible previously due to a circular dependency.
Diffstat (limited to 'scene/resources/resource_format_text.cpp')
-rw-r--r--scene/resources/resource_format_text.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/resource_format_text.cpp b/scene/resources/resource_format_text.cpp
index a2c04698e1..31f6d6a84a 100644
--- a/scene/resources/resource_format_text.cpp
+++ b/scene/resources/resource_format_text.cpp
@@ -34,6 +34,7 @@
#include "core/io/dir_access.h"
#include "core/io/missing_resource.h"
#include "core/io/resource_format_binary.h"
+#include "core/object/script_language.h"
#include "core/version.h"
// Version 2: changed names for Basis, AABB, Vectors, etc.