diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-11-07 01:35:06 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-11-07 01:35:06 +0000 |
commit | 365191707407566841c1e37935619d260a4f67a7 (patch) | |
tree | 760ada58fcc051d892d886ddee9849ce3628d829 /NorthstarDedicatedTest/modmanager.h | |
parent | a7fd103124d6e6a506d8f837b9a29a97f0ea7e63 (diff) | |
download | NorthstarLauncher-365191707407566841c1e37935619d260a4f67a7.tar.gz NorthstarLauncher-365191707407566841c1e37935619d260a4f67a7.zip |
more modmanager improvements
Diffstat (limited to 'NorthstarDedicatedTest/modmanager.h')
-rw-r--r-- | NorthstarDedicatedTest/modmanager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/modmanager.h b/NorthstarDedicatedTest/modmanager.h index e1c246b1..cc3442ec 100644 --- a/NorthstarDedicatedTest/modmanager.h +++ b/NorthstarDedicatedTest/modmanager.h @@ -102,6 +102,10 @@ private: bool m_hasEnabledModsCfg; rapidjson::Document m_enabledModsCfg; + // precalculated hashes + size_t m_hScriptsRsonHash; + size_t m_hPdefHash; + public: std::vector<Mod> m_loadedMods; std::unordered_map<std::string, ModOverrideFile> m_modFiles; @@ -115,6 +119,7 @@ public: // compile asset type stuff, these are done in files under Mods/Compiled/ void BuildScriptsRson(); void TryBuildKeyValues(const char* filename); + void BuildPdef(); }; void InitialiseModManager(HMODULE baseAddress); |