1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Add colorspec_to_table to the Lua API

This commit is contained in:
Gregor Parzefall
2024-09-13 13:14:30 +02:00
committed by sfan5
parent c54f5a2137
commit f9c0354af1
5 changed files with 42 additions and 0 deletions

View File

@@ -122,6 +122,9 @@ private:
// colorspec_to_bytes(colorspec)
static int l_colorspec_to_bytes(lua_State *L);
// colorspec_to_table(colorspec)
static int l_colorspec_to_table(lua_State *L);
// encode_png(w, h, data, level)
static int l_encode_png(lua_State *L);