Remove circular dependencies between libs, use callback function pointers instead
[mercenary-reloaded.git] / src / libsdl / sdl.h
1 #include <SDL2/SDL.h>
2
3 int init_sdl(const char *progname, int width, int height, int sound_samplerate, int sound_chunk, void (*keyboard)(int down, SDL_Keycode sym), void (*audio)(float *data, int len));
4 int event_sdl(void);
5 void swap_sdl(void);
6 void exit_sdl(void);
7