From bb97e8aaa15217afe1f3fcdc93662ab03b8ae9d9 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Thu, 11 Feb 2021 12:15:12 +0000 Subject: init commit --- sdl.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sdl.h (limited to 'sdl.h') diff --git a/sdl.h b/sdl.h new file mode 100644 index 0000000..2df6f81 --- /dev/null +++ b/sdl.h @@ -0,0 +1,14 @@ +#ifndef SDL_H +#define SDL_H + +#include +#include + +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 */ -- cgit v1.2.3-54-g00ecf