From 59ed0ee9ede9f250978df59147751ad0c1a82f34 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Mon, 14 Nov 2011 15:51:01 +0100 Subject: KYRA: Add comment hopefully explaining _saveSlots --- engines/kyra/gui.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/kyra') 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 _saveSlots; void updateSaveList(bool excludeQuickSaves = false); int getNextSavegameSlot(); -- cgit v1.2.3