diff options
author | Torbjörn Andersson | 2003-09-21 16:11:26 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-09-21 16:11:26 +0000 |
commit | 3c7c60196f149c36c105db1d6a739f234c9b1f9b (patch) | |
tree | cf92e73e7f4ad8050e9a8c9a3c7c76f0edbb7de3 /sword2/function.cpp | |
parent | 14813704ae5352e0902e7b3d73a9c75d19587800 (diff) | |
download | scummvm-rg350-3c7c60196f149c36c105db1d6a739f234c9b1f9b.tar.gz scummvm-rg350-3c7c60196f149c36c105db1d6a739f234c9b1f9b.tar.bz2 scummvm-rg350-3c7c60196f149c36c105db1d6a739f234c9b1f9b.zip |
ScummVM code formatting conventions
svn-id: r10350
Diffstat (limited to 'sword2/function.cpp')
-rw-r--r-- | sword2/function.cpp | 61 |
1 files changed, 27 insertions, 34 deletions
diff --git a/sword2/function.cpp b/sword2/function.cpp index 306e7a825e..889140039d 100644 --- a/sword2/function.cpp +++ b/sword2/function.cpp @@ -263,21 +263,18 @@ int32 FN_flash(int32 *params) { // (James14feb97) #ifdef _SWORD2_DEBUG // what colour? switch (params[0]) { - case WHITE: - BS2_SetPalette(0, 1, white, RDPAL_INSTANT); - break; - - case RED: - BS2_SetPalette(0, 1, red, RDPAL_INSTANT); - break; - - case GREEN: - BS2_SetPalette(0, 1, green, RDPAL_INSTANT); - break; - - case BLUE: - BS2_SetPalette(0, 1, blue, RDPAL_INSTANT); - break; + case WHITE: + BS2_SetPalette(0, 1, white, RDPAL_INSTANT); + break; + case RED: + BS2_SetPalette(0, 1, red, RDPAL_INSTANT); + break; + case GREEN: + BS2_SetPalette(0, 1, green, RDPAL_INSTANT); + break; + case BLUE: + BS2_SetPalette(0, 1, blue, RDPAL_INSTANT); + break; } // There used to be a busy-wait loop here, so I don't know how long @@ -302,25 +299,21 @@ int32 FN_colour(int32 *params) { // (James14feb97) #ifdef _SWORD2_DEBUG // what colour? switch (params[0]) { - case BLACK: - BS2_SetPalette(0, 1, black, RDPAL_INSTANT); - break; - - case WHITE: - BS2_SetPalette(0, 1, white, RDPAL_INSTANT); - break; - - case RED: - BS2_SetPalette(0, 1, red, RDPAL_INSTANT); - break; - - case GREEN: - BS2_SetPalette(0, 1, green, RDPAL_INSTANT); - break; - - case BLUE: - BS2_SetPalette(0, 1, blue, RDPAL_INSTANT); - break; + case BLACK: + BS2_SetPalette(0, 1, black, RDPAL_INSTANT); + break; + case WHITE: + BS2_SetPalette(0, 1, white, RDPAL_INSTANT); + break; + case RED: + BS2_SetPalette(0, 1, red, RDPAL_INSTANT); + break; + case GREEN: + BS2_SetPalette(0, 1, green, RDPAL_INSTANT); + break; + case BLUE: + BS2_SetPalette(0, 1, blue, RDPAL_INSTANT); + break; } #endif |