Ripped out the string based map and created a Matrix map drawing function.
This commit is contained in:
parent
d9219a8c64
commit
dd541ae59d
4 changed files with 11 additions and 28 deletions
|
@ -32,8 +32,8 @@ namespace gui {
|
|||
}
|
||||
|
||||
void MiniMapUI::render(sf::RenderWindow &window, int compass_dir) {
|
||||
std::wstring map_out = System::draw_map($level, 5, 3, compass_dir);
|
||||
$map_grid.update(map_out);
|
||||
(void)compass_dir;
|
||||
$map_grid.update(L"I'M BROKEN");
|
||||
window.draw(*$map_grid.text);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue