mirror of
https://github.com/n64decomp/sm64.git
synced 2024-10-19 13:07:37 -04:00
Position coin counter from right edge of screen
This commit is contained in:
parent
8b872a71e8
commit
80953505f1
|
@ -275,9 +275,9 @@ void render_hud_mario_lives(void) {
|
|||
* Renders the amount of coins collected.
|
||||
*/
|
||||
void render_hud_coins(void) {
|
||||
print_text(168, HUD_TOP_Y, "+"); // 'Coin' glyph
|
||||
print_text(184, HUD_TOP_Y, "*"); // 'X' glyph
|
||||
print_text_fmt_int(198, HUD_TOP_Y, "%d", gHudDisplay.coins);
|
||||
print_text(GFX_DIMENSIONS_RECT_FROM_RIGHT_EDGE(152), HUD_TOP_Y, "+"); // 'Coin' glyph
|
||||
print_text(GFX_DIMENSIONS_RECT_FROM_RIGHT_EDGE(136), HUD_TOP_Y, "*"); // 'X' glyph
|
||||
print_text_fmt_int(GFX_DIMENSIONS_RECT_FROM_RIGHT_EDGE(122), HUD_TOP_Y, "%d", gHudDisplay.coins);
|
||||
}
|
||||
|
||||
#ifdef VERSION_JP
|
||||
|
|
Loading…
Reference in a new issue