aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/scumm.h
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/scumm.h
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/scumm.h')
-rw-r--r--engines/scumm/scumm.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/scumm/scumm.h b/engines/scumm/scumm.h
index 3667e5770d..7db40112d8 100644
--- a/engines/scumm/scumm.h
+++ b/engines/scumm/scumm.h
@@ -627,12 +627,14 @@ public:
// thumbnail + info stuff
public:
- Graphics::Surface *loadThumbnailFromSlot(int slot);
+ Graphics::Surface *loadThumbnailFromSlot(int slot) {
+ return loadThumbnailFromSlot(_targetName.c_str(), slot);
+ }
+ static Graphics::Surface *loadThumbnailFromSlot(const char *target, int slot);
+
bool loadInfosFromSlot(int slot, InfoStuff *stuff);
protected:
- Graphics::Surface *loadThumbnail(Common::SeekableReadStream *file);
-
void saveInfos(Common::WriteStream* file);
bool loadInfos(Common::SeekableReadStream *file, InfoStuff *stuff);