8#define SPFX_METATABLE "spfx"
25void spfxL_exit(
void );
int lua_isspfx(lua_State *L, int ind)
Checks to see if ind is a spfx.
void spfxL_setSpeedVolume(double v)
Sets the speed volume due to autonav and the likes.
void spfxL_renderbg(double dt)
Renders the Lua SPFX on the background.
void spfxL_rendermg(double dt)
Renders the Lua SPFX in the midground.
void spfxL_renderfg(double dt)
Renders the Lua SPFX in the foreground.
void spfxL_clear(void)
Clears the Lua spfx.
void spfxL_update(double dt)
Updates the spfx.
LuaSpfx_t * luaL_checkspfx(lua_State *L, int ind)
Gets spfx at index or raises error if there is no spfx at index.
int nlua_loadSpfx(nlua_env env)
Loads the spfx library.
LuaSpfx_t * lua_pushspfx(lua_State *L, LuaSpfx_t spfx)
Pushes a spfx on the stack.
void spfxL_setSpeed(double s)
Sets the speed of the playing spfx sounds.
LuaSpfx_t * lua_tospfx(lua_State *L, int ind)
Gets spfx at index.