match some of fraser/cuyler files.

This commit is contained in:
Prakxo
2022-12-21 00:00:29 +01:00
parent a25019b474
commit 26186c33ee
15 changed files with 183 additions and 3 deletions
+6
View File
@@ -0,0 +1,6 @@
#include "libultra/gfxprint.h"
void gfxprint_locate(struct gfxprint_obj* gfxprint, s32 x, s32 y) {
gfxprint->NewX = (s16) (gfxprint->PrevX + (x * 4));
gfxprint->NewY = (s16) (gfxprint->PrevY + (y * 4));
}
@@ -0,0 +1,7 @@
#include "libultra/gfxprint.h"
void gfxprint_locate8x8(struct gfxprint_obj* arg0, s32 arg1, s32 arg2) {
s32 x = arg1 << 3;
s32 y = arg2 << 3;
gfxprint_locate(arg0, x, y);
}