Fog of War now works fairly normally, but I think I'll have to do something so people don't live in the map. Probably something like hearing distance is increased because you're louder with a map out, and you can't see enemies on the map.

This commit is contained in:
Zed A. Shaw 2025-07-21 23:21:24 -04:00
parent 2997dc363b
commit 6f91533950
6 changed files with 19 additions and 11 deletions

View file

@ -101,7 +101,7 @@ TEST_CASE("map image test", "[map-sprite]") {
player_pos.location.x = it.x;
player_pos.location.y = it.y;
System::draw_map(level, map_tiles, entity_map);
System::render_map(level, map_tiles, entity_map, *render, 2, player_display);
System::render_map(map_tiles, entity_map, *render, 2, player_display);
#ifdef TEST_RENDER
// confirm we get two different maps