22 #ifndef SHERLOCK_SAVELOAD_H 23 #define SHERLOCK_SAVELOAD_H 25 #include "common/scummsys.h" 26 #include "common/savefile.h" 27 #include "common/serializer.h" 28 #include "common/str-array.h" 29 #include "engines/savestate.h" 30 #include "graphics/surface.h" 34 #define MAX_SAVEGAME_SLOTS 99 35 #define ONSCREEN_FILES_COUNT 5 38 CURRENT_SAVEGAME_VERSION = 6,
39 MINIMUM_SAVEGAME_VERSION = 4
42 enum SaveMode { SAVEMODE_NONE = 0, SAVEMODE_LOAD = 1, SAVEMODE_SAVE = 2 };
44 extern const char *
const EMPTY_SAVEGAME_SLOT;
50 int _year, _month, _day;
68 void createSavegameList();
73 void synchronize(Serializer &s);
112 int getHighlightedButton()
const;
117 void highlightButtons(
int btnIndex);
122 void loadGame(
int slot);
132 bool isSlotEmpty(
int slot)
const;
Definition: savefile.h:54
Definition: animation.h:29
Definition: saveload.h:59
Definition: serializer.h:79
Definition: sherlock.h:76
bool createThumbnail(Graphics::Surface &thumb)
bool skipThumbnail(Common::SeekableReadStream &in)