diff --git a/asminc/tgi-kernel.inc b/asminc/tgi-kernel.inc index 15a32e8bf..6eabe9a3b 100644 --- a/asminc/tgi-kernel.inc +++ b/asminc/tgi-kernel.inc @@ -224,6 +224,7 @@ TGI_CLIP_TOP = $08 .global _tgi_setdrawpage .global _tgi_setpalette .global _tgi_setpixel + .global _tgi_settextdir .global _tgi_settextscale .global _tgi_settextstyle .global _tgi_setviewpage diff --git a/include/tgi.h b/include/tgi.h index bd312dc63..bfb5b861b 100644 --- a/include/tgi.h +++ b/include/tgi.h @@ -228,6 +228,11 @@ void __fastcall__ tgi_pieslice (int x, int y, unsigned char rx, unsigned char ry void __fastcall__ tgi_bar (int x1, int y1, int x2, int y2); /* Draw a bar (a filled rectangle) using the current color. */ +void __fastcall__ tgi_settextdir (unsigned char dir); +/* Set the direction for text output. dir is one of the TGI_TEXT_XXX + * constants. + */ + void __fastcall__ tgi_settextscale (unsigned width, unsigned height); /* Set the scaling for text output. The scaling factors for width and height * are 8.8 fixed point values. This means that $100 = 1 $200 = 2 etc.