From 9298f6a81e6218e7745a0ab6e530ecb5fabc460b Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sat, 23 Sep 2017 01:40:25 -0500 Subject: 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. --- engines/sci/engine/savegame.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/sci/engine/savegame.h') 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 -- cgit v1.2.3