OpenSNES
Modern Open-Source SNES Development SDK
Loading...
Searching...
No Matches
ui.h File Reference

Text helpers shared by the screens. More...

#include <snes.h>

Go to the source code of this file.

Functions

void uiPrintBest (u8 x, u8 y)
 Print the saved best time at a cell, or "--" when there is none.
void uiPrintTime (u8 x, u8 y, u16 frames)
 Print a time as seconds and tenths ("12.3") at a text cell; blanks first.

Detailed Description

Text helpers shared by the screens.

Function Documentation

◆ uiPrintBest()

void uiPrintBest ( u8 x,
u8 y )

Print the saved best time at a cell, or "--" when there is none.

◆ uiPrintTime()

void uiPrintTime ( u8 x,
u8 y,
u16 frames )

Print a time as seconds and tenths ("12.3") at a text cell; blanks first.