mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Fix "res://" being replaced by resource packs in the editor and on Android
This commit is contained in:
@@ -147,6 +147,14 @@ public:
|
||||
virtual Ref<FileAccess> get_file(const String &p_path, PackedData::PackedFile *p_file) override;
|
||||
};
|
||||
|
||||
class PackedSourceDirectory : public PackSource {
|
||||
void add_directory(const String &p_path, bool p_replace_files);
|
||||
|
||||
public:
|
||||
virtual bool try_open_pack(const String &p_path, bool p_replace_files, uint64_t p_offset) override;
|
||||
virtual Ref<FileAccess> get_file(const String &p_path, PackedData::PackedFile *p_file) override;
|
||||
};
|
||||
|
||||
class FileAccessPack : public FileAccess {
|
||||
PackedData::PackedFile pf;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user