include/SDL_compat.h
changeset 2266 e61ad15a205f
parent 2222 926294b2bb4e
child 2267 c785543d1843
     1.1 --- a/include/SDL_compat.h	Fri Aug 17 06:58:20 2007 +0000
     1.2 +++ b/include/SDL_compat.h	Sat Aug 18 01:44:21 2007 +0000
     1.3 @@ -37,6 +37,8 @@
     1.4  #endif
     1.5  
     1.6  #define SDL_SWSURFACE       0x00000000  /* Not used */
     1.7 +//#define SDL_SRCALPHA        0x00010000
     1.8 +//#define SDL_SRCCOLORKEY     0x00020000
     1.9  #define SDL_ANYFORMAT       0x00100000
    1.10  #define SDL_HWPALETTE       0x00200000
    1.11  #define SDL_DOUBLEBUF       0x00400000
    1.12 @@ -146,6 +148,8 @@
    1.13  extern DECLSPEC void SDLCALL SDL_UpdateRect(SDL_Surface * screen, Sint32 x,
    1.14                                              Sint32 y, Uint32 w, Uint32 h);
    1.15  extern DECLSPEC int SDLCALL SDL_Flip(SDL_Surface * screen);
    1.16 +extern DECLSPEC int SDLCALL SDL_SetAlpha(SDL_Surface * surface, Uint32 flag,
    1.17 +                                         Uint8 alpha);
    1.18  extern DECLSPEC SDL_Surface *SDLCALL SDL_DisplayFormat(SDL_Surface * surface);
    1.19  extern DECLSPEC SDL_Surface *SDLCALL SDL_DisplayFormatAlpha(SDL_Surface *
    1.20                                                              surface);