summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/fallout3info.cpp5
-rw-r--r--src/shared/fallout3info.h1
-rw-r--r--src/shared/falloutnvinfo.cpp5
-rw-r--r--src/shared/falloutnvinfo.h1
-rw-r--r--src/shared/gameinfo.h3
-rw-r--r--src/shared/oblivioninfo.cpp6
-rw-r--r--src/shared/oblivioninfo.h1
-rw-r--r--src/shared/shared.pro6
-rw-r--r--src/shared/skyriminfo.cpp5
-rw-r--r--src/shared/skyriminfo.h2
10 files changed, 32 insertions, 3 deletions
diff --git a/src/shared/fallout3info.cpp b/src/shared/fallout3info.cpp
index 68fd515e..ea73c7f6 100644
--- a/src/shared/fallout3info.cpp
+++ b/src/shared/fallout3info.cpp
@@ -122,6 +122,11 @@ std::vector<std::wstring> Fallout3Info::getDLCPlugins()
;
}
+std::vector<std::wstring> Fallout3Info::getSavegameAttachmentExtensions()
+{
+ return std::vector<std::wstring>();
+}
+
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 e9a818e2..7c61ca6d 100644
--- a/src/shared/fallout3info.h
+++ b/src/shared/fallout3info.h
@@ -59,6 +59,7 @@ public:
virtual std::vector<std::wstring> getVanillaBSAs();
virtual std::vector<std::wstring> getDLCPlugins();
+ virtual std::vector<std::wstring> getSavegameAttachmentExtensions();
// 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 366c72c3..1715912d 100644
--- a/src/shared/falloutnvinfo.cpp
+++ b/src/shared/falloutnvinfo.cpp
@@ -127,13 +127,16 @@ std::vector<std::wstring> FalloutNVInfo::getDLCPlugins()
;
}
+std::vector<std::wstring> FalloutNVInfo::getSavegameAttachmentExtensions()
+{
+ return std::vector<std::wstring>();
+}
std::vector<std::wstring> FalloutNVInfo::getIniFileNames()
{
return boost::assign::list_of(L"fallout.ini")(L"falloutprefs.ini");
}
-
std::wstring FalloutNVInfo::getSaveGameExtension()
{
return L"*.fos";
diff --git a/src/shared/falloutnvinfo.h b/src/shared/falloutnvinfo.h
index e6f6b5d0..4de67a19 100644
--- a/src/shared/falloutnvinfo.h
+++ b/src/shared/falloutnvinfo.h
@@ -61,6 +61,7 @@ public:
virtual std::vector<std::wstring> getVanillaBSAs();
virtual std::vector<std::wstring> getDLCPlugins();
+ virtual std::vector<std::wstring> getSavegameAttachmentExtensions();
// 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 69cd38f6..33467cb9 100644
--- a/src/shared/gameinfo.h
+++ b/src/shared/gameinfo.h
@@ -130,6 +130,9 @@ public:
virtual std::vector<std::wstring> getVanillaBSAs() = 0;
+ // get a list of file extensions for additional files belonging to a save game
+ virtual std::vector<std::wstring> getSavegameAttachmentExtensions() = 0;
+
// get a set of esp/esm files that are part of known dlcs
virtual std::vector<std::wstring> getDLCPlugins() = 0;
diff --git a/src/shared/oblivioninfo.cpp b/src/shared/oblivioninfo.cpp
index 85f31042..532e49b8 100644
--- a/src/shared/oblivioninfo.cpp
+++ b/src/shared/oblivioninfo.cpp
@@ -133,6 +133,12 @@ std::vector<std::wstring> OblivionInfo::getDLCPlugins()
}
+std::vector<std::wstring> OblivionInfo::getSavegameAttachmentExtensions()
+{
+ return boost::assign::list_of(L"obse");
+}
+
+
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 f9c8fa47..121cad43 100644
--- a/src/shared/oblivioninfo.h
+++ b/src/shared/oblivioninfo.h
@@ -57,6 +57,7 @@ public:
virtual std::vector<std::wstring> getVanillaBSAs();
virtual std::vector<std::wstring> getDLCPlugins();
+ virtual std::vector<std::wstring> getSavegameAttachmentExtensions();
// file name of this games ini (no path)
virtual std::vector<std::wstring> getIniFileNames();
diff --git a/src/shared/shared.pro b/src/shared/shared.pro
index 992fd7f2..c5925c24 100644
--- a/src/shared/shared.pro
+++ b/src/shared/shared.pro
@@ -21,11 +21,13 @@ INCLUDEPATH += ../bsatk "$(BOOSTPATH)"
CONFIG(debug, debug|release) {
LIBS += -L$$OUT_PWD/../bsatk/debug
- LIBS += -lDbgHelp
+ LIBS += -lDbgHelp
QMAKE_CXXFLAGS_DEBUG -= -Zi
QMAKE_CXXFLAGS += -Z7
+ PRE_TARGETDEPS += $$OUT_PWD/../bsatk/debug/bsatk.lib
} else {
- LIBS += -L$$OUT_PWD/../bsatk/release
+ LIBS += -L$$OUT_PWD/../bsatk/release
+ PRE_TARGETDEPS += $$OUT_PWD/../bsatk/release/bsatk.lib
}
LIBS += -lbsatk
diff --git a/src/shared/skyriminfo.cpp b/src/shared/skyriminfo.cpp
index 5711e2fd..5017da38 100644
--- a/src/shared/skyriminfo.cpp
+++ b/src/shared/skyriminfo.cpp
@@ -158,6 +158,11 @@ std::vector<std::wstring> SkyrimInfo::getDLCPlugins()
;
}
+std::vector<std::wstring> SkyrimInfo::getSavegameAttachmentExtensions()
+{
+ return boost::assign::list_of(L"skse");
+}
+
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 2794555f..3b3b6d8e 100644
--- a/src/shared/skyriminfo.h
+++ b/src/shared/skyriminfo.h
@@ -65,6 +65,8 @@ public:
virtual std::vector<std::wstring> getVanillaBSAs();
virtual std::vector<std::wstring> getDLCPlugins();
+ virtual std::vector<std::wstring> getSavegameAttachmentExtensions();
+
// file name of this games ini (no path)
virtual std::vector<std::wstring> getIniFileNames();