[Scummvm-cvs-logs] SF.net SVN: scummvm:[47077] scummvm/trunk/engines/sci/graphics/gfx.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Wed Jan 6 14:22:36 CET 2010
Revision: 47077
http://scummvm.svn.sourceforge.net/scummvm/?rev=47077&view=rev
Author: m_kiewitz
Date: 2010-01-06 13:22:36 +0000 (Wed, 06 Jan 2010)
Log Message:
-----------
SCI: changed screenHeight to 200 fixed inside initPriorityBands() because the algo is meant to work on lowres only
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/gfx.cpp
Modified: scummvm/trunk/engines/sci/graphics/gfx.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/gfx.cpp 2010-01-06 13:11:10 UTC (rev 47076)
+++ scummvm/trunk/engines/sci/graphics/gfx.cpp 2010-01-06 13:22:36 UTC (rev 47077)
@@ -425,8 +425,8 @@
while (_priorityBands[--y] == _priorityBandCount)
_priorityBands[y]--;
}
- // We fill space that is left over with the highest band
- for (y = _priorityBottom; y < _screen->getHeight(); y++)
+ // We fill space that is left over with the highest band (hardcoded 200 limit, because this algo isnt meant to be used on hires)
+ for (y = _priorityBottom; y < 200; y++)
_priorityBands[y] = _priorityBandCount;
}
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