mirror of
https://github.com/godotengine/godot
synced 2024-09-04 21:48:31 +00:00
Merge pull request #49511 from akien-mga/core-diraccess-fileaccess-io
Core: Move DirAccess and FileAccess to `core/io`
This commit is contained in:
commit
8d4046929c
|
@ -33,11 +33,11 @@
|
|||
#include "core/core_bind.h"
|
||||
#include "core/core_string_names.h"
|
||||
#include "core/input/input_map.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/file_access_network.h"
|
||||
#include "core/io/file_access_pack.h"
|
||||
#include "core/io/marshalls.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/keyboard.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/variant/variant_parser.h"
|
||||
|
|
|
@ -32,11 +32,11 @@
|
|||
#define CORE_BIND_H
|
||||
|
||||
#include "core/io/compression.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/image.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/os/semaphore.h"
|
||||
#include "core/os/thread.h"
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
#ifndef CONFIG_FILE_H
|
||||
#define CONFIG_FILE_H
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/object/reference.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/templates/ordered_hash_map.h"
|
||||
#include "core/variant/variant_parser.h"
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include "dir_access.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/os/memory.h"
|
||||
#include "core/os/os.h"
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
#include "dtls_server.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
|
||||
DTLSServer *(*DTLSServer::_create)() = nullptr;
|
||||
bool DTLSServer::available = false;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#define FILE_ACCESS_COMPRESSED_H
|
||||
|
||||
#include "core/io/compression.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
|
||||
class FileAccessCompressed : public FileAccess {
|
||||
Compression::Mode cmode = Compression::MODE_ZSTD;
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#ifndef FILE_ACCESS_ENCRYPTED_H
|
||||
#define FILE_ACCESS_ENCRYPTED_H
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
|
||||
#define ENCRYPTED_HEADER_MAGIC 0x43454447
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include "file_access_memory.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/templates/map.h"
|
||||
|
||||
static Map<String, Vector<uint8_t>> *files = nullptr;
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#ifndef FILE_ACCESS_MEMORY_H
|
||||
#define FILE_ACCESS_MEMORY_H
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
|
||||
class FileAccessMemory : public FileAccess {
|
||||
uint8_t *data = nullptr;
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
#ifndef FILE_ACCESS_NETWORK_H
|
||||
#define FILE_ACCESS_NETWORK_H
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/stream_peer_tcp.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/semaphore.h"
|
||||
#include "core/os/thread.h"
|
||||
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
#ifndef FILE_ACCESS_PACK_H
|
||||
#define FILE_ACCESS_PACK_H
|
||||
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/string/print_string.h"
|
||||
#include "core/templates/list.h"
|
||||
#include "core/templates/map.h"
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include "file_access_zip.h"
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
|
||||
ZipArchive *ZipArchive::instance = nullptr;
|
||||
|
||||
|
|
|
@ -31,9 +31,9 @@
|
|||
#ifndef IMAGE_LOADER_H
|
||||
#define IMAGE_LOADER_H
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/image.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/string/ustring.h"
|
||||
#include "core/templates/list.h"
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include "logger.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/string/print_string.h"
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#ifndef LOGGER_H
|
||||
#define LOGGER_H
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/string/ustring.h"
|
||||
#include "core/templates/vector.h"
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "packet_peer_dtls.h"
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
|
||||
PacketPeerDTLS *(*PacketPeerDTLS::_create)() = nullptr;
|
||||
bool PacketPeerDTLS::available = false;
|
||||
|
|
|
@ -31,9 +31,9 @@
|
|||
#include "pck_packer.h"
|
||||
|
||||
#include "core/crypto/crypto_core.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/file_access_encrypted.h"
|
||||
#include "core/io/file_access_pack.h" // PACK_HEADER_MAGIC, PACK_FORMAT_VERSION
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/version.h"
|
||||
|
||||
static int _get_pad(int p_alignment, int p_n) {
|
||||
|
|
|
@ -31,9 +31,9 @@
|
|||
#include "resource.h"
|
||||
|
||||
#include "core/core_string_names.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/object/script_language.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/os.h"
|
||||
#include "scene/main/node.h" //only so casting works
|
||||
|
||||
|
|
|
@ -31,10 +31,10 @@
|
|||
#include "resource_format_binary.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access_compressed.h"
|
||||
#include "core/io/image.h"
|
||||
#include "core/io/marshalls.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/version.h"
|
||||
|
||||
//#define print_bl(m_what) print_line(m_what)
|
||||
|
|
|
@ -31,9 +31,9 @@
|
|||
#ifndef RESOURCE_FORMAT_BINARY_H
|
||||
#define RESOURCE_FORMAT_BINARY_H
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/os/file_access.h"
|
||||
|
||||
class ResourceLoaderBinary {
|
||||
bool translation_remapped = false;
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
#include "resource_loader.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_importer.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/string/print_string.h"
|
||||
#include "core/string/translation.h"
|
||||
|
|
|
@ -30,9 +30,9 @@
|
|||
|
||||
#include "resource_saver.h"
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/object/script_language.h"
|
||||
#include "core/os/file_access.h"
|
||||
|
||||
Ref<ResourceFormatSaver> ResourceSaver::saver[MAX_SAVERS];
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "translation_loader_po.h"
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/string/translation.h"
|
||||
#include "core/string/translation_po.h"
|
||||
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
#ifndef TRANSLATION_LOADER_PO_H
|
||||
#define TRANSLATION_LOADER_PO_H
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/string/translation.h"
|
||||
|
||||
class TranslationLoaderPO : public ResourceFormatLoader {
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
#ifndef XML_PARSER_H
|
||||
#define XML_PARSER_H
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/object/reference.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/string/ustring.h"
|
||||
#include "core/templates/vector.h"
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#ifndef ZIP_IO_H
|
||||
#define ZIP_IO_H
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
|
||||
// Not directly used in this header, but assumed available in downstream users
|
||||
// like platform/*/export/export.cpp. Could be fixed, but probably better to have
|
||||
|
|
|
@ -31,10 +31,10 @@
|
|||
#ifndef DELAUNAY_3D_H
|
||||
#define DELAUNAY_3D_H
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/math/aabb.h"
|
||||
#include "core/math/camera_matrix.h"
|
||||
#include "core/math/vector3.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/string/print_string.h"
|
||||
#include "core/templates/local_vector.h"
|
||||
#include "core/templates/oa_hash_map.h"
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/input/input.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/os/midi_driver.h"
|
||||
#include "core/version_generated.gen.h"
|
||||
#include "servers/audio_server.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "translation_po.h"
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
|
||||
#ifdef DEBUG_TRANSLATION_PO
|
||||
void TranslationPO::print_translation_map() {
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
#ifndef VARIANT_PARSER_H
|
||||
#define VARIANT_PARSER_H
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/variant/variant.h"
|
||||
|
||||
class VariantParser {
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
|
||||
#include "resource_saver_png.h"
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/image.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "drivers/png/png_driver_common.h"
|
||||
#include "scene/resources/texture.h"
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#if defined(UNIX_ENABLED) || defined(LIBC_FILEIO_ENABLED)
|
||||
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/io/dir_access.h"
|
||||
|
||||
#include <dirent.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#ifndef FILE_ACCESS_UNIX_H
|
||||
#define FILE_ACCESS_UNIX_H
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/os/memory.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include "rendering_device_vulkan.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/templates/hashfuncs.h"
|
||||
#include "drivers/vulkan/vulkan_context.h"
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#ifdef WINDOWS_ENABLED
|
||||
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/io/dir_access.h"
|
||||
|
||||
/**
|
||||
@author Juan Linietsky <reduz@gmail.com>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#ifdef WINDOWS_ENABLED
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/os/memory.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
|
||||
#include "dependency_editor.h"
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "editor_node.h"
|
||||
#include "editor_scale.h"
|
||||
#include "scene/gui/margin_container.h"
|
||||
|
|
|
@ -34,9 +34,9 @@
|
|||
#include "core/config/project_settings.h"
|
||||
#include "core/core_constants.h"
|
||||
#include "core/io/compression.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/marshalls.h"
|
||||
#include "core/object/script_language.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/version.h"
|
||||
#include "scene/resources/theme.h"
|
||||
|
||||
|
|
|
@ -30,9 +30,9 @@
|
|||
|
||||
#include "editor_asset_installer.h"
|
||||
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/zip_io.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "editor_node.h"
|
||||
#include "progress_dialog.h"
|
||||
|
||||
|
|
|
@ -31,9 +31,9 @@
|
|||
#include "editor_data.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "editor_node.h"
|
||||
#include "editor_settings.h"
|
||||
#include "scene/resources/packed_scene.h"
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#ifndef EDITOR_DIR_DIALOG_H
|
||||
#define EDITOR_DIR_DIALOG_H
|
||||
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "editor/editor_file_system.h"
|
||||
#include "scene/gui/dialogs.h"
|
||||
#include "scene/gui/tree.h"
|
||||
|
|
|
@ -33,14 +33,14 @@
|
|||
#include "core/config/project_settings.h"
|
||||
#include "core/crypto/crypto_core.h"
|
||||
#include "core/io/config_file.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/file_access_encrypted.h"
|
||||
#include "core/io/file_access_pack.h" // PACK_HEADER_MAGIC, PACK_FORMAT_VERSION
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/io/zip_io.h"
|
||||
#include "core/object/script_language.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/version.h"
|
||||
#include "editor/editor_file_system.h"
|
||||
#include "editor/plugins/script_editor_plugin.h"
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
#ifndef EDITOR_EXPORT_H
|
||||
#define EDITOR_EXPORT_H
|
||||
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/resource.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "scene/main/node.h"
|
||||
#include "scene/main/timer.h"
|
||||
#include "scene/resources/texture.h"
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
|
||||
#include "editor_feature_profile.h"
|
||||
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/json.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "editor/editor_settings.h"
|
||||
#include "editor_node.h"
|
||||
#include "editor_scale.h"
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
#ifndef EDITOR_FEATURE_PROFILE_H
|
||||
#define EDITOR_FEATURE_PROFILE_H
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/object/reference.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "editor/editor_file_dialog.h"
|
||||
#include "editor_help.h"
|
||||
#include "scene/gui/dialogs.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "editor_file_dialog.h"
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/os/keyboard.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/string/print_string.h"
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#ifndef EDITORFILEDIALOG_H
|
||||
#define EDITORFILEDIALOG_H
|
||||
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/dialogs.h"
|
||||
#include "scene/gui/item_list.h"
|
||||
|
|
|
@ -31,10 +31,10 @@
|
|||
#include "editor_file_system.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_importer.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/variant/variant_parser.h"
|
||||
#include "editor_node.h"
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#ifndef EDITOR_FILE_SYSTEM_H
|
||||
#define EDITOR_FILE_SYSTEM_H
|
||||
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/os/thread.h"
|
||||
#include "core/os/thread_safe.h"
|
||||
#include "core/templates/safe_refcount.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "editor_folding.h"
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "editor_inspector.h"
|
||||
#include "editor_settings.h"
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include "editor_fonts.h"
|
||||
|
||||
#include "builtin_fonts.gen.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "editor_scale.h"
|
||||
#include "editor_settings.h"
|
||||
#include "scene/resources/default_theme/default_theme.h"
|
||||
|
|
|
@ -34,13 +34,13 @@
|
|||
#include "core/core_bind.h"
|
||||
#include "core/input/input.h"
|
||||
#include "core/io/config_file.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/image_loader.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/io/stream_peer_ssl.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/message_queue.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/keyboard.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/string/print_string.h"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
/*************************************************************************/
|
||||
|
||||
#include "editor_paths.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/os/os.h"
|
||||
|
||||
EditorPaths *EditorPaths::singleton = nullptr;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/config_file.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/os/main_loop.h"
|
||||
#include "editor_node.h"
|
||||
#include "editor_scale.h"
|
||||
|
|
|
@ -31,10 +31,10 @@
|
|||
#include "editor_resource_preview.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/object/message_queue.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "editor_node.h"
|
||||
#include "editor_scale.h"
|
||||
#include "editor_settings.h"
|
||||
|
|
|
@ -35,13 +35,13 @@
|
|||
#include "core/io/certs_compressed.gen.h"
|
||||
#include "core/io/compression.h"
|
||||
#include "core/io/config_file.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/file_access_memory.h"
|
||||
#include "core/io/ip.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/io/translation_loader_po.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/keyboard.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/version.h"
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
#include "editor_translation_parser.h"
|
||||
|
||||
#include "core/error/error_macros.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/object/script_language.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/templates/set.h"
|
||||
|
||||
EditorTranslationParser *EditorTranslationParser::singleton = nullptr;
|
||||
|
|
|
@ -31,9 +31,9 @@
|
|||
#include "export_template_manager.h"
|
||||
|
||||
#include "core/input/input.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/json.h"
|
||||
#include "core/io/zip_io.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/os/keyboard.h"
|
||||
#include "core/version.h"
|
||||
#include "editor_node.h"
|
||||
|
|
|
@ -31,9 +31,9 @@
|
|||
#include "filesystem_dock.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/keyboard.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/templates/list.h"
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#include "scene/gui/tree.h"
|
||||
#include "scene/main/timer.h"
|
||||
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/os/thread.h"
|
||||
|
||||
#include "create_dialog.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "find_in_files.h"
|
||||
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/os/os.h"
|
||||
#include "editor_node.h"
|
||||
#include "editor_scale.h"
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
|
||||
#include "resource_importer_csv_translation.h"
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/string/optimized_translation.h"
|
||||
#include "core/string/translation.h"
|
||||
|
||||
|
|
|
@ -30,9 +30,9 @@
|
|||
|
||||
#include "resource_importer_image.h"
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/image_loader.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "scene/resources/texture.h"
|
||||
|
||||
String ResourceImporterImage::get_importer_name() const {
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
|
||||
#include "resource_importer_obj.h"
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "editor/import/scene_importer_mesh.h"
|
||||
#include "editor/import/scene_importer_mesh_node_3d.h"
|
||||
#include "scene/3d/mesh_instance_3d.h"
|
||||
|
|
|
@ -30,9 +30,9 @@
|
|||
|
||||
#include "resource_importer_shader_file.h"
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/marshalls.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/plugins/shader_file_editor_plugin.h"
|
||||
#include "servers/rendering/rendering_device_binds.h"
|
||||
|
|
|
@ -31,9 +31,9 @@
|
|||
#ifndef RESOURCEIMPORTTEXTURE_H
|
||||
#define RESOURCEIMPORTTEXTURE_H
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/image.h"
|
||||
#include "core/io/resource_importer.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "scene/resources/texture.h"
|
||||
#include "servers/rendering_server.h"
|
||||
|
||||
|
|
|
@ -31,10 +31,10 @@
|
|||
#include "resource_importer_texture_atlas.h"
|
||||
|
||||
#include "atlas_import_failed.xpm"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/image_loader.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/math/geometry_2d.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "editor/editor_atlas_packer.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
#include "scene/resources/texture.h"
|
||||
|
|
|
@ -30,9 +30,9 @@
|
|||
|
||||
#include "resource_importer_wav.h"
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/marshalls.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "scene/resources/audio_stream_sample.h"
|
||||
|
||||
const float TRIM_DB_LIMIT = -50;
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "plugin_config_dialog.h"
|
||||
#include "core/io/config_file.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "editor/editor_scale.h"
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
|
||||
#include "canvas_item_editor_plugin.h"
|
||||
#include "core/input/input.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/math/geometry_2d.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/keyboard.h"
|
||||
#include "editor/editor_settings.h"
|
||||
#include "node_3d_editor_plugin.h"
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include "path_2d_editor_plugin.h"
|
||||
|
||||
#include "canvas_item_editor_plugin.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/os/keyboard.h"
|
||||
#include "editor/editor_scale.h"
|
||||
#include "editor/editor_settings.h"
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
|
||||
#include "canvas_item_editor_plugin.h"
|
||||
#include "core/input/input.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/math/geometry_2d.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/keyboard.h"
|
||||
#include "editor/editor_scale.h"
|
||||
#include "editor/editor_settings.h"
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/input/input.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/keyboard.h"
|
||||
#include "core/os/os.h"
|
||||
#include "editor/debugger/editor_debugger_node.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "theme_editor_plugin.h"
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/os/keyboard.h"
|
||||
#include "core/version.h"
|
||||
#include "editor/editor_scale.h"
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#ifndef POT_GENERATOR_H
|
||||
#define POT_GENERATOR_H
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/templates/ordered_hash_map.h"
|
||||
#include "core/templates/set.h"
|
||||
|
||||
|
|
|
@ -31,11 +31,11 @@
|
|||
#include "project_export.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/image_loader.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/string/optimized_translation.h"
|
||||
#include "editor_data.h"
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#ifndef PROJECT_EXPORT_SETTINGS_H
|
||||
#define PROJECT_EXPORT_SETTINGS_H
|
||||
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/os/thread.h"
|
||||
#include "editor/editor_export.h"
|
||||
#include "editor/editor_file_dialog.h"
|
||||
|
|
|
@ -31,11 +31,11 @@
|
|||
#include "project_manager.h"
|
||||
|
||||
#include "core/io/config_file.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/io/stream_peer_ssl.h"
|
||||
#include "core/io/zip_io.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/keyboard.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/string/translation.h"
|
||||
|
|
|
@ -31,9 +31,9 @@
|
|||
#include "script_create_dialog.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/object/script_language.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/string/string_builder.h"
|
||||
#include "editor/create_dialog.h"
|
||||
#include "editor/editor_node.h"
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include "core/debugger/engine_debugger.h"
|
||||
#include "core/input/input.h"
|
||||
#include "core/input/input_map.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access_network.h"
|
||||
#include "core/io/file_access_pack.h"
|
||||
#include "core/io/file_access_zip.h"
|
||||
|
@ -43,7 +44,6 @@
|
|||
#include "core/io/ip.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/object/message_queue.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/register_core_types.h"
|
||||
#include "core/string/translation.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "texture_loader_dds.h"
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
|
||||
#define PF_FOURCC(s) ((uint32_t)(((s)[3] << 24U) | ((s)[2] << 16U) | ((s)[1] << 8U) | ((s)[0])))
|
||||
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/json.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/string/ustring.h"
|
||||
#include "core/templates/local_vector.h"
|
||||
#include "core/templates/map.h"
|
||||
|
|
|
@ -32,9 +32,9 @@
|
|||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/core_constants.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/file_access_encrypted.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/os.h"
|
||||
|
||||
#include "scene/main/scene_tree.h"
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
|
||||
#include "core/config/engine.h"
|
||||
#include "core/core_constants.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/string/string_builder.h"
|
||||
#include "core/templates/pair.h"
|
||||
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
#include "core/config/project_settings.h"
|
||||
#include "core/core_constants.h"
|
||||
#include "core/core_string_names.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/file_access_encrypted.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/os.h"
|
||||
|
||||
#include "main/main.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
// Godot imports
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/os/os.h"
|
||||
// PluginScript imports
|
||||
#include "pluginscript_language.h"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
/*************************************************************************/
|
||||
|
||||
// Godot imports
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
// Pythonscript imports
|
||||
#include "pluginscript_language.h"
|
||||
#include "pluginscript_loader.h"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
/*************************************************************************/
|
||||
|
||||
// Godot imports
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
// PluginScript imports
|
||||
#include "pluginscript_instance.h"
|
||||
#include "pluginscript_script.h"
|
||||
|
|
|
@ -31,9 +31,9 @@
|
|||
#include "register_types.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/os/os.h"
|
||||
#include "scene/main/scene_tree.h"
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#define VIDEO_STREAM_GDNATIVE_H
|
||||
|
||||
#include "../gdnative.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "scene/resources/texture.h"
|
||||
#include "scene/resources/video_stream.h"
|
||||
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
#include "core/config/project_settings.h"
|
||||
#include "core/core_constants.h"
|
||||
#include "core/core_string_names.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/file_access_encrypted.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/os/os.h"
|
||||
#include "gdscript_analyzer.h"
|
||||
#include "gdscript_cache.h"
|
||||
|
|
|
@ -31,10 +31,10 @@
|
|||
#include "gdscript_analyzer.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/script_language.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/templates/hash_map.h"
|
||||
#include "gdscript.h"
|
||||
#include "gdscript_utility_functions.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "gdscript_cache.h"
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/templates/vector.h"
|
||||
#include "gdscript.h"
|
||||
#include "gdscript_analyzer.h"
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include "core/config/engine.h"
|
||||
#include "core/core_constants.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "gdscript_analyzer.h"
|
||||
#include "gdscript_compiler.h"
|
||||
#include "gdscript_parser.h"
|
||||
|
|
|
@ -31,9 +31,9 @@
|
|||
#include "gdscript_parser.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/math/math_defs.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "gdscript.h"
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "gdscript_language_server.h"
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/os/os.h"
|
||||
#include "editor/editor_log.h"
|
||||
#include "editor/editor_node.h"
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
#ifndef GDSCRIPT_TEXT_DOCUMENT_H
|
||||
#define GDSCRIPT_TEXT_DOCUMENT_H
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/object/reference.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "lsp.hpp"
|
||||
|
||||
class GDScriptTextDocument : public Reference {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue