diff options
| author | Maide <34639600+Kelebek1@users.noreply.github.com> | 2023-08-16 19:11:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-16 11:11:19 -0700 |
| commit | fca5307ea908606c40c051d4c366ed8dcf077258 (patch) | |
| tree | e7cbc4524c9510a935c62ab191eeeefa11374687 /include/libu64 | |
| parent | c7a746e71e310a23ba43a7208b9c83d2d1d483ee (diff) | |
m_play (#50)
* m_play
* Some warnings
* lots of function renames from the gcn version
* fix warnings
* format
* a
* a
* PR
* PR2
---------
Co-authored-by: Maide <you@example.com>
Co-authored-by: angie <angheloalf95@gmail.com>
Diffstat (limited to 'include/libu64')
| -rw-r--r-- | include/libu64/gfxprint.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/include/libu64/gfxprint.h b/include/libu64/gfxprint.h index 8391b4b..7db3fef 100644 --- a/include/libu64/gfxprint.h +++ b/include/libu64/gfxprint.h @@ -2,23 +2,28 @@ #define LIBU64_GFX_PRINT_H #include "ultra64.h" +#include "color.h" + +typedef struct gfxprint { + /* 0x00 */ char unk00[0x30]; +} gfxprint; // size = 0x30 // void gfxprint_setup(); -// void gfxprint_color(); +void gfxprint_color(gfxprint* this, u8 r, u8 g, u8 b, u8 a); // void gfxprint_locate(); -// void gfxprint_locate8x8(); +void gfxprint_locate8x8(gfxprint* this, s32 arg1, s32 arg2); // void gfxprint_setoffset(); // void gfxprint_putc1(); // void gfxprint_putc(); // void gfxprint_write(); // void gfxprint_puts(); // void gfxprint_prout(); -// void gfxprint_init(); -// void gfxprint_cleanup(); -// void gfxprint_open(); -// void gfxprint_close(); +void gfxprint_init(gfxprint* this); +void gfxprint_cleanup(gfxprint* this); +void gfxprint_open(gfxprint* this, Gfx* gfx); +Gfx* gfxprint_close(gfxprint* this); // void gfxprint_vprintf(); -// void gfxprint_printf(); +void gfxprint_printf(gfxprint* this, const char* fmt, ...); // extern UNK_TYPE gfxprint_moji_tlut; // extern UNK_TYPE gfxprint_rainbow_tlut; |
