Mercurial > molko
comparison src/adventure/splashscreen_state.h @ 80:05ffbcdee585
adventure: create main menu, closes #2482 @4h
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 15 Feb 2020 12:38:25 +0100 |
parents | ec0872aaee07 |
children | ed72843a7194 |
comparison
equal
deleted
inserted
replaced
79:8f95462ac5f8 | 80:05ffbcdee585 |
---|---|
22 /** | 22 /** |
23 * \file splashscreen_state.h | 23 * \file splashscreen_state.h |
24 * \brief Splash screen state. | 24 * \brief Splash screen state. |
25 */ | 25 */ |
26 | 26 |
27 struct texture; | |
28 | |
29 /** | |
30 * \brief Data for splashscreen. | |
31 */ | |
32 extern struct splashscreen_state_data { | |
33 struct texture *text; /*!< (RW) Texture for the text. */ | |
34 int x; /*!< (RW) Position in x. */ | |
35 int y; /*!< (RW) Position in y. */ | |
36 unsigned int elapsed; /*!< (RW) Time elapsed. */ | |
37 } splashscreen_state_data; /*!< (RW) Global state data. */ | |
38 | |
27 /** | 39 /** |
28 * \brief Splash screen state. | 40 * \brief Splash screen state. |
29 */ | 41 */ |
30 extern struct state splashscreen_state; | 42 extern struct state splashscreen_state; |
31 | 43 |