aboutsummaryrefslogtreecommitdiff
path: root/extension/src/Utilities.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'extension/src/Utilities.hpp')
-rw-r--r--extension/src/Utilities.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/extension/src/Utilities.hpp b/extension/src/Utilities.hpp
index 75e873f..681b893 100644
--- a/extension/src/Utilities.hpp
+++ b/extension/src/Utilities.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include <godot_cpp/variant/string.hpp>
+#include <godot_cpp/classes/image.hpp>
#include "openvic/Types.hpp"
@@ -15,4 +15,6 @@ namespace OpenVic {
inline godot::String std_to_godot_string(std::string const& str) {
return str.c_str();
}
+
+ godot::Ref<godot::Image> load_godot_image(godot::String const& path);
}