equal
deleted
inserted
replaced
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 int SDL_InitFormat(SDL_PixelFormat * format, Uint32 pixel_format); |
30 Uint32 Rmask, Uint32 Gmask, |
|
31 Uint32 Bmask, Uint32 Amask); |
|
32 extern SDL_PixelFormat *SDL_InitFormat(SDL_PixelFormat * format, int bpp, |
|
33 Uint32 Rmask, Uint32 Gmask, |
|
34 Uint32 Bmask, Uint32 Amask); |
|
35 extern void SDL_FormatChanged(SDL_Surface * surface); |
|
36 extern void SDL_FreeFormat(SDL_PixelFormat * format); |
|
37 |
30 |
38 /* Blit mapping functions */ |
31 /* Blit mapping functions */ |
39 extern SDL_BlitMap *SDL_AllocBlitMap(void); |
32 extern SDL_BlitMap *SDL_AllocBlitMap(void); |
40 extern void SDL_InvalidateMap(SDL_BlitMap * map); |
33 extern void SDL_InvalidateMap(SDL_BlitMap * map); |
41 extern int SDL_MapSurface(SDL_Surface * src, SDL_Surface * dst); |
34 extern int SDL_MapSurface(SDL_Surface * src, SDL_Surface * dst); |