LuaBox
Loading...
Searching...
No Matches
DisplayLineH.h
Go to the documentation of this file.
1#pragma once
2
3#include "lua_include.h"
4#include "global.h"
5
16
17int DisplayLineH(lua_State* L_)
18{
19 int x = luaL_checkinteger(L_, 1);
20 int y = luaL_checkinteger(L_, 2);
21 int w = luaL_checkinteger(L_, 3);
22 int c = luaL_checkinteger(L_, 4);
23
24 sprite.drawFastHLine(x, y, w, c);
25
26 return 0;
27}
int DisplayLineH(lua_State *L_)
Draw a horizontal line on the sprite buffer.
Definition DisplayLineH.h:17