Defines | |
#define | hud_print(x, y,) {sprintf(_hud_string, __VA_ARGS__); _hud_print(x, y, _hud_string);} |
Functions | |
void | set_hud_y_offset (u8 y_offset) |
void | hud_init (u8 obj, u8 pal, u8 y_offset, u16 tile_offset) |
void | hud_show (bool show) |
void | hud_clear_line (u8 y) |
void | hud_clear_all () |
The HUD provides a 30x8 character interface for printing text on the GBA screen. This is similar to using the dtext() functions, but the HUD renders text with sprites instead of using a background layer. These functions are generally meant for debugging and probably not very suitable for use as text in games.
|
|
|
|
|
Call this function before using any of the other HUD functions. |
|
|
|
|
|
Clears the entire HUD |