summaryrefslogtreecommitdiff
path: root/src/shared/fallout3info.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-10-25 14:49:42 +0200
committerTannin <devnull@localhost>2013-10-25 14:49:42 +0200
commit8c0b309bdee2527fab66b00b34171ef18f5055bf (patch)
tree9e0d4000573046df8ae7e060b665365f71ed74a6 /src/shared/fallout3info.cpp
parentbc7c42dbe8dd85a77a2eb8c1d094c77aa5cb7b1f (diff)
- Option to choose edition of the game. Currently only relevant for FO3 because FO3 GOTY is its own app
- applications that aren't in the executables list can again be started from the command line - references to missing categories are now removed from mods - bugfix: integrated fomod installer didn't update description and picture on some constellations of Windows version and theme
Diffstat (limited to 'src/shared/fallout3info.cpp')
-rw-r--r--src/shared/fallout3info.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/shared/fallout3info.cpp b/src/shared/fallout3info.cpp
index 79dd90c9..c673fa1b 100644
--- a/src/shared/fallout3info.cpp
+++ b/src/shared/fallout3info.cpp
@@ -133,10 +133,17 @@ std::wstring Fallout3Info::getOMODExt()
return L"fomod";
}
+std::vector<std::wstring> Fallout3Info::getSteamVariants() const
+{
+ return boost::assign::list_of(L"Regular")(L"Game Of The Year");
+}
-std::wstring Fallout3Info::getSteamAPPId()
+std::wstring Fallout3Info::getSteamAPPId(int variant) const
{
- return L"22300";
+ switch (variant) {
+ case 1: return L"22370";
+ default: return L"22300";
+ }
}