Mercurial > molko
diff examples/example-action/example-action.c @ 522:f45a023f6690
core: doxygenize game
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 04 Mar 2023 16:47:54 +0100 |
parents | a11cd7ea3a37 |
children | 88e9bd420a28 |
line wrap: on
line diff
--- a/examples/example-action/example-action.c Sat Mar 04 15:39:21 2023 +0100 +++ b/examples/example-action/example-action.c Sat Mar 04 16:47:54 2023 +0100 @@ -43,8 +43,6 @@ #include "chest.h" #include "dialog.h" -static struct mlk_state *states[8]; - /* * Those are two chests shown on the script that the user can click. They will * fill up the script scene. @@ -346,7 +344,7 @@ .draw = draw }; - mlk_game_init(states, MLK_UTIL_SIZE(states)); + mlk_game_init(); mlk_game_push(&state); mlk_game_loop(); }