ANSI code renderer starts working but I have to make it utf8/wchar_t friendly.
This commit is contained in:
parent
6ca4614fcb
commit
ae484bf425
9 changed files with 136 additions and 139 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue