ANSI code renderer starts working but I have to make it utf8/wchar_t friendly.

This commit is contained in:
Zed A. Shaw 2024-11-01 18:07:47 -04:00
parent 6ca4614fcb
commit ae484bf425
9 changed files with 136 additions and 139 deletions

View file

@ -49,6 +49,7 @@ struct SFMLRender {
sf::Color color(Value val);
sf::Sprite &get_text_sprite(wchar_t tile);
bool resize_map(int new_size);
void draw_main_ui();
void draw_screen(bool clear=true, float map_off_x=0.0f, float map_off_y=0.0f);
bool poll_event(sf::Event &event) {