aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2008-11-04 20:03:32 +0000
committerMax Horn2008-11-04 20:03:32 +0000
commitcbfa73886c8aedf9e2767675eafe1efa7c5d1aa3 (patch)
treebf8c4c84ebbc4578845ae8d236e7f97f39b49cdc /engines
parent817d2078cca738af631380467a42b2e87e9c1d57 (diff)
downloadscummvm-rg350-cbfa73886c8aedf9e2767675eafe1efa7c5d1aa3.tar.gz
scummvm-rg350-cbfa73886c8aedf9e2767675eafe1efa7c5d1aa3.tar.bz2
scummvm-rg350-cbfa73886c8aedf9e2767675eafe1efa7c5d1aa3.zip
cleanup
svn-id: r34898
Diffstat (limited to 'engines')
-rw-r--r--engines/game.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/engines/game.h b/engines/game.h
index a07a71b7e6..1334453131 100644
--- a/engines/game.h
+++ b/engines/game.h
@@ -166,27 +166,32 @@ public:
void setDeletableFlag(bool state);
/**
- * Return a thumbnail graphics surface representing the savestate visually
+ * Return a thumbnail graphics surface representing the savestate visually.
* This is usually a scaled down version of the game graphics. The size
* should be either 160x100 or 160x120 pixels, depending on the aspect
* ratio of the game. If another ratio is required, contact the core team.
*/
const Graphics::Surface *getThumbnail() const { return _thumbnail.get(); }
+ /**
+ * Set a thumbnail graphics surface representing the savestate visually.
+ * Ownership of the surface is transferred to the SaveStateDescriptor.
+ * Hence the caller must not delete the surface.
+ */
void setThumbnail(Graphics::Surface *t);
/**
- * Sets the 'save_date' key properly, based on the given values
+ * Sets the 'save_date' key properly, based on the given values.
*/
void setSaveDate(int year, int month, int day);
/**
- * Sets the 'save_time' key properly, based on the given values
+ * Sets the 'save_time' key properly, based on the given values.
*/
void setSaveTime(int hour, int min);
/**
- * Sets the 'play_time' key properly, based on the given values
+ * Sets the 'play_time' key properly, based on the given values.
*/
void setPlayTime(int hours, int minutes);
};