VERSIÓ 1.4.4

- [NEW] Nou sistema de fonts funcionant ja internament
This commit is contained in:
2026-03-18 08:58:42 +01:00
parent e89d596ea4
commit 9c895a518e
8 changed files with 389 additions and 89 deletions

View File

@@ -310,15 +310,13 @@ extern "C" {
break;
case 1:
index = luaL_checkinteger(L, 1);
const uint8_t old = subpal(index,index);
lua_pushinteger(L, old);
lua_pushinteger(L, subpal(index,index));
return 1;
break;
case 2:
index = luaL_checkinteger(L, 1);
color = luaL_checkinteger(L, 2);
const uint8_t old = subpal(index, color);
lua_pushinteger(L, old);
lua_pushinteger(L, subpal(index, color));
return 1;
break;
case 3: