| 1 | #include <SDL.h> |
| 2 | |
| 3 | extern SDL_Surface *plat_sdl_screen; |
| 4 | extern SDL_Overlay *plat_sdl_overlay; |
| 5 | extern int plat_sdl_gl_active; |
| 6 | extern void (*plat_sdl_resize_cb)(int w, int h); |
| 7 | extern void (*plat_sdl_quit_cb)(void); |
| 8 | extern int plat_sdl_no_overlay2x; |
| 9 | |
| 10 | int plat_sdl_init(void); |
| 11 | int plat_sdl_is_windowed(void); |
| 12 | int plat_sdl_is_fullscreen(void); |
| 13 | int plat_sdl_change_video_mode(int w, int h, int force); |
| 14 | void plat_sdl_overlay_clear(void); |
| 15 | void plat_sdl_event_handler(void *event_); |
| 16 | void plat_sdl_gl_scaling(int type); |
| 17 | void plat_sdl_gl_vsync(int on); |
| 18 | void plat_sdl_finish(void); |