diff options
author | Torbjörn Andersson | 2004-10-22 10:25:56 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-10-22 10:25:56 +0000 |
commit | 5f7f3dc0d2f80cc422514c01c28bbaf00fa584a7 (patch) | |
tree | 5b14bdc7ce7733501f42a3883ca0f3e92d1e9e56 | |
parent | e88cd31e4ddab2680cc6441bbbcfcd4d1241bbc4 (diff) | |
download | scummvm-rg350-5f7f3dc0d2f80cc422514c01c28bbaf00fa584a7.tar.gz scummvm-rg350-5f7f3dc0d2f80cc422514c01c28bbaf00fa584a7.tar.bz2 scummvm-rg350-5f7f3dc0d2f80cc422514c01c28bbaf00fa584a7.zip |
Whitespace
svn-id: r15647
-rw-r--r-- | scumm/bomp.cpp | 2 | ||||
-rw-r--r-- | scumm/charset.cpp | 8 | ||||
-rw-r--r-- | scumm/input.cpp | 2 | ||||
-rw-r--r-- | scumm/resource_v2.cpp | 2 | ||||
-rw-r--r-- | scumm/script_v2.cpp | 2 | ||||
-rw-r--r-- | scumm/script_v6.cpp | 2 | ||||
-rw-r--r-- | scumm/string.cpp | 4 |
7 files changed, 11 insertions, 11 deletions
diff --git a/scumm/bomp.cpp b/scumm/bomp.cpp index 65464fc093..406e37c36c 100644 --- a/scumm/bomp.cpp +++ b/scumm/bomp.cpp @@ -115,7 +115,7 @@ void bompApplyMask(byte *line_buffer, byte *mask, byte maskbit, int32 size, byte void bompApplyShadow(int shadowMode, const byte *shadowPalette, const byte *line_buffer, byte *dst, int32 size, byte transparency, byte HE7Check) { assert(size > 0); - switch(shadowMode) { + switch (shadowMode) { case 0: bompApplyShadow0(shadowPalette, line_buffer, dst, size, transparency, HE7Check); break; diff --git a/scumm/charset.cpp b/scumm/charset.cpp index 841c934fe7..257e7b332d 100644 --- a/scumm/charset.cpp +++ b/scumm/charset.cpp @@ -30,7 +30,7 @@ void ScummEngine::loadCJKFont() { if ((_gameId == GID_DIG || _gameId == GID_CMI) && (_language == Common::KO_KOR || _language == Common::JA_JPN || _language == Common::ZH_TWN)) { File fp; const char *fontFile = NULL; - switch(_language) { + switch (_language) { case Common::KO_KOR: fontFile = "korean.fnt"; break; @@ -53,7 +53,7 @@ void ScummEngine::loadCJKFont() { _2byteHeight = fp.readByte(); int numChar = 0; - switch(_language) { + switch (_language) { case Common::KO_KOR: numChar = 2350; break; @@ -120,7 +120,7 @@ static int SJIStoFMTChunk(int f, int s) //convert sjis code to fmt font offset if ((base == 0x7f && s == 0x9e) || (base == 0x9f && s == 0xbe) || (base == 0xbf && s == 0xde)) base += 0x20; //correction - switch(base) { + switch (base) { case 0x3f: cr = 0; //3f if (kanjiType == KANA) chunk = 1; @@ -165,7 +165,7 @@ static int SJIStoFMTChunk(int f, int s) //convert sjis code to fmt font offset } byte *ScummEngine::get2byteCharPtr(int idx) { - switch(_language) { + switch (_language) { case Common::KO_KOR: idx = ((idx % 256) - 0xb0) * 94 + (idx / 256) - 0xa1; break; diff --git a/scumm/input.cpp b/scumm/input.cpp index c8a33cbcc4..ed809142d7 100644 --- a/scumm/input.cpp +++ b/scumm/input.cpp @@ -42,7 +42,7 @@ void ScummEngine::parseEvents() { while (_system->pollEvent(event)) { - switch(event.event_code) { + switch (event.event_code) { case OSystem::EVENT_KEYDOWN: if (event.kbd.keycode >= '0' && event.kbd.keycode <= '9' && (event.kbd.flags == OSystem::KBD_ALT || diff --git a/scumm/resource_v2.cpp b/scumm/resource_v2.cpp index 3cb15e0a62..978ab64389 100644 --- a/scumm/resource_v2.cpp +++ b/scumm/resource_v2.cpp @@ -154,7 +154,7 @@ void ScummEngine_v2::readIndexFile() { magic = _fileHandle.readUint16LE(); - switch(magic) { + switch (magic) { case 0x0100: printf("Enhanced V2 game detected\n"); readEnhancedIndexFile(); diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 67c6ca0470..f9c7fb5fba 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -897,7 +897,7 @@ void ScummEngine_v2::o2_doSentence() { // Execute or print the sentence _opcode = fetchScriptByte(); - switch(_opcode) { + switch (_opcode) { case 0: // Do nothing (besides setting up the sentence above) break; diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index b5be67b581..ce178fb8a4 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -2769,7 +2769,7 @@ void ScummEngine_v6::o6_kernelGetFunctions() { // FIXME: check either some warning will trigger. I am not sure that those // keys are queried in scripts at all int ScummEngine::getKeyState(int key) { - switch(key) { + switch (key) { case 0x145: warning("ScummEngine::getKeyState(%x) 'numlock' is probed", key); return 0; diff --git a/scumm/string.cpp b/scumm/string.cpp index 67f1af3ad8..36f033fcdf 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -242,7 +242,7 @@ void ScummEngine::CHARSET_1() { if (_heversion >= 72 && c == code) { c = *buffer++; - switch(c) { + switch (c) { case 84: i = 0; memset(value, 0, 32); @@ -284,7 +284,7 @@ void ScummEngine::CHARSET_1() { } } else if (c == 0xFE || c == 0xFF) { c = *buffer++; - switch(c) { + switch (c) { case 1: goto newLine; case 2: |