#define TARGET_STRING "SDL"
#endif
+#if defined(PLATFORM_ANDROID)
+#define WINDOW_SCALING_STATUS WINDOW_SCALING_NOT_AVAILABLE
#define FULLSCREEN_STATUS FULLSCREEN_AVAILABLE
+#define USE_DESKTOP_FULLSCREEN TRUE
+#elif defined(TARGET_SDL2)
+#define WINDOW_SCALING_STATUS WINDOW_SCALING_AVAILABLE
+#define FULLSCREEN_STATUS FULLSCREEN_AVAILABLE
+#define USE_DESKTOP_FULLSCREEN TRUE
+#else // SDL 1.2
+#define WINDOW_SCALING_STATUS WINDOW_SCALING_NOT_AVAILABLE
+#define FULLSCREEN_STATUS FULLSCREEN_AVAILABLE
+#endif
#define CURSOR_MAX_WIDTH 32
#define CURSOR_MAX_HEIGHT 32
#if defined(TARGET_SDL2)
typedef SDL_TouchFingerEvent FingerEvent;
typedef SDL_TextInputEvent TextEvent;
+typedef SDL_Event PauseResumeEvent;
+typedef SDL_WindowEvent WindowEvent;
#endif
typedef SDL_KeyboardEvent KeyEvent;
typedef SDL_Event ExposeEvent;
/* SDL function definitions */
+boolean SDLSetNativeSurface(SDL_Surface **);
+SDL_Surface *SDLGetNativeSurface(SDL_Surface *);
+
#if defined(TARGET_SDL2)
SDL_Surface *SDL_DisplayFormat(SDL_Surface *);
+void SDLSetWindowScaling(int);
+void SDLSetWindowScalingQuality(char *);
+void SDLSetWindowFullscreen(boolean);
+void SDLRedrawWindow();
#endif
+void SDLSetWindowTitle(void);
+
+void SDLLimitScreenUpdates(boolean);
void SDLInitVideoDisplay(void);
void SDLInitVideoBuffer(DrawBuffer **, DrawWindow **, boolean);
boolean SDLSetVideoMode(DrawBuffer **, boolean);
void SDLInvertArea(Bitmap *, int, int, int, int, Uint32);
void SDLCopyInverseMasked(Bitmap *, Bitmap *, int, int, int, int, int, int);
+#if 1
+Bitmap *SDLZoomBitmap(Bitmap *, int, int);
+#else
void SDLZoomBitmap(Bitmap *, Bitmap *);
+#endif
Bitmap *SDLLoadImage(char *);