summaryrefslogtreecommitdiff
path: root/src/shared/falloutnvinfo.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-01-29 19:26:42 +0100
committerTannin <devnull@localhost>2015-01-29 19:26:42 +0100
commit8aa6dc4c7dcf4139cd0144207a327013bd3cb1dc (patch)
tree06a28839549304e32b5774b37fba07ca4413bc03 /src/shared/falloutnvinfo.h
parentc3a95bdef1d989a54684b966e042b12bf682046d (diff)
extended the game-plugin interface
Diffstat (limited to 'src/shared/falloutnvinfo.h')
-rw-r--r--src/shared/falloutnvinfo.h37
1 files changed, 28 insertions, 9 deletions
diff --git a/src/shared/falloutnvinfo.h b/src/shared/falloutnvinfo.h
index 513b7218..e1a614d2 100644
--- a/src/shared/falloutnvinfo.h
+++ b/src/shared/falloutnvinfo.h
@@ -35,8 +35,6 @@ public:
virtual ~FalloutNVInfo() {}
- virtual unsigned long getBSAVersion();
-
static std::wstring getRegPathStatic();
virtual std::wstring getRegPath() { return getRegPathStatic(); }
virtual std::wstring getBinaryName() { return L"FalloutNV.exe"; }
@@ -48,13 +46,37 @@ public:
// virtual bool requiresSteam() const { return true; }
- virtual std::wstring getInvalidationBSA();
+/* virtual std::wstring getInvalidationBSA()
+ {
+ return L"Fallout - Invalidation.bsa";
+ }
+
+ virtual bool isInvalidationBSA(const std::wstring &bsaName)
+ {
+ static LPCWSTR invalidation[] = { L"Fallout - AI!.bsa", L"Fallout - Invalidation.bsa", nullptr };
- virtual bool isInvalidationBSA(const std::wstring &bsaName);
+ for (int i = 0; invalidation[i] != nullptr; ++i) {
+ if (wcscmp(bsaName.c_str(), invalidation[i]) == 0) {
+ return true;
+ }
+ }
+ return false;
+ }
- virtual std::vector<std::wstring> getPrimaryPlugins();
+ virtual std::vector<std::wstring> getVanillaBSAs()
+ {
+ return boost::assign::list_of (L"Fallout - Textures.bsa")
+ (L"Fallout - Textures2.bsa")
+ (L"Fallout - Meshes.bsa")
+ (L"Fallout - Voices1.bsa")
+ (L"Fallout - Sound.bsa")
+ (L"Fallout - Misc.bsa");
+ }
- virtual std::vector<std::wstring> getVanillaBSAs();
+ virtual std::vector<std::wstring> getPrimaryPlugins()
+ {
+ return boost::assign::list_of(L"falloutnv.esm");
+ }*/
virtual std::vector<std::wstring> getDLCPlugins();
virtual std::vector<std::wstring> getSavegameAttachmentExtensions();
@@ -62,9 +84,6 @@ public:
virtual std::vector<std::wstring> getIniFileNames();
virtual std::wstring getReferenceDataFile();
- virtual std::wstring getOMODExt();
-
- virtual std::wstring getSEName();
virtual std::wstring getNexusPage(bool nmmScheme = true);
static std::wstring getNexusInfoUrlStatic();