From e0eb97922d5ef4a1448e76f13374ebfda7fda403 Mon Sep 17 00:00:00 2001 From: Tannin Date: Wed, 27 Mar 2013 20:48:33 +0100 Subject: - 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 --- src/shared/fallout3info.cpp | 10 ++++++++++ src/shared/fallout3info.h | 2 ++ src/shared/falloutnvinfo.cpp | 10 ++++++++++ src/shared/falloutnvinfo.h | 2 ++ src/shared/gameinfo.h | 2 ++ src/shared/oblivioninfo.cpp | 11 +++++++++++ src/shared/oblivioninfo.h | 2 ++ src/shared/skyriminfo.cpp | 16 ++++++++++++++++ src/shared/skyriminfo.h | 2 ++ 9 files changed, 57 insertions(+) (limited to 'src/shared') 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 Fallout3Info::getPrimaryPlugins() return boost::assign::list_of(L"fallout3.esm"); } +std::vector 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 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 getPrimaryPlugins(); + virtual std::vector getVanillaBSAs(); + // file name of this games ini (no path) virtual std::vector 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 FalloutNVInfo::getPrimaryPlugins() return boost::assign::list_of(L"falloutnv.esm"); } +std::vector 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 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 getPrimaryPlugins(); + virtual std::vector getVanillaBSAs(); + // file name of this games ini (no path) virtual std::vector 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 getPrimaryPlugins() = 0; + virtual std::vector getVanillaBSAs() = 0; + // file name of this games ini file(s) virtual std::vector 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 OblivionInfo::getPrimaryPlugins() } +std::vector 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 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 getPrimaryPlugins(); + virtual std::vector getVanillaBSAs(); + // file name of this games ini (no path) virtual std::vector 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 SkyrimInfo::getPrimaryPlugins() return boost::assign::list_of(L"skyrim.esm")(L"update.esm"); } +std::vector 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 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 getPrimaryPlugins(); + virtual std::vector getVanillaBSAs(); + // file name of this games ini (no path) virtual std::vector getIniFileNames(); -- cgit v1.3.1