More player-tints. Escape to quit when in main-menu.

This commit is contained in:
2025-12-16 12:59:59 +01:00
parent 76e5b3b282
commit fb885c0fc3
3 changed files with 32 additions and 3 deletions

View File

@@ -14,6 +14,8 @@ static void state_enter(Presentation_State *state) {
(void)ctx;
ctx->mode = Main_Menu_Mode_Home;
SetExitKey(KEY_ESCAPE);
}
static void state_tick(Presentation_State *state) {
@@ -163,6 +165,8 @@ static void state_render(Presentation_State *state) {
static void state_exit(Presentation_State *state) {
(void)state;
printf("Exited main menu\n");
SetExitKey(KEY_NULL);
}
Presentation_State presentation_state_main_menu;