comparison include/SDL_compat.h @ 2266:e61ad15a205f

More work in progress integrating SDL_Surface and the new SDL_Texture API
author Sam Lantinga <slouken@libsdl.org>
date Sat, 18 Aug 2007 01:44:21 +0000
parents 926294b2bb4e
children c785543d1843
comparison
equal deleted inserted replaced
2265:265bb136af92 2266:e61ad15a205f
35 extern "C" { 35 extern "C" {
36 /* *INDENT-ON* */ 36 /* *INDENT-ON* */
37 #endif 37 #endif
38 38
39 #define SDL_SWSURFACE 0x00000000 /* Not used */ 39 #define SDL_SWSURFACE 0x00000000 /* Not used */
40 //#define SDL_SRCALPHA 0x00010000
41 //#define SDL_SRCCOLORKEY 0x00020000
40 #define SDL_ANYFORMAT 0x00100000 42 #define SDL_ANYFORMAT 0x00100000
41 #define SDL_HWPALETTE 0x00200000 43 #define SDL_HWPALETTE 0x00200000
42 #define SDL_DOUBLEBUF 0x00400000 44 #define SDL_DOUBLEBUF 0x00400000
43 #define SDL_FULLSCREEN 0x00800000 45 #define SDL_FULLSCREEN 0x00800000
44 #define SDL_RESIZABLE 0x01000000 46 #define SDL_RESIZABLE 0x01000000
144 extern DECLSPEC void SDLCALL SDL_UpdateRects(SDL_Surface * screen, 146 extern DECLSPEC void SDLCALL SDL_UpdateRects(SDL_Surface * screen,
145 int numrects, SDL_Rect * rects); 147 int numrects, SDL_Rect * rects);
146 extern DECLSPEC void SDLCALL SDL_UpdateRect(SDL_Surface * screen, Sint32 x, 148 extern DECLSPEC void SDLCALL SDL_UpdateRect(SDL_Surface * screen, Sint32 x,
147 Sint32 y, Uint32 w, Uint32 h); 149 Sint32 y, Uint32 w, Uint32 h);
148 extern DECLSPEC int SDLCALL SDL_Flip(SDL_Surface * screen); 150 extern DECLSPEC int SDLCALL SDL_Flip(SDL_Surface * screen);
151 extern DECLSPEC int SDLCALL SDL_SetAlpha(SDL_Surface * surface, Uint32 flag,
152 Uint8 alpha);
149 extern DECLSPEC SDL_Surface *SDLCALL SDL_DisplayFormat(SDL_Surface * surface); 153 extern DECLSPEC SDL_Surface *SDLCALL SDL_DisplayFormat(SDL_Surface * surface);
150 extern DECLSPEC SDL_Surface *SDLCALL SDL_DisplayFormatAlpha(SDL_Surface * 154 extern DECLSPEC SDL_Surface *SDLCALL SDL_DisplayFormatAlpha(SDL_Surface *
151 surface); 155 surface);
152 extern DECLSPEC void SDLCALL SDL_WM_SetCaption(const char *title, 156 extern DECLSPEC void SDLCALL SDL_WM_SetCaption(const char *title,
153 const char *icon); 157 const char *icon);