mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-27 06:45:55 +00:00
Strip trailing whitespaces and tabs.
svn-id: r41848
This commit is contained in:
parent
049c9b0c86
commit
6e299e4777
@ -477,7 +477,7 @@ void LoLEngine::objectFlightProcessHits(FlyingObject *t, int x, int y, int objec
|
||||
r = getNearestPartyMemberFromPos(x, y);
|
||||
runItemScript(t->attackerId, t->item, 0x8000, r, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void LoLEngine::updateFlyingObject(FlyingObject *t) {
|
||||
|
@ -879,7 +879,7 @@ void Screen::drawShadedBox(int x1, int y1, int x2, int y2, int color1, int color
|
||||
drawClippedLine(x1 + 1, y1 + 1, x1 + 1, y2 - 1, color2);
|
||||
drawClippedLine(x1, y2 - 1, x2 - 1, y2 - 1, color2);
|
||||
}
|
||||
drawClippedLine(x1, y2, x2, y2, color2);
|
||||
drawClippedLine(x1, y2, x2, y2, color2);
|
||||
|
||||
showMouse();
|
||||
}
|
||||
@ -1132,7 +1132,7 @@ void Screen::drawCharANSI(uint8 c, int x, int y) {
|
||||
|
||||
uint8 charH1 = *(fnt->fontData + fnt->charHeightTableOffset + c * 2);
|
||||
uint8 charH2 = *(fnt->fontData + fnt->charHeightTableOffset + c * 2 + 1);
|
||||
|
||||
|
||||
charH0 -= charH1 + charH2;
|
||||
|
||||
const uint8 *src = fnt->fontData + bitmapOffset;
|
||||
|
@ -1276,7 +1276,7 @@ int LoLEngine::olol_getMonsterStat(EMCState *script) {
|
||||
int LoLEngine::olol_releaseMonsterShapes(EMCState *script) {
|
||||
debugC(3, kDebugLevelScriptFuncs, "LoLEngine::olol_releaseMonsterShapes(%p)", (const void *)script);
|
||||
for (int i = 0; i < 3; i++)
|
||||
releaseMonsterShapes(i);
|
||||
releaseMonsterShapes(i);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -1399,17 +1399,17 @@ int LoLEngine::olol_playEndSequence(EMCState *script){
|
||||
if (_characters[0].id == -9)
|
||||
c = 1;
|
||||
else if (_characters[0].id == -5)
|
||||
c = 3;
|
||||
c = 3;
|
||||
else if (_characters[0].id == -1)
|
||||
c = 2;
|
||||
|
||||
while (snd_updateCharacterSpeech())
|
||||
delay(_tickLength);
|
||||
|
||||
|
||||
_eventList.clear();
|
||||
_screen->hideMouse();
|
||||
_screen->getPalette(1).clear();
|
||||
|
||||
|
||||
showOutro(c, (_monsterDifficulty == 2));
|
||||
quitGame();
|
||||
|
||||
@ -2192,7 +2192,7 @@ int LoLEngine::olol_restoreMagicShroud(EMCState *script) {
|
||||
}
|
||||
|
||||
mov->close();
|
||||
delete mov;
|
||||
delete mov;
|
||||
delete[] fadeTab;
|
||||
|
||||
_screen->showMouse();
|
||||
|
@ -784,7 +784,7 @@ int LoLEngine::getMonsterCurFrame(MonsterInPlay *m, uint16 dirFlags) {
|
||||
default:
|
||||
return m->damageReceived ? 5 : m->currentSubFrame;
|
||||
}
|
||||
|
||||
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user