aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/savegame.h
diff options
context:
space:
mode:
authorColin Snover2017-09-23 01:40:25 -0500
committerColin Snover2017-09-23 20:56:48 -0500
commit9298f6a81e6218e7745a0ab6e530ecb5fabc460b (patch)
treea7c345551aec9864cf3f8356b055f7cb392249af /engines/sci/engine/savegame.h
parentd17ae077dd014d380e8091161fe1f584a8cc29ba (diff)
downloadscummvm-rg350-9298f6a81e6218e7745a0ab6e530ecb5fabc460b.tar.gz
scummvm-rg350-9298f6a81e6218e7745a0ab6e530ecb5fabc460b.tar.bz2
scummvm-rg350-9298f6a81e6218e7745a0ab6e530ecb5fabc460b.zip
SCI: Split save game metadata writing to separate function
RAMA has its own custom save game format that game scripts write, but we still want to be able to use these save game files from the ScummVM launcher, so the metadata has to be able to be written separately from the rest of the game saving.
Diffstat (limited to 'engines/sci/engine/savegame.h')
-rw-r--r--engines/sci/engine/savegame.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/engine/savegame.h b/engines/sci/engine/savegame.h
index f862b961e0..1ac25b26a9 100644
--- a/engines/sci/engine/savegame.h
+++ b/engines/sci/engine/savegame.h
@@ -120,6 +120,10 @@ void gamestate_restore(EngineState *s, Common::SeekableReadStream *save);
*/
bool get_savegame_metadata(Common::SeekableReadStream *stream, SavegameMetadata &meta);
+/**
+ * Write the header to a savegame.
+ */
+void set_savegame_metadata(Common::WriteStream *fh, const Common::String &savename, const Common::String &version);
} // End of namespace Sci