Mercurial > hg > dmlib
diff dmlib.h @ 19:10f58ff516b3
Add function prototypes for two special case scaled blit functions.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 28 Sep 2012 14:51:21 +0300 |
parents | 32250b436bca |
children | 2f463a59d732 |
line wrap: on
line diff
--- a/dmlib.h Fri Sep 28 14:50:58 2012 +0300 +++ b/dmlib.h Fri Sep 28 14:51:21 2012 +0300 @@ -241,6 +241,9 @@ DMScaledBlitFunc dmGetScaledBlitFunc(SDL_PixelFormat *src, SDL_PixelFormat *dst, int mode); int dmScaledBlitSurfaceAny(SDL_Surface *src, const int x0, const int y0, const int dwidth, const int dheight, SDL_Surface *dst, int mode); + +int dmScaledBlitSurface32to32TransparentX(SDL_Surface *src, const int x0, const int y0, const int dwidth, const int dheight, SDL_Surface *dst); +int dmScaledBlitSurface32to32TransparentGA(SDL_Surface *src, const int x0, const int y0, const int dwidth, const int dheight, SDL_Surface *dst, Uint32 alpha); #endif /* Misc functions