You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
actually made stuff render on console
This commit is contained in:
2
config.h
2
config.h
@@ -6,7 +6,7 @@
|
||||
/**
|
||||
* SET YOUR FONT NAME HERE
|
||||
*/
|
||||
#define FONTNAME impact
|
||||
#define FONTNAME delfino
|
||||
|
||||
|
||||
/***********
|
||||
|
||||
12
s2d_parse.c
12
s2d_parse.c
@@ -27,10 +27,11 @@ static int s2d_snprint(int x, int y, int align, const char *str, uObjMtx *buf, i
|
||||
|
||||
if (*p == '\0') return;
|
||||
|
||||
if (IS_RUNNING_ON_EMULATOR)
|
||||
if (IS_RUNNING_ON_EMULATOR) {
|
||||
s2d_rdp_init();
|
||||
else
|
||||
} else {
|
||||
f3d_rdp_init();
|
||||
}
|
||||
|
||||
// resets parameters
|
||||
s2d_red = s2d_green = s2d_blue = 255;
|
||||
@@ -171,7 +172,14 @@ static int s2d_snprint(int x, int y, int align, const char *str, uObjMtx *buf, i
|
||||
} else if (mode == MODE_DRAW_NORMALTEXT) {
|
||||
draw_s2d_glyph(current_char, x, y, (buf++));
|
||||
}
|
||||
} else {
|
||||
if (drop_shadow && mode == MODE_DRAW_DROPSHADOW) {
|
||||
draw_f3d_dropshadow(current_char, x + drop_x, y + drop_y, (buf++));
|
||||
} else if (mode == MODE_DRAW_NORMALTEXT) {
|
||||
draw_f3d_glyph(current_char, x, y, (buf++));
|
||||
}
|
||||
}
|
||||
|
||||
(x += (tbl[(int) current_char] * (BASE_SCALE * myScale)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user