aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/livingbooks.h
diff options
context:
space:
mode:
authorAlyssa Milburn2011-07-07 16:21:09 +0200
committerAlyssa Milburn2011-07-07 16:23:10 +0200
commitf0bef196b19802b2ad544775ee80acfafb057bbf (patch)
tree0fc7d89e0c7de1f9b3b1e974a7949456b4a06b47 /engines/mohawk/livingbooks.h
parente3558e56d7b94fce8a561eb52c4c02c73ab74091 (diff)
downloadscummvm-rg350-f0bef196b19802b2ad544775ee80acfafb057bbf.tar.gz
scummvm-rg350-f0bef196b19802b2ad544775ee80acfafb057bbf.tar.bz2
scummvm-rg350-f0bef196b19802b2ad544775ee80acfafb057bbf.zip
MOHAWK: Maintain ordered list of LB items.
Diffstat (limited to 'engines/mohawk/livingbooks.h')
-rw-r--r--engines/mohawk/livingbooks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/mohawk/livingbooks.h b/engines/mohawk/livingbooks.h
index ad2fe56a52..c86a3cc055 100644
--- a/engines/mohawk/livingbooks.h
+++ b/engines/mohawk/livingbooks.h
@@ -405,6 +405,8 @@ public:
uint16 getSoundPriority() { return _soundMode; }
bool isAmbient() { return _isAmbient; }
+ Common::List<LBItem *>::iterator _iterator;
+
protected:
MohawkEngine_LivingBooks *_vm;
LBPage *_page;
@@ -714,6 +716,7 @@ private:
uint16 _phase;
LBPage *_page;
Common::Array<LBItem *> _items;
+ Common::List<LBItem *> _orderedItems;
Common::Queue<DelayedEvent> _eventQueue;
LBItem *_focus;
void destroyPage();