mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-26 12:32:05 +01:00
for future (merry christmas btw)
This commit is contained in:
@@ -35,13 +35,14 @@ function tick() end
|
||||
function data_handle(data) end
|
||||
---This function is called when the group "L" is in the sequence
|
||||
---It should be defined by the user in the script.
|
||||
---@param group string group this was called in from the group sequence
|
||||
---@param b integer
|
||||
---@param c integer
|
||||
---@param d integer
|
||||
---@return integer b
|
||||
---@return integer c
|
||||
---@return integer d
|
||||
function group(b, c, d) end
|
||||
function group(group, b, c, d) end
|
||||
|
||||
---@param pi integer
|
||||
function set_rds_pi(pi) end
|
||||
|
||||
@@ -591,6 +591,7 @@ void lua_group(RDSGroup* group) {
|
||||
lua_getglobal(L, "group");
|
||||
|
||||
if (lua_isfunction(L, -1)) {
|
||||
lua_pushstring(L, "L");
|
||||
lua_pushinteger(L, group->b);
|
||||
lua_pushinteger(L, group->c);
|
||||
lua_pushinteger(L, group->d);
|
||||
|
||||
Reference in New Issue
Block a user