add some sdl code from rearmed

This commit is contained in:
notaz 2012-12-21 00:19:34 +02:00
parent b98018548f
commit e81b987fc1
4 changed files with 269 additions and 2 deletions

11
plat_sdl.h Normal file
View file

@ -0,0 +1,11 @@
#include <SDL.h>
extern SDL_Surface *plat_sdl_screen;
extern SDL_Overlay *plat_sdl_overlay;
extern int plat_sdl_gl_active;
int plat_sdl_init(void);
int plat_sdl_change_video_mode(int w, int h);
void plat_sdl_overlay_clear(void);
void plat_sdl_event_handler(void *event_);
void plat_sdl_finish(void);