Mercurial > molko
comparison libmlk-adventure/adventure/state/mainmenu.h @ 259:16be1ad3ddba
adventure: start working on maps and teleport
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 06 Dec 2020 11:22:03 +0100 |
parents | 71b3b7036de7 |
children | a15f77eda9a4 |
comparison
equal
deleted
inserted
replaced
258:f978fa0137ce | 259:16be1ad3ddba |
---|---|
17 */ | 17 */ |
18 | 18 |
19 #ifndef MOLKO_ADVENTURE_STATE_MAINMENU_H | 19 #ifndef MOLKO_ADVENTURE_STATE_MAINMENU_H |
20 #define MOLKO_ADVENTURE_STATE_MAINMENU_H | 20 #define MOLKO_ADVENTURE_STATE_MAINMENU_H |
21 | 21 |
22 /** | 22 struct state; |
23 * \file mainmenu.h | |
24 * \brief Game main menu. | |
25 */ | |
26 | 23 |
27 /** | 24 struct state * |
28 * Create a state about the main game menu. | 25 mainmenu_state_new(void); |
29 * | |
30 * \pre state != NULL | |
31 * \param state the state to initialize | |
32 * \post state->data is set internal data | |
33 * \post state->handle is set | |
34 * \post state->draw is set | |
35 * \post state->update is set | |
36 * \post state->finish is set | |
37 */ | |
38 void | |
39 mainmenu_state(struct state *state); | |
40 | 26 |
41 #endif /* !MOLKO_ADVENTURE_STATE_PANIC_H */ | 27 #endif /* !MOLKO_ADVENTURE_STATE_PANIC_H */ |