summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-03-27 20:48:33 +0100
committerTannin <devnull@localhost>2013-03-27 20:48:33 +0100
commite0eb97922d5ef4a1448e76f13374ebfda7fda403 (patch)
tree00f32ad3f680e51a210bee8155624d71f608bb15 /src/shared
parent74c75e60d67b66a63225239c1f6b1403662857aa (diff)
- added hooks for getFileVersion* functions
- automatic donwload retry - support for storing multiple download urls - improved "query info" functionality - some cleanup to download manager code - external fomod installer dialog are now brought to front - added shell... functions to have windows handle problematic situations - added visual clue when filters are active - esps are now automatically activated when installing a mod - added option to never endorse a mod - added "previous" and "next" buttons to mod info dialog - improved the way messagedialog text is shortened - coloring in mod info dialog now visible in other color schemes - plugin list is now saved automatically - vanilla bsas are now enabled even if they are not listed in the ini file - bugfix: setting mod to maximum now doesn't try to place the mod below overwrite
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/fallout3info.cpp10
-rw-r--r--src/shared/fallout3info.h2
-rw-r--r--src/shared/falloutnvinfo.cpp10
-rw-r--r--src/shared/falloutnvinfo.h2
-rw-r--r--src/shared/gameinfo.h2
-rw-r--r--src/shared/oblivioninfo.cpp11
-rw-r--r--src/shared/oblivioninfo.h2
-rw-r--r--src/shared/skyriminfo.cpp16
-rw-r--r--src/shared/skyriminfo.h2
9 files changed, 57 insertions, 0 deletions
diff --git a/src/shared/fallout3info.cpp b/src/shared/fallout3info.cpp
index a37e1119..79dd90c9 100644
--- a/src/shared/fallout3info.cpp
+++ b/src/shared/fallout3info.cpp
@@ -102,6 +102,16 @@ std::vector<std::wstring> Fallout3Info::getPrimaryPlugins()
return boost::assign::list_of(L"fallout3.esm");
}
+std::vector<std::wstring> Fallout3Info::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");
+}
+
std::vector<std::wstring> Fallout3Info::getIniFileNames()
{
return boost::assign::list_of(L"fallout.ini")(L"falloutprefs.ini");
diff --git a/src/shared/fallout3info.h b/src/shared/fallout3info.h
index 9ec32027..95a76471 100644
--- a/src/shared/fallout3info.h
+++ b/src/shared/fallout3info.h
@@ -57,6 +57,8 @@ public:
virtual std::vector<std::wstring> getPrimaryPlugins();
+ virtual std::vector<std::wstring> getVanillaBSAs();
+
// file name of this games ini (no path)
virtual std::vector<std::wstring> getIniFileNames();
diff --git a/src/shared/falloutnvinfo.cpp b/src/shared/falloutnvinfo.cpp
index cd5586f3..6da454ee 100644
--- a/src/shared/falloutnvinfo.cpp
+++ b/src/shared/falloutnvinfo.cpp
@@ -103,6 +103,16 @@ std::vector<std::wstring> FalloutNVInfo::getPrimaryPlugins()
return boost::assign::list_of(L"falloutnv.esm");
}
+std::vector<std::wstring> FalloutNVInfo::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");
+}
+
std::vector<std::wstring> FalloutNVInfo::getIniFileNames()
{
return boost::assign::list_of(L"fallout.ini")(L"falloutprefs.ini");
diff --git a/src/shared/falloutnvinfo.h b/src/shared/falloutnvinfo.h
index 53784177..2f6cba7b 100644
--- a/src/shared/falloutnvinfo.h
+++ b/src/shared/falloutnvinfo.h
@@ -59,6 +59,8 @@ public:
virtual std::vector<std::wstring> getPrimaryPlugins();
+ virtual std::vector<std::wstring> getVanillaBSAs();
+
// file name of this games ini (no path)
virtual std::vector<std::wstring> getIniFileNames();
diff --git a/src/shared/gameinfo.h b/src/shared/gameinfo.h
index fd8ba998..3e022ef4 100644
--- a/src/shared/gameinfo.h
+++ b/src/shared/gameinfo.h
@@ -127,6 +127,8 @@ public:
virtual std::vector<std::wstring> getPrimaryPlugins() = 0;
+ virtual std::vector<std::wstring> getVanillaBSAs() = 0;
+
// file name of this games ini file(s)
virtual std::vector<std::wstring> getIniFileNames() = 0;
diff --git a/src/shared/oblivioninfo.cpp b/src/shared/oblivioninfo.cpp
index 73e841a7..7c6d5cbb 100644
--- a/src/shared/oblivioninfo.cpp
+++ b/src/shared/oblivioninfo.cpp
@@ -106,6 +106,17 @@ std::vector<std::wstring> OblivionInfo::getPrimaryPlugins()
}
+std::vector<std::wstring> OblivionInfo::getVanillaBSAs()
+{
+ return boost::assign::list_of(L"Oblivion - Meshes.bsa")
+ (L"Oblivion - Textures - Compressed.bsa")
+ (L"Oblivion - Sounds.bsa")
+ (L"Oblivion - Voices1.bsa")
+ (L"Oblivion - Voices2.bsa")
+ (L"Oblivion - Misc.bsa");
+}
+
+
std::vector<std::wstring> OblivionInfo::getIniFileNames()
{
return boost::assign::list_of(L"oblivion.ini")(L"oblivionprefs.ini");
diff --git a/src/shared/oblivioninfo.h b/src/shared/oblivioninfo.h
index 51fd46e4..13374aa3 100644
--- a/src/shared/oblivioninfo.h
+++ b/src/shared/oblivioninfo.h
@@ -55,6 +55,8 @@ public:
virtual std::vector<std::wstring> getPrimaryPlugins();
+ virtual std::vector<std::wstring> getVanillaBSAs();
+
// file name of this games ini (no path)
virtual std::vector<std::wstring> getIniFileNames();
diff --git a/src/shared/skyriminfo.cpp b/src/shared/skyriminfo.cpp
index 1c13effb..80cf4c80 100644
--- a/src/shared/skyriminfo.cpp
+++ b/src/shared/skyriminfo.cpp
@@ -131,6 +131,22 @@ std::vector<std::wstring> SkyrimInfo::getPrimaryPlugins()
return boost::assign::list_of(L"skyrim.esm")(L"update.esm");
}
+std::vector<std::wstring> SkyrimInfo::getVanillaBSAs()
+{
+ return boost::assign::list_of(L"Skyrim - Misc.bsa")
+ (L"Skyrim - Shaders.bsa")
+ (L"Skyrim - Textures.bsa")
+ (L"HighResTexturePack01.bsa")
+ (L"HighResTexturePack02.bsa")
+ (L"HighResTexturePack03.bsa")
+ (L"Skyrim - Interface.bsa")
+ (L"Skyrim - Animations.bsa")
+ (L"Skyrim - Meshes.bsa")
+ (L"Skyrim - Sounds.bsa")
+ (L"Skyrim - Voices.bsa")
+ (L"Skyrim - VoicesExtra.bsa");
+}
+
std::vector<std::wstring> SkyrimInfo::getIniFileNames()
{
return boost::assign::list_of(L"skyrim.ini")(L"skyrimprefs.ini");
diff --git a/src/shared/skyriminfo.h b/src/shared/skyriminfo.h
index 024d0395..4760c38b 100644
--- a/src/shared/skyriminfo.h
+++ b/src/shared/skyriminfo.h
@@ -62,6 +62,8 @@ public:
virtual std::vector<std::wstring> getPrimaryPlugins();
+ virtual std::vector<std::wstring> getVanillaBSAs();
+
// file name of this games ini (no path)
virtual std::vector<std::wstring> getIniFileNames();