From c524d50444f98039faab75f7d701ca54a82e5848 Mon Sep 17 00:00:00 2001 From: Yilin Ma Date: Mon, 13 Jul 2020 11:22:06 -0500 Subject: added load resource pack with offset feature updated variables to use size_t removed line break to make code style more consistent added conditional check to return an error if offset field is used when loading a ZIP package fixed typo formatted file added commit regarding self contained exe files handled error loging for load zip file with offset spelling tweak updated conditional statement for magic check udpated error message when load Zip file with offset is called fix CI Trying to fix CI fix CI done Added error message for loading self-contained exe with offset. Updated documentation. Fix indent final fix indent Updated documentation. fix indents Updated doc based on suggestion Final fix fixed format --- core/io/file_access_zip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/io/file_access_zip.h') diff --git a/core/io/file_access_zip.h b/core/io/file_access_zip.h index 776e830f36..ec51a9e4fb 100644 --- a/core/io/file_access_zip.h +++ b/core/io/file_access_zip.h @@ -69,7 +69,7 @@ public: bool file_exists(String p_name) const; - virtual bool try_open_pack(const String &p_path, bool p_replace_files); + virtual bool try_open_pack(const String &p_path, bool p_replace_files, size_t p_offset); FileAccess *get_file(const String &p_path, PackedData::PackedFile *p_file); static ZipArchive *get_singleton(); -- cgit v1.2.3