aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-11-14 15:51:01 +0100
committerWillem Jan Palenstijn2011-11-14 15:51:01 +0100
commit59ed0ee9ede9f250978df59147751ad0c1a82f34 (patch)
tree822d6abc6e93d2ff52a690c3d0f144195c77dafd /engines/kyra
parentbac23bde2747143b8f61196d80d491dd1f793470 (diff)
downloadscummvm-rg350-59ed0ee9ede9f250978df59147751ad0c1a82f34.tar.gz
scummvm-rg350-59ed0ee9ede9f250978df59147751ad0c1a82f34.tar.bz2
scummvm-rg350-59ed0ee9ede9f250978df59147751ad0c1a82f34.zip
KYRA: Add comment hopefully explaining _saveSlots
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/gui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/kyra/gui.h b/engines/kyra/gui.h
index 1efbdde394..c04892636b 100644
--- a/engines/kyra/gui.h
+++ b/engines/kyra/gui.h
@@ -200,6 +200,9 @@ protected:
void redrawText(const Menu &menu);
void redrawHighlight(const Menu &menu);
+ // The engine expects a list of contiguous savegame indices.
+ // 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);
int getNextSavegameSlot();