diff libmlk-adventure/adventure/state/continue.c @ 282:a15f77eda9a4

adventure: rename functions
author David Demelier <markand@malikania.fr>
date Sun, 20 Dec 2020 11:04:41 +0100
parents 87b8c7510717
children 196264679079
line wrap: on
line diff
--- a/libmlk-adventure/adventure/state/continue.c	Sun Dec 20 10:55:53 2020 +0100
+++ b/libmlk-adventure/adventure/state/continue.c	Sun Dec 20 11:04:41 2020 +0100
@@ -52,7 +52,7 @@
 		break;
 	case EVENT_KEYDOWN:
 		if (ev->key.key == KEY_ESCAPE)
-			game_switch(mainmenu_state_new(), false);
+			game_switch(state_mainmenu_new(), false);
 		else
 			selected = dialog_save_handle(&self->dialog, ev);
 		break;
@@ -93,7 +93,7 @@
 }
 
 struct state *
-continue_state_new(void)
+state_continue_new(void)
 {
 	struct self *self;