diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-23 15:36:18 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-23 15:36:18 +0100 |
commit | 844e12403400b455fe5df8c2e19145a2ed1a7d45 (patch) | |
tree | 81839795869676892b0219d4d1533fb40d6074af /NorthstarDedicatedTest/modmanager.h | |
parent | 23a1dafcde70822a9899e9aab190f36521c1aedd (diff) | |
download | NorthstarLauncher-844e12403400b455fe5df8c2e19145a2ed1a7d45.tar.gz NorthstarLauncher-844e12403400b455fe5df8c2e19145a2ed1a7d45.zip |
add support for building scripts.rson at runtime
Diffstat (limited to 'NorthstarDedicatedTest/modmanager.h')
-rw-r--r-- | NorthstarDedicatedTest/modmanager.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/modmanager.h b/NorthstarDedicatedTest/modmanager.h index 60e51308..662c34c4 100644 --- a/NorthstarDedicatedTest/modmanager.h +++ b/NorthstarDedicatedTest/modmanager.h @@ -6,6 +6,9 @@ namespace fs = std::filesystem; const fs::path MOD_FOLDER_PATH = "R2Northstar/mods"; +const fs::path MOD_OVERRIDE_DIR = "mod"; + +const fs::path COMPILED_ASSETS_PATH = "R2Northstar/runtime/compiled"; struct ModConVar { @@ -92,6 +95,10 @@ public: public: ModManager(); void LoadMods(); + void CompileAssetsForFile(const char* filename); + + // compile asset type stuff, these are done in files under Mods/Compiled/ + void BuildScriptsRson(); }; void InitialiseModManager(HMODULE baseAddress); |