summaryrefslogtreecommitdiffstats
path: root/core/os/os.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2021-12-20 11:28:54 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-04-20 11:09:59 +0300
commitc0cc41d6c1bb7b9fb4897debb15f1f083d3c1d02 (patch)
treec23fc52665f9da89e9ed85bff707ac1404b81d39 /core/os/os.h
parentf4b0c7a1ea8d86c1dfd96478ca12ad1360903d9d (diff)
downloadredot-engine-c0cc41d6c1bb7b9fb4897debb15f1f083d3c1d02.tar.gz
Improve embedded PCK loading and exporting.
Windows export process: Limit size of executable with embedded PCK to 4 GB. Use "rcedit" before embedding PCK. Capture and process "rcedit" errors. Windows, Linux: Add support for PCK loading from executable "pck" section.
Diffstat (limited to 'core/os/os.h')
-rw-r--r--core/os/os.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h
index b3c66ff18c..9ec0dd7728 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -264,6 +264,8 @@ public:
virtual String get_locale() const;
String get_locale_language() const;
+ virtual uint64_t get_embedded_pck_offset() const;
+
String get_safe_dir_name(const String &p_dir_name, bool p_allow_dir_separator = false) const;
virtual String get_godot_dir_name() const;