diff options
author | Max Horn | 2009-03-07 19:24:31 +0000 |
---|---|---|
committer | Max Horn | 2009-03-07 19:24:31 +0000 |
commit | f9ecd95d6960341e696ab1aa8262e48135908d51 (patch) | |
tree | 4ab853891a0ca47c4d46a2691546e27a7e05b7f9 /engines/sword1 | |
parent | 2dfae035ac7351b1161d0466405c1d44d69f701a (diff) | |
download | scummvm-rg350-f9ecd95d6960341e696ab1aa8262e48135908d51.tar.gz scummvm-rg350-f9ecd95d6960341e696ab1aa8262e48135908d51.tar.bz2 scummvm-rg350-f9ecd95d6960341e696ab1aa8262e48135908d51.zip |
Whitespace cleanup: Convert space followed by tab to just tab
svn-id: r39203
Diffstat (limited to 'engines/sword1')
-rw-r--r-- | engines/sword1/animation.cpp | 12 | ||||
-rw-r--r-- | engines/sword1/control.cpp | 2 | ||||
-rw-r--r-- | engines/sword1/screen.cpp | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp index 4c7607b9c2..2b4a596f9a 100644 --- a/engines/sword1/animation.cpp +++ b/engines/sword1/animation.cpp @@ -272,8 +272,8 @@ MoviePlayer *makeMoviePlayer(uint32 id, SwordEngine *vm, Text *textMan, Audio::M DXAPlayerWithSound *dxaDecoder = new DXAPlayerWithSound(snd, bgSoundHandle); return new MoviePlayer(vm, textMan, snd, system, bgSoundHandle, dxaDecoder, kVideoDecoderDXA); #else - GUI::MessageDialog dialog("DXA cutscenes found but ScummVM has been built without zlib support", "OK"); - dialog.runModal(); + GUI::MessageDialog dialog("DXA cutscenes found but ScummVM has been built without zlib support", "OK"); + dialog.runModal(); return NULL; #endif } @@ -282,14 +282,14 @@ MoviePlayer *makeMoviePlayer(uint32 id, SwordEngine *vm, Text *textMan, Audio::M snprintf(filename, sizeof(filename), "%s.mp2", sequenceList[id]); if (Common::File::exists(filename)) { - GUI::MessageDialog dialog("MPEG2 cutscenes are no longer supported", "OK"); - dialog.runModal(); + GUI::MessageDialog dialog("MPEG2 cutscenes are no longer supported", "OK"); + dialog.runModal(); return NULL; } sprintf(buf, "Cutscene '%s' not found", sequenceList[id]); - GUI::MessageDialog dialog(buf, "OK"); - dialog.runModal(); + GUI::MessageDialog dialog(buf, "OK"); + dialog.runModal(); return NULL; } diff --git a/engines/sword1/control.cpp b/engines/sword1/control.cpp index 3e90f713bb..13354b31a3 100644 --- a/engines/sword1/control.cpp +++ b/engines/sword1/control.cpp @@ -1181,7 +1181,7 @@ bool Control::restoreGameFromFile(uint8 slot) { inf->readUint16BE(); // save time if (saveVersion < 2) { // Before version 2 we didn't had play time feature - SwordEngine::_systemVars.engineStartTime = _system->getMillis() / 1000; // Start counting + SwordEngine::_systemVars.engineStartTime = _system->getMillis() / 1000; // Start counting } else { uint32 currentTime = _system->getMillis() / 1000; SwordEngine::_systemVars.engineStartTime = currentTime - inf->readUint32BE(); // Engine start time diff --git a/engines/sword1/screen.cpp b/engines/sword1/screen.cpp index 4c1f39eea6..338b62f941 100644 --- a/engines/sword1/screen.cpp +++ b/engines/sword1/screen.cpp @@ -385,7 +385,7 @@ void Screen::draw(void) { } else if (!(SwordEngine::isPsx())) { memcpy(_screenBuf, _layerBlocks[0], _scrnSizeX * _scrnSizeY); } else { //We are using PSX version - uint8 *indxScreen; + uint8 *indxScreen; if(_currentScreen == 45 || _currentScreen == 55 || _currentScreen == 57 || _currentScreen == 63 || _currentScreen == 71) // Width shrinked backgrounds indxScreen = psxShrinkedBackgroundToIndexed(_layerBlocks[0], _scrnSizeX, _scrnSizeY); |