comparison src/video/SDL_pixels_c.h @ 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 eef792d31de8
comparison
equal deleted inserted replaced
1667:1fddae038bc8 1668:4da1ee79c9af
24 /* Useful functions and variables from SDL_pixel.c */ 24 /* Useful functions and variables from SDL_pixel.c */
25 25
26 #include "SDL_blit.h" 26 #include "SDL_blit.h"
27 27
28 /* Pixel format functions */ 28 /* Pixel format functions */
29 extern SDL_PixelFormat *SDL_AllocFormat (int bpp, 29 extern SDL_PixelFormat *SDL_AllocFormat(int bpp,
30 Uint32 Rmask, Uint32 Gmask, 30 Uint32 Rmask, Uint32 Gmask,
31 Uint32 Bmask, Uint32 Amask); 31 Uint32 Bmask, Uint32 Amask);
32 extern SDL_PixelFormat *SDL_ReallocFormat (SDL_Surface * surface, int bpp, 32 extern SDL_PixelFormat *SDL_ReallocFormat(SDL_Surface * surface, int bpp,
33 Uint32 Rmask, Uint32 Gmask, 33 Uint32 Rmask, Uint32 Gmask,
34 Uint32 Bmask, Uint32 Amask); 34 Uint32 Bmask, Uint32 Amask);
35 extern void SDL_FormatChanged (SDL_Surface * surface); 35 extern void SDL_FormatChanged(SDL_Surface * surface);
36 extern void SDL_FreeFormat (SDL_PixelFormat * format); 36 extern void SDL_FreeFormat(SDL_PixelFormat * format);
37 37
38 /* Blit mapping functions */ 38 /* Blit mapping functions */
39 extern SDL_BlitMap *SDL_AllocBlitMap (void); 39 extern SDL_BlitMap *SDL_AllocBlitMap(void);
40 extern void SDL_InvalidateMap (SDL_BlitMap * map); 40 extern void SDL_InvalidateMap(SDL_BlitMap * map);
41 extern int SDL_MapSurface (SDL_Surface * src, SDL_Surface * dst); 41 extern int SDL_MapSurface(SDL_Surface * src, SDL_Surface * dst);
42 extern void SDL_FreeBlitMap (SDL_BlitMap * map); 42 extern void SDL_FreeBlitMap(SDL_BlitMap * map);
43 43
44 /* Miscellaneous functions */ 44 /* Miscellaneous functions */
45 extern Uint16 SDL_CalculatePitch (SDL_Surface * surface); 45 extern Uint16 SDL_CalculatePitch(SDL_Surface * surface);
46 extern void SDL_DitherColors (SDL_Color * colors, int bpp); 46 extern void SDL_DitherColors(SDL_Color * colors, int bpp);
47 extern Uint8 SDL_FindColor (SDL_Palette * pal, Uint8 r, Uint8 g, Uint8 b); 47 extern Uint8 SDL_FindColor(SDL_Palette * pal, Uint8 r, Uint8 g, Uint8 b);
48 extern void SDL_ApplyGamma (Uint16 * gamma, SDL_Color * colors, 48 extern void SDL_ApplyGamma(Uint16 * gamma, SDL_Color * colors,
49 SDL_Color * output, int ncolors); 49 SDL_Color * output, int ncolors);
50 /* vi: set ts=4 sw=4 expandtab: */ 50 /* vi: set ts=4 sw=4 expandtab: */