Mercurial > molko
diff 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 |
line wrap: on
line diff
--- a/libmlk-adventure/adventure/state/mainmenu.h Sat Dec 05 15:57:02 2020 +0100 +++ b/libmlk-adventure/adventure/state/mainmenu.h Sun Dec 06 11:22:03 2020 +0100 @@ -19,23 +19,9 @@ #ifndef MOLKO_ADVENTURE_STATE_MAINMENU_H #define MOLKO_ADVENTURE_STATE_MAINMENU_H -/** - * \file mainmenu.h - * \brief Game main menu. - */ +struct state; -/** - * Create a state about the main game menu. - * - * \pre state != NULL - * \param state the state to initialize - * \post state->data is set internal data - * \post state->handle is set - * \post state->draw is set - * \post state->update is set - * \post state->finish is set - */ -void -mainmenu_state(struct state *state); +struct state * +mainmenu_state_new(void); #endif /* !MOLKO_ADVENTURE_STATE_PANIC_H */