summaryrefslogtreecommitdiff
path: root/src/shared/fallout3info.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/fallout3info.h
parentc3a95bdef1d989a54684b966e042b12bf682046d (diff)
extended the game-plugin interface
Diffstat (limited to 'src/shared/fallout3info.h')
-rw-r--r--src/shared/fallout3info.h37
1 files changed, 28 insertions, 9 deletions
diff --git a/src/shared/fallout3info.h b/src/shared/fallout3info.h
index 6a211d4f..1f3a381d 100644
--- a/src/shared/fallout3info.h
+++ b/src/shared/fallout3info.h
@@ -35,8 +35,6 @@ public:
virtual ~Fallout3Info() {}
- virtual unsigned long getBSAVersion();
-
static std::wstring getRegPathStatic();
virtual std::wstring getRegPath() { return getRegPathStatic(); }
virtual std::wstring getBinaryName() { return L"Fallout3.exe"; }
@@ -45,14 +43,38 @@ public:
virtual std::wstring getGameName() const { return L"Fallout 3"; }
virtual std::wstring getGameShortName() const { return L"Fallout3"; }
+/*
+ virtual std::wstring getInvalidationBSA()
+ {
+ return L"Fallout - Invalidation.bsa";
+ }
- virtual std::wstring getInvalidationBSA();
+ 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 - Meshes.bsa")
+ (L"Fallout - Voices.bsa")
+ (L"Fallout - Sound.bsa")
+ (L"Fallout - MenuVoices.bsa")
+ (L"Fallout - Misc.bsa");
+ }
- virtual std::vector<std::wstring> getVanillaBSAs();
+ virtual std::vector<std::wstring> getPrimaryPlugins()
+ {
+ return boost::assign::list_of(L"fallout3.esm");
+ }*/
virtual std::vector<std::wstring> getDLCPlugins();
virtual std::vector<std::wstring> getSavegameAttachmentExtensions();
@@ -60,12 +82,9 @@ public:
virtual std::vector<std::wstring> getIniFileNames();
virtual std::wstring getReferenceDataFile();
- virtual std::wstring getOMODExt();
virtual std::vector<std::wstring> getSteamVariants() const;
- virtual std::wstring getSEName();
-
virtual std::wstring getNexusPage(bool nmmScheme = true);
static std::wstring getNexusInfoUrlStatic();
virtual std::wstring getNexusInfoUrl() { return getNexusInfoUrlStatic(); }