diff options
Diffstat (limited to 'sdl.h')
-rw-r--r-- | sdl.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +#ifndef SDL_H +#define SDL_H + +#include <SDL.h> +#include <lua.h> + +int sdl_error(lua_State *L, const char *what); +void acquire_sdl(void); +void release_sdl(void); +const char *strbutton(Uint8 button); +const char *strscancode(SDL_Scancode s); +const char *strsym(SDL_Keycode k); + +#endif /* !SDL_H */ |