Core Native GBA 0.0.7
create your own game-engine with just lua for nitendo game boy advance console.
|
#include "core_native_gba.h"
Functions | |
void | erase_screen () |
void | draw_color (lua_State *L, union color_u *) |
void | text_font_size (lua_State *L) |
void | draw_queue_push (lua_State *L, uint8_t) |
void | text_queue_push (lua_State *L, uint8_t) |
void | text_queue_clear () |
static int | native_draw_start (lua_State *L) |
static int | native_draw_flush (lua_State *L) |
static int | native_draw_clear (lua_State *L) |
std.draw.clear | |
static int | native_draw_color (lua_State *L) |
std.draw.color | |
static int | native_draw_rect (lua_State *L) |
std.draw.rect | |
static int | native_draw_line (lua_State *L) |
std.draw.line | |
static int | native_draw_font (lua_State *L) |
std.draw.font | |
static int | native_draw_text (lua_State *L) |
std.draw.text | |
void | native_draw_install (lua_State *L) |
Variables | |
union color_u | color_tint = {0xFF} |
union color_u | color_erase = {0x0FF0} |
union color_u | color_current = {0x00FF} |
|
extern |
|
extern |
|
extern |
|
static |
std.draw.clear
[in] | color | int |
|
static |
std.draw.color
[in] | color | int |
|
static |
|
static |
std.draw.font
[in] | font | string |
[in] | size | double |
void native_draw_install | ( | lua_State * | L | ) |
|
static |
std.draw.line
[in] | x1 | double |
[in] | y1 | double |
[in] | x2 | double |
[in] | y2 | double |
|
static |
std.draw.rect
[in] | mode | int 0 fill, 1 frame |
[in] | x | double pos X |
[in] | y | double pos Y |
[in] | w | double width |
[in] | h | double height |
|
static |
|
static |
std.draw.text
[in] | x | double |
[in] | y | double |
[in] | text | string |
|
extern |
|
extern |
|
extern |
union color_u color_current = {0x00FF} |
union color_u color_erase = {0x0FF0} |
union color_u color_tint = {0xFF} |