diff --git a/version.h b/version.h index 3375224..24fb37a 100644 --- a/version.h +++ b/version.h @@ -1,3 +1,3 @@ #pragma once -#define MINI_VERSION "1.2" +#define MINI_VERSION "1.3.6" diff --git a/vscode/library.lua b/vscode/library.lua index d16536b..ddddd43 100644 --- a/vscode/library.lua +++ b/vscode/library.lua @@ -303,6 +303,11 @@ music = {} ---Load and play the song in the specified OGG file function music.play(filename) end +---@param filename string +---@param loop integer +---Load and play the song in the specified OGG file, loop number of times +function music.play(filename, loop) end + ---Pause the currently playing song function music.pause() end @@ -337,6 +342,12 @@ function sound.free(snd) end ---Play the sound specified, returns the channel in which it's playing function sound.play(snd) end +---@param snd number +---@param loop integer +---@return number chl +---Play the sound specified loop number of times, returns the channel in which it's playing +function sound.play(snd, loop) end + ---@param chl number ---Stop the channel specified function sound.stop(chl) end