From 28f28badaa404bebc4a26dd4710d27b76bc30671 Mon Sep 17 00:00:00 2001 From: Ry Date: Sat, 11 Nov 2023 23:01:15 -0800 Subject: [PATCH] Add `DrawFontTileToBackground` to Okameron defs --- fox32rom.def.okm | 1 + fox32rom_okm.asm | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/fox32rom.def.okm b/fox32rom.def.okm index cd33f19..380682e 100644 --- a/fox32rom.def.okm +++ b/fox32rom.def.okm @@ -16,6 +16,7 @@ MODULE Fox32ROM; EXTERN PROCEDURE FillBackground: INT; EXTERN PROCEDURE DrawStrToBackground: INT; + EXTERN PROCEDURE DrawFontTileToBackground: INT; EXTERN PROCEDURE DrawFormatStrToBackground: INT; EXTERN PROCEDURE FillOverlay: INT; diff --git a/fox32rom_okm.asm b/fox32rom_okm.asm index f914a37..ce8350c 100644 --- a/fox32rom_okm.asm +++ b/fox32rom_okm.asm @@ -51,6 +51,13 @@ FillBackground: DrawStrToBackground: jmp draw_str_to_background +; PROCEDURE DrawFontTileToBackground( +; c: CHAR; +; x, y, fgColor, bgColor: INT; +; ); +DrawFontTileToBackground: + jmp draw_font_tile_to_background + ; PROCEDURE DrawFormatStrToBackground( ; str: POINTER TO CHAR; ; x, y, fgColor, bgColor,