aboutsummaryrefslogtreecommitdiff
path: root/extension/src/Utilities.hpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-05-25 01:17:53 +0200
committer Hop311 <hop3114@gmail.com>2023-05-25 01:17:53 +0200
commitb493547fb8c77918306fe56b74b704284cf54931 (patch)
tree6525f869dccdbeb61ed82d6a42afeb625680a885 /extension/src/Utilities.hpp
parent0a1a50cde54fee469bc0069978cd27a2bd1a2fb0 (diff)
Import fix + ProvinceOverviewPanel close 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);
}