aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/game.h
diff options
context:
space:
mode:
authorPaul Gilbert2014-06-28 22:40:25 -0400
committerPaul Gilbert2014-06-28 22:40:25 -0400
commit92cc2a7bc8f844a49b7e43840282ca6c57a7a80b (patch)
treee1cd38c68fd03a5fdf12bfba4ea085dd1f17e478 /engines/mads/game.h
parent0113e79e23cb4c8d2507546390f18460f2c7083c (diff)
downloadscummvm-rg350-92cc2a7bc8f844a49b7e43840282ca6c57a7a80b.tar.gz
scummvm-rg350-92cc2a7bc8f844a49b7e43840282ca6c57a7a80b.tar.bz2
scummvm-rg350-92cc2a7bc8f844a49b7e43840282ca6c57a7a80b.zip
MADS: Create savegame thumbnail from scenes before opening in-game dialogs
Diffstat (limited to 'engines/mads/game.h')
-rw-r--r--engines/mads/game.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/mads/game.h b/engines/mads/game.h
index 08cd7e7843..1a61fc8ac8 100644
--- a/engines/mads/game.h
+++ b/engines/mads/game.h
@@ -82,6 +82,7 @@ protected:
int _lastSave;
Common::String _saveName;
Common::InSaveFile *_saveFile;
+ Graphics::Surface *_saveThumb;
/**
* Constructor
@@ -226,6 +227,11 @@ public:
* Read in a savegame header
*/
static bool readSavegameHeader(Common::InSaveFile *in, MADSSavegameHeader &header);
+
+ /**
+ * Creates a temporary thumbnail for use in saving games
+ */
+ void createThumbnail();
};
} // End of namespace MADS