aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/modmanager.h
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-23 15:36:18 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-23 15:36:18 +0100
commit844e12403400b455fe5df8c2e19145a2ed1a7d45 (patch)
tree81839795869676892b0219d4d1533fb40d6074af /NorthstarDedicatedTest/modmanager.h
parent23a1dafcde70822a9899e9aab190f36521c1aedd (diff)
downloadNorthstarLauncher-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.h7
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);