More player-tints. Escape to quit when in main-menu.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user