[Scummvm-cvs-logs] SF.net SVN: scummvm:[55709] scummvm/trunk/engines/mohawk/livingbooks.cpp
fuzzie at users.sourceforge.net
fuzzie at users.sourceforge.net
Tue Feb 1 19:09:02 CET 2011
Revision: 55709
http://scummvm.svn.sourceforge.net/scummvm/?rev=55709&view=rev
Author: fuzzie
Date: 2011-02-01 18:09:01 +0000 (Tue, 01 Feb 2011)
Log Message:
-----------
MOHAWK: Add LB poetry mode logic to updatePage.
Modified Paths:
--------------
scummvm/trunk/engines/mohawk/livingbooks.cpp
Modified: scummvm/trunk/engines/mohawk/livingbooks.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/livingbooks.cpp 2011-02-01 15:17:39 UTC (rev 55708)
+++ scummvm/trunk/engines/mohawk/livingbooks.cpp 2011-02-01 18:09:01 UTC (rev 55709)
@@ -391,6 +391,17 @@
case 1:
debug(2, "updatePage() for control page 1 (menu)");
+ if (_poetryMode) {
+ for (uint16 i = 0; i < _numPages; i++) {
+ item = getItemById(1000 + i);
+ if (item)
+ item->setVisible(_curSelectedPage == i + 1);
+ item = getItemById(1100 + i);
+ if (item)
+ item->setVisible(_curSelectedPage == i + 1);
+ }
+ }
+
for (uint16 i = 0; i < _numLanguages; i++) {
item = getItemById(100 + i);
if (item)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list