diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-01-31 00:19:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-31 00:19:36 +0000 |
commit | 186a4e2dbcb8a7c2f1a24f6657f0c5daa00a7fd5 (patch) | |
tree | b5d45cea23a50f0ff453684cb20d5fed5fef8bf1 /NorthstarDedicatedTest/modmanager.h | |
parent | a589bb0082cbae6d326644292179c9427e76e795 (diff) | |
parent | 033c8989c28384529fef72e0e8e17e824ceac8d4 (diff) | |
download | NorthstarLauncher-186a4e2dbcb8a7c2f1a24f6657f0c5daa00a7fd5.tar.gz NorthstarLauncher-186a4e2dbcb8a7c2f1a24f6657f0c5daa00a7fd5.zip |
Merge pull request #61 from emma-miler/cla
Added command line option for custom northstar directory
Diffstat (limited to 'NorthstarDedicatedTest/modmanager.h')
-rw-r--r-- | NorthstarDedicatedTest/modmanager.h | 7 |
1 files changed, 4 insertions, 3 deletions
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 |