From e29133df127a54fc765e413f759789745306c0dc Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 30 Sep 2004 22:39:13 +0000 Subject: Whitespace svn-id: r15362 --- scumm/script_v5.cpp | 18 +++++++++--------- scumm/script_v72he.cpp | 2 +- scumm/verbs.cpp | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index a135399c19..09ff7250d1 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -883,9 +883,9 @@ void ScummEngine_v5::saveVars() { switch (_opcode & 0x1F) { case 0x01: // write a range of variables getResultPos(); - a = _resultVarNumber; + a = _resultVarNumber; getResultPos(); - b = _resultVarNumber; + b = _resultVarNumber; warning("stub saveVars: vars %d -> %d", a, b); break; case 0x02: // write a range of string variables @@ -917,9 +917,9 @@ void ScummEngine_v5::loadVars() { switch (_opcode & 0x1F) { case 0x01: // read a range of variables getResultPos(); - a = _resultVarNumber; + a = _resultVarNumber; getResultPos(); - b = _resultVarNumber; + b = _resultVarNumber; warning("stub loadVars: vars %d -> %d", a, b); break; case 0x02: // read a range of string variables @@ -1398,8 +1398,8 @@ void ScummEngine_v5::o5_lessOrEqual() { if (_gameId == GID_INDY3 && (_features & GF_FMTOWNS) && (vm.slot[_currentScript].number == 200 || vm.slot[_currentScript].number == 203) && _currentRoom == 70 && b == -256) { - o5_jumpRelative(); - return; + o5_jumpRelative(); + return; } if (b <= a) @@ -2755,7 +2755,7 @@ void ScummEngine_v5::o5_oldRoomEffect() { // calls yet another sub (which also reads byte_2FCCF): byte_2FCCF = 0; - //call sub_0BB3 + //call sub_0BB3 // Now sub_085C is called. This is quite simply: it sets @@ -2771,12 +2771,12 @@ void ScummEngine_v5::o5_oldRoomEffect() { // the above sub_1C44, only it sets byte_2FCCF to 1: byte_2FCCF = 1; - // call sub_0BB3 + // call sub_0BB3 } else { // Here only sub_085C is called (see comment above) - // call sub_085C + // call sub_085C } return; } diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index c49e1d4b20..6671786dbc 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -1598,7 +1598,7 @@ uint8 *ScummEngine_v72he::drawWizImage(int restype, const WizImage *pwi) { ch = pvs->h; } Common::Rect rScreen(cw, ch); - if (pwi->flags & 0x80) { + if (pwi->flags & 0x80) { // drawWizImageHelper2(p, wizd, cw, ch, x1, y1, width, height, &rScreen, 0, 2); warning("drawWizImage() unhandled flag 0x80"); } else if (pwi->flags & 0x100) { diff --git a/scumm/verbs.cpp b/scumm/verbs.cpp index 91b0d7438b..9095edf07e 100644 --- a/scumm/verbs.cpp +++ b/scumm/verbs.cpp @@ -248,7 +248,7 @@ void ScummEngine::redrawV2Inventory() { if (_inventoryOffset > 0) { _string[1].xpos = v2_mouseover_boxes[kInventoryUpArrow].rect.left; _string[1].ypos = v2_mouseover_boxes[kInventoryUpArrow].rect.top + vs->topline; - _string[1].color = v2_mouseover_boxes[kInventoryUpArrow].color; + _string[1].color = v2_mouseover_boxes[kInventoryUpArrow].color; drawString(1, (const byte *)" \1\2"); } @@ -256,7 +256,7 @@ void ScummEngine::redrawV2Inventory() { if (_inventoryOffset + 4 < getInventoryCount(_scummVars[VAR_EGO])) { _string[1].xpos = v2_mouseover_boxes[kInventoryDownArrow].rect.left; _string[1].ypos = v2_mouseover_boxes[kInventoryDownArrow].rect.top + vs->topline; - _string[1].color = v2_mouseover_boxes[kInventoryDownArrow].color; + _string[1].color = v2_mouseover_boxes[kInventoryDownArrow].color; drawString(1, (const byte *)" \3\4"); } } -- cgit v1.2.3