diff options
author | Max Horn | 2011-12-08 10:02:51 +0100 |
---|---|---|
committer | Max Horn | 2011-12-08 19:52:10 +0100 |
commit | 5b43fb6be7650a29b9aad6b504599f7b8600b419 (patch) | |
tree | b31e3ceafd6726b711703e184191028bc445c6f6 /engines/dreamweb/dreamweb.cpp | |
parent | e731d9b8132d0c64dbd115173a600eb977aa50fa (diff) | |
download | scummvm-rg350-5b43fb6be7650a29b9aad6b504599f7b8600b419.tar.gz scummvm-rg350-5b43fb6be7650a29b9aad6b504599f7b8600b419.tar.bz2 scummvm-rg350-5b43fb6be7650a29b9aad6b504599f7b8600b419.zip |
DREAMWEB: Code formatting
Diffstat (limited to 'engines/dreamweb/dreamweb.cpp')
-rw-r--r-- | engines/dreamweb/dreamweb.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index 717c0620f4..e15f315c1e 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -326,14 +326,14 @@ void DreamWebEngine::mouseCall(uint16 *x, uint16 *y, uint16 *state) { void DreamWebEngine::getPalette(uint8 *data, uint start, uint count) { _system->getPaletteManager()->grabPalette(data, start, count); - while(count--) + while (count--) *data++ >>= 2; } void DreamWebEngine::setPalette(const uint8 *data, uint start, uint count) { assert(start + count <= 256); uint8 fixed[768]; - for(uint i = 0; i < count * 3; ++i) { + for (uint i = 0; i < count * 3; ++i) { fixed[i] = data[i] << 2; } _system->getPaletteManager()->setPalette(fixed, start, count); @@ -356,9 +356,9 @@ void DreamWebEngine::printUnderMonitor() { if (!s) error("lockScreen failed"); - for(uint y = 0; y < 104; ++y) { + for (uint y = 0; y < 104; ++y) { uint8 *src = (uint8 *)s->getBasePtr(76, 43 + 8 + y); - for(uint x = 0; x < 170; ++x) { + for (uint x = 0; x < 170; ++x) { if (*src < 231) *dst++ = *src++; else { |