diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-13 20:33:57 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-13 20:33:57 +0100 |
commit | ed3a6c7e1771100e81c53cc583828712d029b018 (patch) | |
tree | 79a5306a8c622badf2e5c565c1f8be9ce7c5f083 /src/common.hpp | |
parent | 9be73e14dceb2c4c84ffe7a5a3a635613a27420e (diff) |
Add health bars.
Diffstat (limited to 'src/common.hpp')
-rw-r--r-- | src/common.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.hpp b/src/common.hpp index 4382da6..8a86482 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -287,6 +287,7 @@ namespace render { void render(oriented_sprite_t *sprite, rectf_t bounds, float angle); void render_text(v2f_t x, float height, const wchar_t *wstr, text_align_t align, sf::Color color); + void render_rect(rectf_t rect, sf::Color color); void render_hlrect(rectf_t rect, sf::Color color); void render_arrow(v2f_t x0, v2f_t x1, sf::Color color); |