Mercurial > molko
comparison libmlk-adventure/adventure/state/mainmenu.c @ 282:a15f77eda9a4
adventure: rename functions
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 20 Dec 2020 11:04:41 +0100 |
parents | 87b8c7510717 |
children | 3991779aaba9 |
comparison
equal
deleted
inserted
replaced
281:87b8c7510717 | 282:a15f77eda9a4 |
---|---|
62 } | 62 } |
63 | 63 |
64 static void | 64 static void |
65 resume(void) | 65 resume(void) |
66 { | 66 { |
67 game_switch(continue_state_new(), false); | 67 game_switch(state_continue_new(), false); |
68 } | 68 } |
69 | 69 |
70 static void | 70 static void |
71 quit(void) | 71 quit(void) |
72 { | 72 { |
199 | 199 |
200 free(self); | 200 free(self); |
201 } | 201 } |
202 | 202 |
203 struct state * | 203 struct state * |
204 mainmenu_state_new(void) | 204 state_mainmenu_new(void) |
205 { | 205 { |
206 struct self *self; | 206 struct self *self; |
207 | 207 |
208 self = alloc_new0(sizeof (*self)); | 208 self = alloc_new0(sizeof (*self)); |
209 self->state.data = self; | 209 self->state.data = self; |