diff options
author | Torbjörn Andersson | 2006-07-14 13:33:58 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-07-14 13:33:58 +0000 |
commit | 6358547a434a30283c7eeacab6e6f822fd2073d2 (patch) | |
tree | b3f31db9dce97586f5df624e12be40b91d81d800 /engines/scumm/smush | |
parent | fb3a3f75aa150d428d28dbb5a2391e833387946b (diff) | |
download | scummvm-rg350-6358547a434a30283c7eeacab6e6f822fd2073d2.tar.gz scummvm-rg350-6358547a434a30283c7eeacab6e6f822fd2073d2.tar.bz2 scummvm-rg350-6358547a434a30283c7eeacab6e6f822fd2073d2.zip |
More whitespace changes.
svn-id: r23496
Diffstat (limited to 'engines/scumm/smush')
-rw-r--r-- | engines/scumm/smush/chunk.cpp | 2 | ||||
-rw-r--r-- | engines/scumm/smush/codec37.cpp | 2 | ||||
-rw-r--r-- | engines/scumm/smush/codec47.cpp | 2 | ||||
-rw-r--r-- | engines/scumm/smush/imuse_channel.cpp | 4 | ||||
-rw-r--r-- | engines/scumm/smush/saud_channel.cpp | 2 | ||||
-rw-r--r-- | engines/scumm/smush/smush_player.cpp | 4 |
6 files changed, 8 insertions, 8 deletions
diff --git a/engines/scumm/smush/chunk.cpp b/engines/scumm/smush/chunk.cpp index 7f409bce20..2d457e0d85 100644 --- a/engines/scumm/smush/chunk.cpp +++ b/engines/scumm/smush/chunk.cpp @@ -65,7 +65,7 @@ uint32 BaseChunk::getSize() const { } bool BaseChunk::seek(int32 delta, seek_type dir) { - switch(dir) { + switch (dir) { case seek_cur: _curPos += delta; break; diff --git a/engines/scumm/smush/codec37.cpp b/engines/scumm/smush/codec37.cpp index ba323c03f2..0078237c30 100644 --- a/engines/scumm/smush/codec37.cpp +++ b/engines/scumm/smush/codec37.cpp @@ -519,7 +519,7 @@ void Codec37Decoder::decode(byte *dst, const byte *src) { maketable(pitch, src[1]); int32 tmp; - switch(src[0]) { + switch (src[0]) { case 0: if ((_deltaBufs[_curtable] - _deltaBuf) > 0) { memset(_deltaBuf, 0, _deltaBufs[_curtable] - _deltaBuf); diff --git a/engines/scumm/smush/codec47.cpp b/engines/scumm/smush/codec47.cpp index 5e44492a8e..e7cb767c46 100644 --- a/engines/scumm/smush/codec47.cpp +++ b/engines/scumm/smush/codec47.cpp @@ -573,7 +573,7 @@ bool Codec47Decoder::decode(byte *dst, const byte *src) { gfx_data += 32896; } - switch(src[2]) { + switch (src[2]) { case 0: memcpy(_curBuf, gfx_data, _frameSize); break; diff --git a/engines/scumm/smush/imuse_channel.cpp b/engines/scumm/smush/imuse_channel.cpp index 76a10a9e9e..9afbfe8d47 100644 --- a/engines/scumm/smush/imuse_channel.cpp +++ b/engines/scumm/smush/imuse_channel.cpp @@ -140,7 +140,7 @@ bool ImuseChannel::handleStop(Chunk &src) { bool ImuseChannel::handleMap(Chunk &map) { while (!map.eof()) { Chunk *sub = map.subBlock(); - switch(sub->getType()) { + switch (sub->getType()) { case TYPE_FRMT: handleFormat(*sub); break; @@ -213,7 +213,7 @@ bool ImuseChannel::handleSubTags(int32 &offset) { Chunk::type type = READ_BE_UINT32(_tbuffer + offset); uint32 size = READ_BE_UINT32(_tbuffer + offset + 4); uint32 available_size = _tbufferSize - offset; - switch(type) { + switch (type) { case TYPE_MAP_: _inData = false; if (available_size >= (size + 8)) { diff --git a/engines/scumm/smush/saud_channel.cpp b/engines/scumm/smush/saud_channel.cpp index 9969ac4bc9..662da3ee76 100644 --- a/engines/scumm/smush/saud_channel.cpp +++ b/engines/scumm/smush/saud_channel.cpp @@ -52,7 +52,7 @@ bool SaudChannel::handleSubTags(int32 &offset) { uint32 size = READ_BE_UINT32(_tbuffer + offset + 4); uint32 available_size = _tbufferSize - offset; - switch(type) { + switch (type) { case TYPE_STRK: _inData = false; if (available_size >= (size + 8)) { diff --git a/engines/scumm/smush/smush_player.cpp b/engines/scumm/smush/smush_player.cpp index ba51b472da..8b22e42867 100644 --- a/engines/scumm/smush/smush_player.cpp +++ b/engines/scumm/smush/smush_player.cpp @@ -227,7 +227,7 @@ void SmushPlayer::timerCallback(void *refCon) { ((SmushPlayer *)refCon)->_inTimerCount++; #endif #ifdef __SYMBIAN32__ - if(((SmushPlayer *)refCon)->_closeOnTextTick) { + if (((SmushPlayer *)refCon)->_closeOnTextTick) { delete ((SmushPlayer *)refCon)->_base; ((SmushPlayer *)refCon)->_base = NULL; ((SmushPlayer *)refCon)->_closeOnTextTick = false; @@ -313,7 +313,7 @@ void SmushPlayer::release() { #ifdef __SYMBIAN32__ _closeOnTextTick = true; // Wait for _closeOnTextTick to be set to false to indicate file closure - while(_closeOnTextTick) { + while (_closeOnTextTick) { User::After(15624); } #endif |