- Ajustat el nombre de versió

- Retocades dos funcions de la llibreria de vscode
This commit is contained in:
2025-10-30 12:35:13 +01:00
parent 7bff57c6fa
commit 4172c6af3d
2 changed files with 12 additions and 1 deletions

View File

@@ -1,3 +1,3 @@
#pragma once #pragma once
#define MINI_VERSION "1.2" #define MINI_VERSION "1.3.6"

View File

@@ -303,6 +303,11 @@ music = {}
---Load and play the song in the specified OGG file ---Load and play the song in the specified OGG file
function music.play(filename) end 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 ---Pause the currently playing song
function music.pause() end 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 ---Play the sound specified, returns the channel in which it's playing
function sound.play(snd) end 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 ---@param chl number
---Stop the channel specified ---Stop the channel specified
function sound.stop(chl) end function sound.stop(chl) end