aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/modmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/modmanager.h')
-rw-r--r--NorthstarDedicatedTest/modmanager.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/modmanager.h b/NorthstarDedicatedTest/modmanager.h
index 07e5bffb..c79c507d 100644
--- a/NorthstarDedicatedTest/modmanager.h
+++ b/NorthstarDedicatedTest/modmanager.h
@@ -44,6 +44,21 @@ struct ModScript
std::vector<ModScriptCallback> Callbacks;
};
+// these are pretty much identical, could refactor to use the same stuff?
+struct ModVPKEntry
+{
+ public:
+ bool m_bAutoLoad;
+ std::string m_sVpkPath;
+};
+
+struct ModRpakEntry
+{
+ public:
+ bool m_bAutoLoad;
+ std::string m_sPakPath;
+};
+
class Mod
{
public:
@@ -76,10 +91,14 @@ class Mod
// other files:
- std::vector<std::string> Vpks;
+ std::vector<ModVPKEntry> Vpks;
std::unordered_map<size_t, std::string> KeyValues;
+ std::vector<std::string> BinkVideos;
std::string Pdiff; // only need one per 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
+
// other stuff
bool wasReadSuccessfully = false;