libtonc
|
Text writers for all modes and objects. More...
Modules | |
Tilemap text | |
Bitmap text | |
Object text | |
Functions | |
void | txt_init_std () |
void | txt_bup_1toX (void *dstv, const void *srcv, u32 len, int bpp, u32 base) |
Text writers for all modes and objects.
There are three types of text writers here:
se_
routines) bm_
and mx_
routines) obj_
routines) Each of these has an initializer, a char writer, and string writer and a string clearer. The general interface for all of these is foo(x, y, string/char, special)
, Where x and y are the positions in pixels, and special depends on the mode-type: it can be a color, base screenentry or whatever.
The clearing routines also use a string parameter, which is used to indicate the exact area to clear. You're free to clear the whole buffer if you like.