Mercurial > molko
comparison libmlk-rpg/mlk/rpg/battle-state-selection.h @ 450:b26dd49f69ff
core: event -> mlk_event (and friends)
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 18 Feb 2023 13:37:11 +0100 |
parents | 773a082f0b91 |
children |
comparison
equal
deleted
inserted
replaced
449:f2f0e73ea9da | 450:b26dd49f69ff |
---|---|
21 | 21 |
22 #include <mlk/rpg/selection.h> | 22 #include <mlk/rpg/selection.h> |
23 | 23 |
24 struct battle; | 24 struct battle; |
25 | 25 |
26 union event; | 26 union mlk_event; |
27 | 27 |
28 struct battle_state_selection { | 28 struct battle_state_selection { |
29 struct selection select; | 29 struct selection select; |
30 }; | 30 }; |
31 | 31 |
32 void | 32 void |
33 battle_state_selection_init(struct battle_state_selection *, const struct selection *); | 33 battle_state_selection_init(struct battle_state_selection *, const struct selection *); |
34 | 34 |
35 void | 35 void |
36 battle_state_selection_handle(struct battle_state_selection *, struct battle *, const union event *); | 36 battle_state_selection_handle(struct battle_state_selection *, struct battle *, const union mlk_event *); |
37 | 37 |
38 void | 38 void |
39 battle_state_selection_draw(const struct battle_state_selection *, const struct battle *); | 39 battle_state_selection_draw(const struct battle_state_selection *, const struct battle *); |
40 | 40 |
41 void | 41 void |