diff options
author | Sven Hesse | 2014-05-28 23:25:49 +0200 |
---|---|---|
committer | Sven Hesse | 2014-05-28 23:25:49 +0200 |
commit | 2168d43d5d8c66cc4316e2bd0450ef108b27fda5 (patch) | |
tree | 52e2c7918e5daae268e72fa3e75c6cbc23d50a9d | |
parent | f8b08874c4819d85d493f42081a336326bff1035 (diff) | |
download | scummvm-rg350-2168d43d5d8c66cc4316e2bd0450ef108b27fda5.tar.gz scummvm-rg350-2168d43d5d8c66cc4316e2bd0450ef108b27fda5.tar.bz2 scummvm-rg350-2168d43d5d8c66cc4316e2bd0450ef108b27fda5.zip |
MADS: Janitorial - Trim more trailing whitespace
-rw-r--r-- | engines/mads/debugger.cpp | 4 | ||||
-rw-r--r-- | engines/mads/messages.cpp | 2 | ||||
-rw-r--r-- | engines/mads/messages.h | 2 | ||||
-rw-r--r-- | engines/mads/msurface.cpp | 2 | ||||
-rw-r--r-- | engines/mads/nebular/nebular_scenes2.cpp | 2 | ||||
-rw-r--r-- | engines/mads/nebular/nebular_scenes3.cpp | 2 | ||||
-rw-r--r-- | engines/mads/nebular/sound_nebular.h | 2 | ||||
-rw-r--r-- | engines/mads/scene.cpp | 2 |
8 files changed, 9 insertions, 9 deletions
diff --git a/engines/mads/debugger.cpp b/engines/mads/debugger.cpp index f301b6c392..1ff42c5e2b 100644 --- a/engines/mads/debugger.cpp +++ b/engines/mads/debugger.cpp @@ -233,7 +233,7 @@ bool Debugger::Cmd_DumpVocab(int argc, const char **argv) { } Common::String cur = "\tNOUN_" + curVocab + " = 0x" + curId + ",\n"; - + outFile.writeString(cur.c_str()); } @@ -294,7 +294,7 @@ bool Debugger::Cmd_DumpItems(int argc, const char **argv) { } Common::String cur = "\tOBJ_" + desc + " = " + curId + ",\n"; - + outFile.writeString(cur.c_str()); } diff --git a/engines/mads/messages.cpp b/engines/mads/messages.cpp index ae56f871f4..0d747279bf 100644 --- a/engines/mads/messages.cpp +++ b/engines/mads/messages.cpp @@ -337,7 +337,7 @@ int KernelMessages::checkRandom() { if (_randomMessages[i]._handle >= 0) ++total; } - + return total; } diff --git a/engines/mads/messages.h b/engines/mads/messages.h index 1eff14bfa5..a7411d98d1 100644 --- a/engines/mads/messages.h +++ b/engines/mads/messages.h @@ -94,7 +94,7 @@ private: public: Common::Array<KernelMessage> _entries; Font *_talkFont; -public: +public: KernelMessages(MADSEngine *vm); ~KernelMessages(); diff --git a/engines/mads/msurface.cpp b/engines/mads/msurface.cpp index 6d74fefaab..39c7808560 100644 --- a/engines/mads/msurface.cpp +++ b/engines/mads/msurface.cpp @@ -407,7 +407,7 @@ void MSurface::copyFrom(MSurface *src, const Common::Point &destPos, int depth, Common::Point pt((destP - (byte *)this->pixels) % this->pitch, (destP - (byte *)this->pixels) / this->pitch); int pixelDepth = (depthSurface == nullptr) ? 15 : depthSurface->getDepth(pt); - + if ((*srcP != transparentColor) && (depth <= pixelDepth)) *destP = *srcP; diff --git a/engines/mads/nebular/nebular_scenes2.cpp b/engines/mads/nebular/nebular_scenes2.cpp index 2379cf2b30..56e8c8a812 100644 --- a/engines/mads/nebular/nebular_scenes2.cpp +++ b/engines/mads/nebular/nebular_scenes2.cpp @@ -789,7 +789,7 @@ void Scene202::actions() { _vm->_dialogs->show(20219); return; } - + if (_action.isAction(VERB_CLIMB_DOWN, NOUN_LADDER)) { _action._inProgress = false; return; diff --git a/engines/mads/nebular/nebular_scenes3.cpp b/engines/mads/nebular/nebular_scenes3.cpp index ba1af6ed0b..6a6b36f1bc 100644 --- a/engines/mads/nebular/nebular_scenes3.cpp +++ b/engines/mads/nebular/nebular_scenes3.cpp @@ -1329,7 +1329,7 @@ Scene309::Scene309(MADSEngine *vm) : Scene3xx(vm) { _characterSpriteIndexes[i] = -1; _messagesIndexes[i] = -1; } - + _lastFrame = -1; _forceField.init(); } diff --git a/engines/mads/nebular/sound_nebular.h b/engines/mads/nebular/sound_nebular.h index 2113b103fb..c485bd7955 100644 --- a/engines/mads/nebular/sound_nebular.h +++ b/engines/mads/nebular/sound_nebular.h @@ -67,7 +67,7 @@ public: int _field1D; int _field1E; int _field1F; - + // TODO: Only used by asound.003. Figure out usage byte _field20; public: diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp index d2d4bd818a..e98648f009 100644 --- a/engines/mads/scene.cpp +++ b/engines/mads/scene.cpp @@ -596,7 +596,7 @@ void Scene::loadAnimation(const Common::String &resName, int trigger) { // scene, then free it before we create the new one if (_activeAnimation) freeAnimation(); - + DepthSurface depthSurface(_vm); UserInterface interfaceSurface(_vm); |