| 1546 | return 0; |
| 1547 | } |
| 1548 | static int ResumeSound(lua_State* L)LNOEXCEPT |
| 1549 | { |
| 1550 | const char* s = luaL_checkstring(L, 1); |
| 1551 | ResSound* p = LRES.FindSound(s); |
| 1552 | if (!p) |
| 1553 | return luaL_error(L, "sound '%s' not found.", s); |
| 1554 | p->Resume(); |
| 1555 | return 0; |
| 1556 | } |
| 1557 | static int GetSoundState(lua_State* L)LNOEXCEPT |
| 1558 | { |
| 1559 | const char* s = luaL_checkstring(L, 1); |