From 68afd10851e01872c5c7774a2c1a09039d6e61d7 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 7 Nov 2017 11:01:20 +0100 Subject: Improve path finding. The path finder will avoid paths that would intersect obstacles. --- src/common.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common.hpp') 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_); -- cgit