Fixed the map so that it shows directional arrows instead of a compass.
This commit is contained in:
parent
c7c48658bd
commit
e6a8a8b338
11 changed files with 35 additions and 27 deletions
|
@ -31,8 +31,8 @@ namespace gui {
|
|||
$map_grid.init(cell, $font);
|
||||
}
|
||||
|
||||
void MiniMapUI::render(sf::RenderWindow &window, Point aim) {
|
||||
std::wstring map_out = System::draw_map($level, 5, 3, aim);
|
||||
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);
|
||||
window.draw(*$map_grid.text);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue