[Scummvm-cvs-logs] SF.net SVN: scummvm:[39090] scummvm/trunk/engines/sword1/control.cpp
hkz at users.sourceforge.net
hkz at users.sourceforge.net
Tue Mar 3 17:27:56 CET 2009
Revision: 39090
http://scummvm.svn.sourceforge.net/scummvm/?rev=39090&view=rev
Author: hkz
Date: 2009-03-03 16:27:56 +0000 (Tue, 03 Mar 2009)
Log Message:
-----------
Cleaned up some comments
Modified Paths:
--------------
scummvm/trunk/engines/sword1/control.cpp
Modified: scummvm/trunk/engines/sword1/control.cpp
===================================================================
--- scummvm/trunk/engines/sword1/control.cpp 2009-03-03 14:27:49 UTC (rev 39089)
+++ scummvm/trunk/engines/sword1/control.cpp 2009-03-03 16:27:56 UTC (rev 39090)
@@ -164,7 +164,7 @@
dst += SCREEN_WIDTH;
src += _resMan->readUint16(&fHead->width);
}
- else if (_resId == SR_DEATHPANEL) { //Hardcoded goodness for death panel psx version
+ else if (_resId == SR_DEATHPANEL) { // Check for death panel psx version (which is 1/3 of original width)
for (uint16 cnt = 0; cnt < _resMan->readUint16(&fHead->height)/2; cnt++) {
//Stretched panel is bigger than 640px, check we don't draw outside screen
for (uint16 cntx = 0; (cntx < (_resMan->readUint16(&fHead->width))/3) && (cntx < (SCREEN_WIDTH-3) ); cntx++)
@@ -184,7 +184,7 @@
dst += SCREEN_WIDTH;
src += _resMan->readUint16(&fHead->width)/3;
}
- } else { //NASTY HACK, save slots needs to be multiplied my 4 in height... need a better way to identify these images
+ } else { //save slots needs to be multiplied by 2 in height
for (uint16 cnt = 0; cnt < _resMan->readUint16(&fHead->height); cnt++) {
for (uint16 cntx = 0; cntx < _resMan->readUint16(&fHead->width) / 2; cntx++)
if (src[cntx]) {
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