Mercurial > molko
diff libmlk-adventure/adventure/state/splashscreen.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/splashscreen.h Sat Dec 05 15:57:02 2020 +0100 +++ b/libmlk-adventure/adventure/state/splashscreen.h Sun Dec 06 11:22:03 2020 +0100 @@ -19,24 +19,9 @@ #ifndef MOLKO_ADVENTURE_STATE_SPLASHSCREEN_H #define MOLKO_ADVENTURE_STATE_SPLASHSCREEN_H -/** - * \file splashscreen.h - * \brief Splash screen state. - */ +struct state; -/** - * Create a state for showing a splashcreen. - * - * \pre state != NULL - * \pre next != NULL - * \param state the state to initialize - * \param next the next state once it's finished - * \post state->data is set internal data - * \post state->draw is set - * \post state->update is set - * \post state->finish is set - */ -void -splashscreen_state(struct state *state, struct state *next); +struct state * +splashscreen_state_new(void); #endif /* !MOLKO_ADVENTURE_STATE_SPLASHSCREEN_H */