aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/detection.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2008-09-14 21:13:40 +0000
committerJohannes Schickel2008-09-14 21:13:40 +0000
commit725bd8b778046c6b3acd0b98e1fa8a05d5b732b1 (patch)
tree33fdbf5b6875b33656d0c0ea08acd8494d0b902b /engines/scumm/detection.cpp
parent92fc264461e1870725310cba38916afaece13022 (diff)
downloadscummvm-rg350-725bd8b778046c6b3acd0b98e1fa8a05d5b732b1.tar.gz
scummvm-rg350-725bd8b778046c6b3acd0b98e1fa8a05d5b732b1.tar.bz2
scummvm-rg350-725bd8b778046c6b3acd0b98e1fa8a05d5b732b1.zip
Added thumbnail support for launcher to SCUMM engine.
svn-id: r34540
Diffstat (limited to 'engines/scumm/detection.cpp')
-rw-r--r--engines/scumm/detection.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index 1062e77114..af1838b27d 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -683,6 +683,7 @@ public:
virtual SaveStateList listSaves(const char *target) const;
virtual void removeSaveState(const char *target, int slot) const;
+ virtual Graphics::Surface *loadThumbnailFromSlot(const char *target, int slot) const;
};
bool ScummMetaEngine::hasFeature(MetaEngineFeature f) const {
@@ -690,7 +691,8 @@ bool ScummMetaEngine::hasFeature(MetaEngineFeature f) const {
(f == kSupportsRTL) ||
(f == kSupportsListSaves) ||
(f == kSupportsDirectLoad) ||
- (f == kSupportsDeleteSave);
+ (f == kSupportsDeleteSave) ||
+ (f == kSupportsThumbnails);
}
GameList ScummMetaEngine::getSupportedGames() const {
@@ -986,6 +988,10 @@ void ScummMetaEngine::removeSaveState(const char *target, int slot) const {
g_system->getSavefileManager()->removeSavefile(filename.c_str());
}
+Graphics::Surface *ScummMetaEngine::loadThumbnailFromSlot(const char *target, int slot) const {
+ return ScummEngine::loadThumbnailFromSlot(target, slot);
+}
+
#if PLUGIN_ENABLED_DYNAMIC(SCUMM)
REGISTER_PLUGIN_DYNAMIC(SCUMM, PLUGIN_TYPE_ENGINE, ScummMetaEngine);
#else