diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-04-26 15:43:37 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2018-04-26 15:43:37 +0200 |
commit | d5d545887569f9b11fa6aa16eee524afec3da19e (patch) | |
tree | 77e211e01c9b711cf68dc9c808c52795c27a3d00 /src/common.hpp | |
parent | 193f7a17d2e4ab99ed0cd909c696c3f0b9833041 (diff) |
Fix ambience being calculated incorrectly (regression from 4cfe1361f).
Diffstat (limited to 'src/common.hpp')
-rw-r--r-- | src/common.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common.hpp b/src/common.hpp index d3ec041..7e449a2 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -317,6 +317,7 @@ namespace render { void register_tile(uint8_t type, const char *top, const char *side, float height, layer_t layer); bool rendering_order(const world::entity_t *x, const world::entity_t *y); bool visibility_order(const world::entity_t *x, const world::entity_t *y); + rectf_t window_bounds(sf::RenderWindow *window); class state_t { sf::RenderWindow *window; @@ -349,8 +350,6 @@ namespace render { void render_ring_sect(v2f_t x, float r0, float r1, float t0, float t1, sf::Color color); void debug_path(v2f_t x, std::list<v2f_t> *path); - - rectf_t window_in_world_space(void); }; } |