[Scummvm-cvs-logs] scummvm master -> 59ed0ee9ede9f250978df59147751ad0c1a82f34
wjp
wjp at usecode.org
Mon Nov 14 15:51:49 CET 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
59ed0ee9ed KYRA: Add comment hopefully explaining _saveSlots
Commit: 59ed0ee9ede9f250978df59147751ad0c1a82f34
https://github.com/scummvm/scummvm/commit/59ed0ee9ede9f250978df59147751ad0c1a82f34
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2011-11-14T06:51:01-08:00
Commit Message:
KYRA: Add comment hopefully explaining _saveSlots
Changed paths:
engines/kyra/gui.h
diff --git a/engines/kyra/gui.h b/engines/kyra/gui.h
index 1efbdde..c048926 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();
More information about the Scummvm-git-logs
mailing list