@ -151,7 +151,7 @@ inline sf::FloatRect draw_chunk(sf::RenderWindow& window,
sf::FloatRect bounds({x, y}, {text_bounds.size.x * out.size(), text_bounds.size.y});
if(default_bg != bgcolor) {
sf::RectangleShape backing({bounds.size.x, bounds.size.y});
sf::RectangleShape backing(bounds.size);
backing.setFillColor(bgcolor);
backing.setPosition({bounds.position.x, bounds.position.y + bg_box_offset});
window.draw(backing);
@ -1,5 +1,6 @@
TODO:
* Bring back shaders and pause screens.
* Items are doubled in inventory.
* What's the result of out of memory error with shared/unique ptr?
* Config is all over the place. Can I get rid of constant.hpp? Or most of it? Also renderer.cpp:RenderConfig is weird too. Too much indirection all around.