Add rudimentary menu

This commit is contained in:
Ryan Baldwin 2022-07-03 00:58:40 -07:00
parent 68481edc45
commit 6675b760af
5 changed files with 106 additions and 1641 deletions

Binary file not shown.

Binary file not shown.

View file

@ -56,7 +56,7 @@ keyname_t keynames[] =
{ {
#ifdef _3DS #ifdef _3DS
{"TAB", K_TAB}, {"TAB", K_TAB},
{"START", K_ENTER}, {"START", K_ESCAPE},
{"SELECT", K_SELECT}, {"SELECT", K_SELECT},
{"SPACE", K_SPACE}, {"SPACE", K_SPACE},
{"BACKSPACE", K_BACKSPACE}, {"BACKSPACE", K_BACKSPACE},

File diff suppressed because it is too large Load diff

View file

@ -281,6 +281,7 @@ void Sys_LowFPPrecision (void)
//============================================================================= //=============================================================================
bool game_running;
int main (int argc, char **argv) int main (int argc, char **argv)
{ {
static float time, oldtime; static float time, oldtime;
@ -308,7 +309,8 @@ int main (int argc, char **argv)
oldtime = Sys_FloatTime(); oldtime = Sys_FloatTime();
while (aptMainLoop()) game_running = true;
while (aptMainLoop() && game_running)
{ {
time = Sys_FloatTime(); time = Sys_FloatTime();
Host_Frame (time - oldtime); Host_Frame (time - oldtime);