From 83799f5cf55b55bf5339e6ea92aa543f46776011 Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 2 Oct 2023 18:30:49 +0200 Subject: [PATCH] Fix includes and build. --- platform/uwp/context_egl_uwp.h | 2 +- platform/uwp/export/export.cpp | 14 +++++++++----- platform/uwp/os_uwp.cpp | 7 +++---- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/platform/uwp/context_egl_uwp.h b/platform/uwp/context_egl_uwp.h index de4c057ca..445e22766 100644 --- a/platform/uwp/context_egl_uwp.h +++ b/platform/uwp/context_egl_uwp.h @@ -35,7 +35,7 @@ #include -#include "core/error_list.h" +#include "core/error/error_list.h" #include "core/os/os.h" using namespace Windows::UI::Core; diff --git a/platform/uwp/export/export.cpp b/platform/uwp/export/export.cpp index ddcf85f04..dd0b0a1f1 100644 --- a/platform/uwp/export/export.cpp +++ b/platform/uwp/export/export.cpp @@ -34,13 +34,17 @@ #include "core/crypto/crypto_core.h" #include "core/io/marshalls.h" #include "core/io/zip_io.h" -#include "core/object.h" +#include "core/object/object.h" #include "core/os/dir_access.h" #include "core/os/file_access.h" -#include "core/project_settings.h" +#include "core/config/project_settings.h" #include "core/version.h" +#include "core/string/ustring.h" + #include "editor/editor_export.h" #include "editor/editor_node.h" +#include "editor/editor_settings.h" + #include "platform/uwp/logo.gen.h" // Mono build doesn't support UWP, so we show a specific error. @@ -139,7 +143,7 @@ class AppxPackager { String progress_task; FileAccess *package; - Set mime_types; + RBSet mime_types; Vector file_metadata; @@ -259,7 +263,7 @@ void AppxPackager::make_content_types(const String &p_path) { tmp_file->store_string(""); tmp_file->store_string(""); - Map types; + RBMap types; for (int i = 0; i < file_metadata.size(); i++) { String ext = file_metadata[i].name.get_extension().to_lower(); @@ -1558,7 +1562,7 @@ public: r_features->push_back("UWP"); } - virtual void resolve_platform_feature_priorities(const Ref &p_preset, Set &p_features) { + virtual void resolve_platform_feature_priorities(const Ref &p_preset, RBSet &p_features) { } static Error copy_shared_objects(void *p_userdata, const SharedObject &p_so) { diff --git a/platform/uwp/os_uwp.cpp b/platform/uwp/os_uwp.cpp index 184c4a099..2cf060eb4 100644 --- a/platform/uwp/os_uwp.cpp +++ b/platform/uwp/os_uwp.cpp @@ -31,9 +31,8 @@ #include "os_uwp.h" #include "core/io/marshalls.h" -#include "core/project_settings.h" +#include "core/config/project_settings.h" #include "drivers/gles2/rasterizer_gles2.h" -#include "drivers/gles3/rasterizer_gles3.h" #include "drivers/unix/ip_unix.h" #include "drivers/unix/net_socket_posix.h" #include "drivers/windows/dir_access_windows.h" @@ -41,8 +40,8 @@ #include "main/main.h" #include "platform/windows/windows_terminal_logger.h" #include "servers/audio_server.h" -#include "servers/visual/visual_server_raster.h" -#include "servers/visual/visual_server_wrap_mt.h" +#include "servers/rendering/rendering_server_raster.h" +#include "servers/rendering/rendering_server_wrap_mt.h" #include #include