diff options
author | Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> | 2022-10-22 01:55:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-22 01:55:52 +0100 |
commit | 5a0f03a299e87252e5b943f85f33a92e18984c65 (patch) | |
tree | c4cfc6babcec6c779b11302423eea50b6e908f07 /NorthstarDLL/modmanager.h | |
parent | ca6269431c5d1e4e91687b2ab7fd7ee2f311a2e0 (diff) | |
download | NorthstarLauncher-5a0f03a299e87252e5b943f85f33a92e18984c65.tar.gz NorthstarLauncher-5a0f03a299e87252e5b943f85f33a92e18984c65.zip |
Allow rpaks to use starpaks that are in the mod's folder (#279)v1.10.0-rc4
* this works
* read starpak entires from rpak headers
* formatting
* move logging to after function
* Use str.empty instead of str != ""
* change allocatedNewPath to std::string
* merge conflict resolution part 2
* change to use int + add comment
* better comments + init variable
* path syntax + another comment
* use goto to exit loop + improve commenting
* implement requested changes
* remove accidental diff
* explanatory comment
Diffstat (limited to 'NorthstarDLL/modmanager.h')
-rw-r--r-- | NorthstarDLL/modmanager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/NorthstarDLL/modmanager.h b/NorthstarDLL/modmanager.h index f622c675..9f57c69a 100644 --- a/NorthstarDLL/modmanager.h +++ b/NorthstarDLL/modmanager.h @@ -100,6 +100,9 @@ class Mod std::vector<ModRpakEntry> Rpaks; std::unordered_map<std::string, std::string> RpakAliases; // paks we alias to other rpaks, e.g. to load sp_crashsite paks on the map mp_crashsite + std::vector<size_t> StarpakPaths; // starpaks that this mod contains + // there seems to be no nice way to get the rpak that is causing the load of a starpak? + // hashed with STR_HASH std::unordered_map<std::string, std::string> DependencyConstants; |