X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsdl.h;h=f279ebc4121309254fe5149827b1434671c141f6;hb=969b64ecce695a468b80108184194be0a2c1ae6d;hp=4fec8030082d1927c3b7192dd03a7e5a0a789ed3;hpb=fc2258f533dd7578e76f89a0fe1ad093022284dd;p=rocksndiamonds.git diff --git a/src/libgame/sdl.h b/src/libgame/sdl.h index 4fec8030..f279ebc4 100644 --- a/src/libgame/sdl.h +++ b/src/libgame/sdl.h @@ -17,7 +17,7 @@ #include #include #include -#if defined(PLATFORM_WIN32) +#if defined(PLATFORM_WINDOWS) #include #endif @@ -391,6 +391,7 @@ typedef struct UserEventInfo UserEvent; // SDL function definitions +void SDLSetAlpha(SDL_Surface *, boolean, int); const char *SDLGetRendererName(void); boolean SDLSetNativeSurface(SDL_Surface **); SDL_Surface *SDLGetNativeSurface(SDL_Surface *); @@ -427,7 +428,6 @@ void SDLDrawLine(Bitmap *, int, int, int, int, Uint32); Pixel SDLGetPixel(Bitmap *, int, int); void SDLPutPixel(Bitmap *, int, int, Pixel); -void SDLInvertArea(Bitmap *, int, int, int, int, Uint32); void SDLCopyInverseMasked(Bitmap *, Bitmap *, int, int, int, int, int, int); Bitmap *SDLZoomBitmap(Bitmap *, int, int);