diff options
author | Johannes Schickel | 2008-09-16 14:56:02 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-09-16 14:56:02 +0000 |
commit | 3739662b75dbd04715731071e3b89d1d06a50a8e (patch) | |
tree | e956544a64820b95556cd2e58c230f4f7751b986 /base/game.h | |
parent | 2e9e661d5feaec6d1cb1b61d40cbce4165122edd (diff) | |
download | scummvm-rg350-3739662b75dbd04715731071e3b89d1d06a50a8e.tar.gz scummvm-rg350-3739662b75dbd04715731071e3b89d1d06a50a8e.tar.bz2 scummvm-rg350-3739662b75dbd04715731071e3b89d1d06a50a8e.zip |
Added support for SCUMM savestates date/time and playtime info in the launcher load dialog.
svn-id: r34583
Diffstat (limited to 'base/game.h')
-rw-r--r-- | base/game.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/base/game.h b/base/game.h index 6f9030c56f..8fd1b47422 100644 --- a/base/game.h +++ b/base/game.h @@ -187,6 +187,21 @@ public: const Graphics::Surface *getThumbnail() const { return _thumbnail.get(); } void setThumbnail(Graphics::Surface *t); + + /** + * 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 + */ + void setSaveTime(int hour, int min); + + /** + * Sets the 'play_time' key properly, based on the given values + */ + void setPlayTime(int hours, int minutes); }; /** List of savestates. */ |