aboutsummaryrefslogtreecommitdiff
path: root/extension/src/Utilities.hpp
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2023-05-26 00:23:57 +0200
committer GitHub <noreply@github.com>2023-05-26 00:23:57 +0200
commitba3e974f30b8a2e7611b753ddc274dec8ff28283 (patch)
tree31d37e00cf6c010180fb3212b45ac5f70728cc8f /extension/src/Utilities.hpp
parent0a1a50cde54fee469bc0069978cd27a2bd1a2fb0 (diff)
parent9843807154aa70324c84692ce9d3b54414e2b5e0 (diff)
Merge pull request #125 from OpenVicProject/import-fix
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);
}