diff options
author | Adrian Frühwirth | 2018-05-05 19:06:30 +0200 |
---|---|---|
committer | Adrian Frühwirth | 2018-05-05 22:19:03 +0200 |
commit | 057fb9bc6eb0afe9349ebe17bbcd819b003c078c (patch) | |
tree | 1c911ac25cf211994d0ca5d9d0eaeb2948efac2f /engines/cge/cge.h | |
parent | 03312fba61d65fed96ff4f7dad0112c0db2187a5 (diff) | |
download | scummvm-rg350-057fb9bc6eb0afe9349ebe17bbcd819b003c078c.tar.gz scummvm-rg350-057fb9bc6eb0afe9349ebe17bbcd819b003c078c.tar.bz2 scummvm-rg350-057fb9bc6eb0afe9349ebe17bbcd819b003c078c.zip |
CGE: Add play time metadata to savegames
Diffstat (limited to 'engines/cge/cge.h')
-rw-r--r-- | engines/cge/cge.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/cge/cge.h b/engines/cge/cge.h index 668224d2f7..9a8ea0dde9 100644 --- a/engines/cge/cge.h +++ b/engines/cge/cge.h @@ -56,7 +56,7 @@ class Walk; class Text; class Talk; -#define kSavegameVersion 2 +#define kSavegameVersion 3 #define kSavegameStrSize 11 #define kPocketX 174 #define kPocketY 176 @@ -99,8 +99,9 @@ struct SavegameHeader { uint8 version; Common::String saveName; Graphics::Surface *thumbnail; - int saveYear, saveMonth, saveDay; - int saveHour, saveMinutes; + int16 saveYear, saveMonth, saveDay; + int16 saveHour, saveMinutes; + uint32 playTime; }; extern const char *savegameStr; |