1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 09:05:19 +02:00

Add time_to_day_night_ratio to the Lua API

This commit is contained in:
Gregor Parzefall
2024-09-13 13:14:31 +02:00
committed by sfan5
parent f9c0354af1
commit 7bab390413
3 changed files with 22 additions and 0 deletions

View File

@@ -125,6 +125,9 @@ private:
// colorspec_to_table(colorspec)
static int l_colorspec_to_table(lua_State *L);
// time_to_day_night_ratio(time_of_day)
static int l_time_to_day_night_ratio(lua_State *L);
// encode_png(w, h, data, level)
static int l_encode_png(lua_State *L);