diff options
author | Willem Jan Palenstijn | 2011-11-14 15:51:01 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-14 15:51:01 +0100 |
commit | 59ed0ee9ede9f250978df59147751ad0c1a82f34 (patch) | |
tree | 822d6abc6e93d2ff52a690c3d0f144195c77dafd | |
parent | bac23bde2747143b8f61196d80d491dd1f793470 (diff) | |
download | scummvm-rg350-59ed0ee9ede9f250978df59147751ad0c1a82f34.tar.gz scummvm-rg350-59ed0ee9ede9f250978df59147751ad0c1a82f34.tar.bz2 scummvm-rg350-59ed0ee9ede9f250978df59147751ad0c1a82f34.zip |
KYRA: Add comment hopefully explaining _saveSlots
-rw-r--r-- | engines/kyra/gui.h | 3 |
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(); |