diff options
author | Strangerke | 2014-06-07 17:12:24 +0200 |
---|---|---|
committer | Strangerke | 2014-06-07 17:12:24 +0200 |
commit | e8ffcdc09cc97c89619511e7e9f216073e7ffc69 (patch) | |
tree | 182e84feadbad6f8e65f39f772529aa4d1e87e31 | |
parent | 3f6d034c8a54b1e7a904d26f8bc254185deb0999 (diff) | |
download | scummvm-rg350-e8ffcdc09cc97c89619511e7e9f216073e7ffc69.tar.gz scummvm-rg350-e8ffcdc09cc97c89619511e7e9f216073e7ffc69.tar.bz2 scummvm-rg350-e8ffcdc09cc97c89619511e7e9f216073e7ffc69.zip |
AVALANCHE: Janitorial - remove trailing spaces and tabs
-rw-r--r-- | engines/avalanche/avalot.cpp | 2 | ||||
-rw-r--r-- | engines/avalanche/dialogs.cpp | 2 | ||||
-rw-r--r-- | engines/avalanche/ghostroom.h | 2 | ||||
-rw-r--r-- | engines/avalanche/graphics.cpp | 6 | ||||
-rw-r--r-- | engines/avalanche/help.cpp | 4 | ||||
-rw-r--r-- | engines/avalanche/module.mk | 2 | ||||
-rw-r--r-- | engines/avalanche/nim.cpp | 20 | ||||
-rw-r--r-- | engines/avalanche/parser.cpp | 2 | ||||
-rw-r--r-- | engines/avalanche/shootemup.cpp | 4 |
9 files changed, 22 insertions, 22 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp index c8f5599687..0ffe7d3f9d 100644 --- a/engines/avalanche/avalot.cpp +++ b/engines/avalanche/avalot.cpp @@ -217,7 +217,7 @@ void AvalancheEngine::setup() { delete mainmenu; if (_letMeOut) return; - + newGame(); thinkAbout(kObjectMoney, kThing); diff --git a/engines/avalanche/dialogs.cpp b/engines/avalanche/dialogs.cpp index e843d17c5b..f95440900b 100644 --- a/engines/avalanche/dialogs.cpp +++ b/engines/avalanche/dialogs.cpp @@ -105,7 +105,7 @@ void Dialogs::setReadyLight(byte state) { color = kColorGreen; break; // Hit a key } - + _vm->_graphics->drawReadyLight(color); CursorMan.showMouse(true); _vm->_ledStatus = state; diff --git a/engines/avalanche/ghostroom.h b/engines/avalanche/ghostroom.h index 4c659128ce..ca1e8ac806 100644 --- a/engines/avalanche/ghostroom.h +++ b/engines/avalanche/ghostroom.h @@ -56,7 +56,7 @@ private: static const byte kWaveOrder[5]; static const byte kGlerkFade[26]; static const byte kGreldetFade[18]; - + Common::Point dummyCoord; byte ****_ghost;// [5][2][66][26] Graphics::Surface _eyes[2]; diff --git a/engines/avalanche/graphics.cpp b/engines/avalanche/graphics.cpp index 67a7061c75..60c23594d3 100644 --- a/engines/avalanche/graphics.cpp +++ b/engines/avalanche/graphics.cpp @@ -533,7 +533,7 @@ void GraphicManager::ghostDrawMonster(byte ***picture, uint16 destX, int16 destY // Only for the Ghost: const byte kPlaneToUse[4] = { 0, 0, 0, 1 }; int yStart = 0; - + // Constants from the original code: switch (type) { case kMonsterTypeGhost: @@ -820,7 +820,7 @@ void GraphicManager::menuLoadPictures() { int height = 33; int width = 9 * 8; - + for (int plane = 0; plane < 4; plane++) { // The icons themselves: int n = 0; @@ -853,7 +853,7 @@ void GraphicManager::menuLoadPictures() { _menu.fillRect(Common::Rect(114, 70 + i * 33, 584, 73 + i * 33), kColorWhite); _menu.fillRect(Common::Rect(114, 100 + i * 33, 584, 103 + i * 33), kColorDarkgray); } - + file.close(); // The title on the top of the screen: diff --git a/engines/avalanche/help.cpp b/engines/avalanche/help.cpp index 9b077eb4fb..4d08e3d58b 100644 --- a/engines/avalanche/help.cpp +++ b/engines/avalanche/help.cpp @@ -196,9 +196,9 @@ bool Help::handleMouse(const Common::Event &event) { } // Erase the previous highlight only if it's needed: - if (_highlightWas != highlightIs) + if (_highlightWas != highlightIs) _vm->_graphics->helpDrawHighlight(_highlightWas, kColorBlue); - + // Highlight the current one with the proper color: if ((highlightIs != 177) && (_buttons[highlightIs]._trigger != Common::KEYCODE_INVALID)) { _highlightWas = highlightIs; diff --git a/engines/avalanche/module.mk b/engines/avalanche/module.mk index 29bc039b42..919ff0334f 100644 --- a/engines/avalanche/module.mk +++ b/engines/avalanche/module.mk @@ -22,7 +22,7 @@ MODULE_OBJS = \ shootemup.o \ mainmenu.o \ highscore.o - + # This module can be built as a plugin ifeq ($(ENABLE_AVALANCHE), DYNAMIC_PLUGIN) PLUGIN := 1 diff --git a/engines/avalanche/nim.cpp b/engines/avalanche/nim.cpp index 9457a5065b..79be16d3c3 100644 --- a/engines/avalanche/nim.cpp +++ b/engines/avalanche/nim.cpp @@ -77,7 +77,7 @@ void Nim::playNim() { _vm->_dialogs->displayScrollChain('Q', 3); _playedNim++; - + _vm->_graphics->saveScreen(); _vm->fadeOut(); @@ -87,7 +87,7 @@ void Nim::playNim() { //CursorMan.showMouse(true); do { - + startMove(); if (_dogfoodsTurn) dogFood(); @@ -122,7 +122,7 @@ void Nim::playNim() { _vm->refreshObjectList(); _vm->_wonNim = true; _vm->_background->draw(-1, -1, 0); // Show the settle with no lute on it. - + // 7 points for winning! _vm->incScore(7); } @@ -135,7 +135,7 @@ void Nim::playNim() { void Nim::chalk(int x, int y, Common::String text) { const Color greys[] = { kColorBlack, kColorDarkgray, kColorLightgray, kColorWhite }; - + for (int i = 0; i < 4; i++) { _vm->_graphics->drawNormalText(text, _vm->_font, 8, x - i, y, greys[i]); _vm->_graphics->refreshScreen(); @@ -159,7 +159,7 @@ void Nim::setup() { // Bottom right rectangle. _vm->_graphics->drawRectangle(Common::Rect(394, 50, 635, 198), kColorRed); _vm->_graphics->drawFilledRectangle(Common::Rect(395, 51, 634, 197), kColorBrown); - + _vm->_graphics->nimDrawLogo(); _vm->_graphics->nimDrawInitials(); @@ -167,7 +167,7 @@ void Nim::setup() { _vm->_graphics->drawNormalText("Turn:", _vm->_font, 8, 420, 55, kColorYellow); _vm->_graphics->drawNormalText("Player:", _vm->_font, 8, 490, 55, kColorYellow); _vm->_graphics->drawNormalText("Move:", _vm->_font, 8, 570, 55, kColorYellow); - + chalk(27, 7, "Take pieces away with:"); chalk(77, 17, "1) the mouse (click leftmost)"); chalk(53, 27, "or 2) the keyboard:"); @@ -364,7 +364,7 @@ bool Nim::checkInput() { void Nim::takeSome() { _number = 1; - + do { byte sr; do { @@ -377,7 +377,7 @@ void Nim::takeSome() { _number = 1; } } while (sr == 0); - + if (_number > sr) _number = sr; @@ -391,7 +391,7 @@ void Nim::takeSome() { bool confirm = false; do { confirm = checkInput(); - + if (!confirm) { _vm->_graphics->drawRectangle(Common::Rect(x1, y1, x2, y2), kColorBlack); // Erase the previous selection. x1 = 63 + (_stones[_row] - _number) * 64; @@ -402,7 +402,7 @@ void Nim::takeSome() { _vm->_graphics->refreshScreen(); } } while (!confirm); - + return; } while (true); diff --git a/engines/avalanche/parser.cpp b/engines/avalanche/parser.cpp index b152747ab0..220186ca5e 100644 --- a/engines/avalanche/parser.cpp +++ b/engines/avalanche/parser.cpp @@ -2495,7 +2495,7 @@ void Parser::synchronize(Common::Serializer &sz) { sz.syncAsByte(_sworeNum); sz.syncAsByte(_alcoholLevel); if (sz.isLoading() && sz.getVersion() < 2) { - int dummy; + int dummy; sz.syncAsByte(dummy); } sz.syncAsByte(_boughtOnion); diff --git a/engines/avalanche/shootemup.cpp b/engines/avalanche/shootemup.cpp index cabd19d6f9..e5e44ed934 100644 --- a/engines/avalanche/shootemup.cpp +++ b/engines/avalanche/shootemup.cpp @@ -116,7 +116,7 @@ uint16 ShootEmUp::run() { } setup(); - + while ((_time != 0) && (!_vm->shouldQuit())) { uint32 beginLoop = _vm->_system->getMillis(); @@ -142,7 +142,7 @@ uint16 ShootEmUp::run() { if (delay <= 55) _vm->_system->delayMillis(55 - delay); // Replaces slowdown(); 55 comes from 18.2 Hz (B Flight). }; - + _vm->fadeOut(); _vm->_graphics->restoreScreen(); _vm->_graphics->removeBackup(); |