diff options
author | Thierry Crozat | 2017-09-04 22:48:50 +0100 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:31 +0000 |
commit | ed7fa6f7d79933dc5cec6b7d4f2bc4080378ecc1 (patch) | |
tree | d1dbab888d2c5d8a36b30806a8664c28692f08d9 /engines/supernova/supernova.h | |
parent | a4470edb290573d4e87736212a47299b3681eb01 (diff) | |
download | scummvm-rg350-ed7fa6f7d79933dc5cec6b7d4f2bc4080378ecc1.tar.gz scummvm-rg350-ed7fa6f7d79933dc5cec6b7d4f2bc4080378ecc1.tar.bz2 scummvm-rg350-ed7fa6f7d79933dc5cec6b7d4f2bc4080378ecc1.zip |
SUPERNOVA: Improve save state handling
The saved game files now start with a header and version which allows
to do some sanity check and will allow to change the format in the
future if needed.
Also the MetaEngine can now be queried for the meta infos of a save
state.
Diffstat (limited to 'engines/supernova/supernova.h')
-rw-r--r-- | engines/supernova/supernova.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/supernova/supernova.h b/engines/supernova/supernova.h index 2073c0f300..df9108ec6e 100644 --- a/engines/supernova/supernova.h +++ b/engines/supernova/supernova.h @@ -42,6 +42,10 @@ namespace Supernova { +#define SAVEGAME_HEADER MKTAG('M','S','N','1') +#define SAVEGAME_VERSION 1 + + struct ScreenBuffer { ScreenBuffer() : _x(0) |