projects
/
mercenary-reloaded.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
79a9cba95cffbbd244dca864c618323dc27e44de
[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), int multisampling);
4
int event_sdl(void);
5
void swap_sdl(void);
6
void exit_sdl(void);
7
uint32_t ticks_sdl(void);
8