VERSIÓ 1.4.8:

- [NEW] draw.surfrot
This commit is contained in:
2026-03-21 10:15:23 +01:00
parent d573c159fa
commit 74cb8cb0f8
6 changed files with 156 additions and 6 deletions

View File

@@ -577,7 +577,11 @@ extern "C" {
int dx = luaL_checknumber(L, 5);
int dy = luaL_checknumber(L, 6);
float a = luaL_checknumber(L, 7);
blit_r(sx, sy, sw, sh, dx, dy, a);
int dw = luaL_optnumber(L, 8, 0);
int dh = luaL_optnumber(L, 9, 0);
bool flip_x = lua_toboolean(L, 10);
bool flip_y = lua_toboolean(L, 11);
blit_r(sx, sy, sw, sh, dx, dy, dw, dh, flip_x, flip_y, a);
return 0;
}