diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-11-07 11:01:20 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-11-07 11:01:20 +0100 |
commit | 68afd10851e01872c5c7774a2c1a09039d6e61d7 (patch) | |
tree | 382043bc62bad9751a3ef7778e799d78b4362bc3 /src/common.hpp | |
parent | 6ab51bfb002af08da74a693f386c4154d2c4108a (diff) |
Improve path finding.
The path finder will avoid paths that would intersect obstacles.
Diffstat (limited to 'src/common.hpp')
-rw-r--r-- | src/common.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common.hpp b/src/common.hpp index b7ce218..6d4c7c2 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -236,6 +236,10 @@ namespace render { class state_t { sf::RenderWindow *window; double now; + + void drender_rect(rectf_t rect, sf::Color color); + void drender_text(rectf_t rect, std::string str); + void drender_entity(world::entity_t *ent); public: state_t(sf::RenderWindow *window_); |