From 7e338fac5c15a3cd6efdd570a93e6d8586856143 Mon Sep 17 00:00:00 2001 From: Emma Miler <27428383+emma-miler@users.noreply.github.com> Date: Sun, 30 Jan 2022 20:32:33 +0100 Subject: Added command line option for custom northstar dir Added command line option for custom northstar dir https://github.com/orgs/R2Northstar/projects/1#card-76312632 --- NorthstarDedicatedTest/modmanager.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'NorthstarDedicatedTest/modmanager.h') diff --git a/NorthstarDedicatedTest/modmanager.h b/NorthstarDedicatedTest/modmanager.h index 20cb0a42..445d757e 100644 --- a/NorthstarDedicatedTest/modmanager.h +++ b/NorthstarDedicatedTest/modmanager.h @@ -8,10 +8,9 @@ namespace fs = std::filesystem; -const fs::path MOD_FOLDER_PATH = "R2Northstar/mods"; +const std::string MOD_FOLDER_SUFFIX = "/mods"; const fs::path MOD_OVERRIDE_DIR = "mod"; - -const fs::path COMPILED_ASSETS_PATH = "R2Northstar/runtime/compiled"; +const std::string COMPILED_ASSETS_SUFFIX = "/runtime/compiled"; struct ModConVar { @@ -124,5 +123,7 @@ public: }; void InitialiseModManager(HMODULE baseAddress); +fs::path GetModFolderPath(); +fs::path GetCompiledAssetsPath(); extern ModManager* g_ModManager; \ No newline at end of file -- cgit v1.2.3