Lots of dumb little edits to sort out what I'm aiming at. I'll next clean out most of this in a refactor.

This commit is contained in:
Zed A. Shaw 2025-04-06 15:32:19 -04:00
parent 1f90367f51
commit c7c48658bd
13 changed files with 60 additions and 29 deletions

View file

@ -31,8 +31,8 @@ namespace gui {
$map_grid.init(cell, $font);
}
void MiniMapUI::render(sf::RenderWindow &window) {
std::wstring map_out = System::draw_map($level, 5, 3);
void MiniMapUI::render(sf::RenderWindow &window, Point aim) {
std::wstring map_out = System::draw_map($level, 5, 3, aim);
$map_grid.update(map_out);
window.draw(*$map_grid.text);
}