comparison src/game.h @ 45:e10fd1b6323f

core: implement splashscreen, closes #2458 @1h
author David Demelier <markand@malikania.fr>
date Wed, 15 Jan 2020 22:31:17 +0100
parents c97fe725fdeb
children 9f6267843815
comparison
equal deleted inserted replaced
44:c97fe725fdeb 45:e10fd1b6323f
41 * Global game object. 41 * Global game object.
42 */ 42 */
43 extern struct game game; 43 extern struct game game;
44 44
45 /** 45 /**
46 * Request to change state.
47 *
48 * This function will only update state after the next \a game_update call.
49 *
50 * \pre state != NULL
51 * \param state the new state
52 */
53 void
54 game_switch(struct state *state);
55
56 /**
46 * Handle input event. 57 * Handle input event.
47 * 58 *
48 * \param event the event 59 * \param event the event
49 */ 60 */
50 void 61 void