diff options
author | Max Horn | 2004-10-16 22:28:29 +0000 |
---|---|---|
committer | Max Horn | 2004-10-16 22:28:29 +0000 |
commit | b41902f4079793236a20ebc380481fd598401c1d (patch) | |
tree | a880c59aa57fbbeda66b0f455b0e9023058c02ed /kyra/font.cpp | |
parent | f0a7f8f0fbe1869b8ada4df161c8e4fb38ff8699 (diff) | |
download | scummvm-rg350-b41902f4079793236a20ebc380481fd598401c1d.tar.gz scummvm-rg350-b41902f4079793236a20ebc380481fd598401c1d.tar.bz2 scummvm-rg350-b41902f4079793236a20ebc380481fd598401c1d.zip |
Fix whitespace / code formatting to match out guidelines
svn-id: r15576
Diffstat (limited to 'kyra/font.cpp')
-rw-r--r-- | kyra/font.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/kyra/font.cpp b/kyra/font.cpp index 2131774073..c802fcb2e3 100644 --- a/kyra/font.cpp +++ b/kyra/font.cpp @@ -206,20 +206,20 @@ namespace Kyra { for (uint8 yadd = 0; yadd < height; ++yadd) { for (uint8 xadd = 0; xadd < width; ++xadd) { switch(*src) { - case 1: - plane[(y + yadd) * planewidth + x + xadd] = color; + case 1: + plane[(y + yadd) * planewidth + x + xadd] = color; break; - case 2: - plane[(y + yadd) * planewidth + x + xadd] = 14; + case 2: + plane[(y + yadd) * planewidth + x + xadd] = 14; break; - case 3: - plane[(y + yadd) * planewidth + x + xadd] = 0; + case 3: + plane[(y + yadd) * planewidth + x + xadd] = 0; break; - default: - // nothing to do now + default: + // nothing to do now break; }; @@ -269,30 +269,30 @@ namespace Kyra { } switch(index) { - case 1: + case 1: #ifdef DUMP_FILES - fprintf(dump, "#"); + fprintf(dump, "#"); #endif - dst[yadd * newChar.width + xadd] = 1; + dst[yadd * newChar.width + xadd] = 1; break; - - case 2: + + case 2: #ifdef DUMP_FILES - fprintf(dump, "$"); + fprintf(dump, "$"); #endif - dst[yadd * newChar.width + xadd] = 2; + dst[yadd * newChar.width + xadd] = 2; break; - - case 3: + + case 3: #ifdef DUMP_FILES - fprintf(dump, "§"); + fprintf(dump, "§"); #endif - dst[yadd * newChar.width + xadd] = 3; + dst[yadd * newChar.width + xadd] = 3; break; - - default: + + default: #ifdef DUMP_FILES - fprintf(dump, "%d", index); + fprintf(dump, "%d", index); #endif break; }; |