aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFabio Battaglia2009-03-03 16:27:56 +0000
committerFabio Battaglia2009-03-03 16:27:56 +0000
commit5f13e5ebcd770b8d2b9955eae756b37e735c1d64 (patch)
treebb5268d3154011dbf1fc22c7fcb54c0a9ffb6bf6 /engines
parentcbb6f919676bd1a44d91bf672487f11973094e97 (diff)
downloadscummvm-rg350-5f13e5ebcd770b8d2b9955eae756b37e735c1d64.tar.gz
scummvm-rg350-5f13e5ebcd770b8d2b9955eae756b37e735c1d64.tar.bz2
scummvm-rg350-5f13e5ebcd770b8d2b9955eae756b37e735c1d64.zip
Cleaned up some comments
svn-id: r39090
Diffstat (limited to 'engines')
-rw-r--r--engines/sword1/control.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword1/control.cpp b/engines/sword1/control.cpp
index 40854e1b4e..abb02106e3 100644
--- a/engines/sword1/control.cpp
+++ b/engines/sword1/control.cpp
@@ -164,7 +164,7 @@ void ControlButton::draw(void) {
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 @@ void ControlButton::draw(void) {
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]) {