Core Native GBA 0.0.7
create your own game-engine with just lua for nitendo game boy advance console.
Loading...
Searching...
No Matches
draw_text.c File Reference
#include "core_native_gba.h"
#include "font/gly_type_render.h"
Include dependency graph for draw_text.c:

Functions

void native_draw_line_func (uint8_t x1, uint8_t y1, uint8_t x2, uint8_t y2)
 
void text_font_size (lua_State *L)
 
void text_queue_push (lua_State *L, uint8_t func)
 
void text_queue_clear ()
 
void native_draw_text_flush ()
 

Variables

static uint8_t font_size = 5
 
static uint8_t text_page1_index = 0
 
static uint8_t text_page2_index = 0
 
static const char * texts_page1 [20]
 
static const char * texts_page2 [20]
 

Function Documentation

◆ native_draw_line_func()

void native_draw_line_func ( uint8_t x1,
uint8_t y1,
uint8_t x2,
uint8_t y2 )

◆ native_draw_text_flush()

void native_draw_text_flush ( )
Here is the call graph for this function:

◆ text_font_size()

void text_font_size ( lua_State * L)

◆ text_queue_clear()

void text_queue_clear ( )

◆ text_queue_push()

void text_queue_push ( lua_State * L,
uint8_t func )

Variable Documentation

◆ font_size

uint8_t font_size = 5
static

◆ text_page1_index

uint8_t text_page1_index = 0
static

◆ text_page2_index

uint8_t text_page2_index = 0
static

◆ texts_page1

const char* texts_page1[20]
static

◆ texts_page2

const char* texts_page2[20]
static