[Scummvm-cvs-logs] SF.net SVN: scummvm:[34898] scummvm/trunk/engines/game.h
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Tue Nov 4 21:03:32 CET 2008
Revision: 34898
http://scummvm.svn.sourceforge.net/scummvm/?rev=34898&view=rev
Author: fingolfin
Date: 2008-11-04 20:03:32 +0000 (Tue, 04 Nov 2008)
Log Message:
-----------
cleanup
Modified Paths:
--------------
scummvm/trunk/engines/game.h
Modified: scummvm/trunk/engines/game.h
===================================================================
--- scummvm/trunk/engines/game.h 2008-11-04 19:49:26 UTC (rev 34897)
+++ scummvm/trunk/engines/game.h 2008-11-04 20:03:32 UTC (rev 34898)
@@ -166,27 +166,32 @@
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);
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list