diff src/video/SDL_blit_0.c @ 1668:4da1ee79c9af SDL-1.3

more tweaking indent options
author Sam Lantinga <slouken@libsdl.org>
date Mon, 29 May 2006 04:04:35 +0000
parents 782fd950bd46
children
line wrap: on
line diff
--- a/src/video/SDL_blit_0.c	Mon May 29 03:53:21 2006 +0000
+++ b/src/video/SDL_blit_0.c	Mon May 29 04:04:35 2006 +0000
@@ -27,7 +27,7 @@
 /* Functions to blit from bitmaps to other surfaces */
 
 static void
-BlitBto1 (SDL_BlitInfo * info)
+BlitBto1(SDL_BlitInfo * info)
 {
     int c;
     int width, height;
@@ -81,7 +81,7 @@
     }
 }
 static void
-BlitBto2 (SDL_BlitInfo * info)
+BlitBto2(SDL_BlitInfo * info)
 {
     int c;
     int width, height;
@@ -117,7 +117,7 @@
     }
 }
 static void
-BlitBto3 (SDL_BlitInfo * info)
+BlitBto3(SDL_BlitInfo * info)
 {
     int c, o;
     int width, height;
@@ -155,7 +155,7 @@
     }
 }
 static void
-BlitBto4 (SDL_BlitInfo * info)
+BlitBto4(SDL_BlitInfo * info)
 {
     int width, height;
     Uint8 *src;
@@ -192,7 +192,7 @@
 }
 
 static void
-BlitBto1Key (SDL_BlitInfo * info)
+BlitBto1Key(SDL_BlitInfo * info)
 {
     int width = info->d_width;
     int height = info->d_height;
@@ -245,7 +245,7 @@
 }
 
 static void
-BlitBto2Key (SDL_BlitInfo * info)
+BlitBto2Key(SDL_BlitInfo * info)
 {
     int width = info->d_width;
     int height = info->d_height;
@@ -280,7 +280,7 @@
 }
 
 static void
-BlitBto3Key (SDL_BlitInfo * info)
+BlitBto3Key(SDL_BlitInfo * info)
 {
     int width = info->d_width;
     int height = info->d_height;
@@ -303,7 +303,7 @@
             }
             bit = (byte & 0x80) >> 7;
             if (bit != ckey) {
-                SDL_memcpy (dst, &palmap[bit * 4], 3);
+                SDL_memcpy(dst, &palmap[bit * 4], 3);
             }
             byte <<= 1;
             dst += 3;
@@ -314,7 +314,7 @@
 }
 
 static void
-BlitBto4Key (SDL_BlitInfo * info)
+BlitBto4Key(SDL_BlitInfo * info)
 {
     int width = info->d_width;
     int height = info->d_height;
@@ -349,7 +349,7 @@
 }
 
 static void
-BlitBtoNAlpha (SDL_BlitInfo * info)
+BlitBtoNAlpha(SDL_BlitInfo * info)
 {
     int width = info->d_width;
     int height = info->d_height;
@@ -381,9 +381,9 @@
                 sR = srcpal[bit].r;
                 sG = srcpal[bit].g;
                 sB = srcpal[bit].b;
-                DISEMBLE_RGB (dst, dstbpp, dstfmt, pixel, dR, dG, dB);
-                ALPHA_BLEND (sR, sG, sB, A, dR, dG, dB);
-                ASSEMBLE_RGB (dst, dstbpp, dstfmt, dR, dG, dB);
+                DISEMBLE_RGB(dst, dstbpp, dstfmt, pixel, dR, dG, dB);
+                ALPHA_BLEND(sR, sG, sB, A, dR, dG, dB);
+                ASSEMBLE_RGB(dst, dstbpp, dstfmt, dR, dG, dB);
             }
             byte <<= 1;
             dst += dstbpp;
@@ -394,7 +394,7 @@
 }
 
 static void
-BlitBtoNAlphaKey (SDL_BlitInfo * info)
+BlitBtoNAlphaKey(SDL_BlitInfo * info)
 {
     int width = info->d_width;
     int height = info->d_height;
@@ -428,9 +428,9 @@
                 sR = srcpal[bit].r;
                 sG = srcpal[bit].g;
                 sB = srcpal[bit].b;
-                DISEMBLE_RGB (dst, dstbpp, dstfmt, pixel, dR, dG, dB);
-                ALPHA_BLEND (sR, sG, sB, A, dR, dG, dB);
-                ASSEMBLE_RGB (dst, dstbpp, dstfmt, dR, dG, dB);
+                DISEMBLE_RGB(dst, dstbpp, dstfmt, pixel, dR, dG, dB);
+                ALPHA_BLEND(sR, sG, sB, A, dR, dG, dB);
+                ASSEMBLE_RGB(dst, dstbpp, dstfmt, dR, dG, dB);
             }
             byte <<= 1;
             dst += dstbpp;
@@ -449,7 +449,7 @@
 };
 
 SDL_loblit
-SDL_CalculateBlit0 (SDL_Surface * surface, int blit_index)
+SDL_CalculateBlit0(SDL_Surface * surface, int blit_index)
 {
     int which;