From 725bd8b778046c6b3acd0b98e1fa8a05d5b732b1 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 14 Sep 2008 21:13:40 +0000 Subject: Added thumbnail support for launcher to SCUMM engine. svn-id: r34540 --- engines/scumm/scumm.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'engines/scumm/scumm.h') 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); -- cgit v1.2.3