aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui.h
diff options
context:
space:
mode:
authorathrxx2011-11-14 19:57:23 +0100
committerJohannes Schickel2011-12-26 16:18:14 +0100
commitb3c8173bd46ddc831344848723598846bd5c41e8 (patch)
tree558c37e7cb470a9cab12590e9c41d8e824bfa0fb /engines/kyra/gui.h
parentb288889c978990423b08dad8f838d891610f36b5 (diff)
downloadscummvm-rg350-b3c8173bd46ddc831344848723598846bd5c41e8.tar.gz
scummvm-rg350-b3c8173bd46ddc831344848723598846bd5c41e8.tar.bz2
scummvm-rg350-b3c8173bd46ddc831344848723598846bd5c41e8.zip
KYRA: (EOB) - extend save/load dialogue to support 990 slots
Diffstat (limited to 'engines/kyra/gui.h')
-rw-r--r--engines/kyra/gui.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/kyra/gui.h b/engines/kyra/gui.h
index efca845482..4991707744 100644
--- a/engines/kyra/gui.h
+++ b/engines/kyra/gui.h
@@ -108,6 +108,8 @@ public:
// utilities for thumbnail creation
virtual void createScreenThumbnail(Graphics::Surface &dst) = 0;
+ void notifyUpdateSaveSlotsList() { _saveSlotsListUpdateNeeded = true; }
+
protected:
KyraEngine_v1 *_vm;
Screen *_screen;
@@ -116,16 +118,16 @@ protected:
// Since ScummVM's savegame indices aren't, we re-index them.
// The integers stored in _saveSlots are ScummVM savegame indices.
Common::Array<int> _saveSlots;
- void updateSaveList(bool excludeQuickSaves = false);
+ void updateSaveFileList(bool excludeQuickSaves = false);
int getNextSavegameSlot();
- void updateSavegameList();
+ void updateSaveSlotsList();
virtual void sortSaveSlots();
uint32 _lastScreenUpdate;
char **_savegameList;
int _savegameListSize;
- bool _savegameListUpdateNeeded;
+ bool _saveSlotsListUpdateNeeded;
Common::KeyState _keyPressed;
};