Mercurial > molko
comparison src/libmlk-rpg/rpg/battle.h @ 385:3f13dc6c0e37
rpg: separate battle and the bar, closes #2522
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 15 Feb 2022 14:45:11 +0100 |
parents | 460c78706989 |
children | 14ce7c4871e3 |
comparison
equal
deleted
inserted
replaced
384:c458441ff472 | 385:3f13dc6c0e37 |
---|---|
26 #include <core/drawable-stack.h> | 26 #include <core/drawable-stack.h> |
27 | 27 |
28 #include <ui/frame.h> | 28 #include <ui/frame.h> |
29 #include <ui/gridmenu.h> | 29 #include <ui/gridmenu.h> |
30 | 30 |
31 #include "battle-bar.h" | |
32 #include "battle-entity.h" | 31 #include "battle-entity.h" |
33 #include "battle-state.h" | 32 #include "battle-state.h" |
34 #include "selection.h" | 33 #include "selection.h" |
35 #include "spell.h" | 34 #include "spell.h" |
36 | 35 |
37 union event; | 36 union event; |
38 | 37 |
38 struct battle_bar; | |
39 struct character; | 39 struct character; |
40 struct inventory; | 40 struct inventory; |
41 struct item; | 41 struct item; |
42 struct music; | 42 struct music; |
43 struct selection; | 43 struct selection; |
74 struct music *music[3]; | 74 struct music *music[3]; |
75 struct theme *theme; | 75 struct theme *theme; |
76 struct drawable_stack effects; | 76 struct drawable_stack effects; |
77 struct action_stack actions[2]; | 77 struct action_stack actions[2]; |
78 struct inventory *inventory; | 78 struct inventory *inventory; |
79 struct battle_bar bar; | 79 struct battle_bar *bar; |
80 }; | 80 }; |
81 | 81 |
82 CORE_BEGIN_DECLS | 82 CORE_BEGIN_DECLS |
83 | 83 |
84 void | 84 void |