diff options
Diffstat (limited to 'src/audio/audio.h')
-rw-r--r-- | src/audio/audio.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/audio/audio.h b/src/audio/audio.h index 1aa7f43..319a86c 100644 --- a/src/audio/audio.h +++ b/src/audio/audio.h @@ -3,6 +3,15 @@ #include <lua.h> -void setup_audio(lua_State *L, int honey_tbl); +extern const char *audio_engine_tname; + +#define AUDIO_FUNCTIONS \ + X("engine_init", audio_engine_init) \ + X("engine_uninit", audio_engine_uninit) \ + X("engine_play_sound", audio_engine_play_sound) \ + +#define X(name, func) int func(lua_State *L); +AUDIO_FUNCTIONS +#undef X #endif |