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