summaryrefslogtreecommitdiff
path: root/src/Companion.h
diff options
context:
space:
mode:
authorJeod <47716344+JeodC@users.noreply.github.com>2026-06-21 21:56:17 -0400
committerLywx <kiritodev01@gmail.com>2026-06-29 18:48:27 -0600
commitec17e8fe49b7bcd9b181e5d0feb05da660c6f061 (patch)
tree793d639c88b08191156a41fea23efa3dc8b8ed93 /src/Companion.h
parentd91a56479c0615231c93bb1623ca0ed8b771b831 (diff)
BK64: Add dialog pack support
Diffstat (limited to 'src/Companion.h')
-rw-r--r--src/Companion.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Companion.h b/src/Companion.h
index f8bcd68..59d1940 100644
--- a/src/Companion.h
+++ b/src/Companion.h
@@ -209,6 +209,7 @@ public:
std::string RelativePathToSrcDir(const std::string& path) const;
std::string RelativePathToDestDir(const std::string& path) const;
void RegisterCompanionFile(const std::string path, std::vector<char> data);
+ void RegisterArchiveFile(const std::string& name, std::vector<char> data);
void SetAdditionalFiles(const std::vector<std::string>& files) { this->gAdditionalFiles = files; }
void SetVersion(const std::string& version) { this->gVersion = version; }
@@ -219,6 +220,7 @@ public:
void SetProcess(bool shouldProcess);
TorchConfig& GetConfig() { return this->gConfig; }
BinaryWrapper* GetCurrentWrapper() { return this->gCurrentWrapper; }
+ const std::unordered_map<std::string, std::string>& GetModdedAssetPaths() const { return this->gModdedAssetPaths; }
std::optional<std::tuple<std::string, YAML::Node>> RegisterAsset(const std::string& name, YAML::Node& node);
std::optional<YAML::Node> AddSubFileAsset(YAML::Node asset, std::string newFileName, CompressionType newCompressionType, uint32_t compressedSize = 0);
@@ -267,6 +269,7 @@ private:
std::unordered_set<std::string> gProcessedFiles;
std::unordered_map<std::string, std::vector<char>> gCompanionFiles;
+ std::vector<std::pair<std::string, std::vector<char>>> gArchiveFiles;
std::unordered_map<std::string, std::vector<ParseResultData>> gParseResults;
std::vector<std::string> gAdditionalFiles;