Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
retro8
Commits
4e0d4f66
Commit
4e0d4f66
authored
Jan 08, 2020
by
Jack
Browse files
added stub fillp function
parent
c309d8c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/vm/lua_bridge.cpp
View file @
4e0d4f66
...
@@ -71,6 +71,12 @@ int line(lua_State* L)
...
@@ -71,6 +71,12 @@ int line(lua_State* L)
return
0
;
return
0
;
}
}
int
fillp
(
lua_State
*
L
)
{
//TODO: implement
return
0
;
}
int
rect
(
lua_State
*
L
)
int
rect
(
lua_State
*
L
)
{
{
int
x0
=
lua_tonumber
(
L
,
1
);
int
x0
=
lua_tonumber
(
L
,
1
);
...
@@ -968,6 +974,7 @@ void lua::registerFunctions(lua_State* L)
...
@@ -968,6 +974,7 @@ void lua::registerFunctions(lua_State* L)
lua_register
(
L
,
"palt"
,
palt
);
lua_register
(
L
,
"palt"
,
palt
);
lua_register
(
L
,
"color"
,
color
);
lua_register
(
L
,
"color"
,
color
);
lua_register
(
L
,
"line"
,
line
);
lua_register
(
L
,
"line"
,
line
);
lua_register
(
L
,
"fillp"
,
fillp
);
lua_register
(
L
,
"rect"
,
rect
);
lua_register
(
L
,
"rect"
,
rect
);
lua_register
(
L
,
"rectfill"
,
rectfill
);
lua_register
(
L
,
"rectfill"
,
rectfill
);
lua_register
(
L
,
"circ"
,
circ
);
lua_register
(
L
,
"circ"
,
circ
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment