Fog of War works but it's in the wrong place and needs to be based on light.

This commit is contained in:
Zed A. Shaw 2025-07-20 01:34:39 -04:00
parent 2802a44ba4
commit d264760405
5 changed files with 33 additions and 14 deletions

View file

@ -39,6 +39,6 @@ namespace System {
void inventory_swap(GameLevel &level, Entity container_id, const std::string& a_name, const std::string &b_name);
bool inventory_occupied(GameLevel& level, Entity container_id, const std::string& name);
void draw_map(GameLevel& level, Matrix& grid, EntityGrid& entity_map);
void draw_map(GameLevel& level, Matrix& grid, Matrix& fow, EntityGrid& entity_map);
void render_map(Matrix& tiles, EntityGrid& entity_map, sf::RenderTexture& render, int compass_dir, wchar_t player_display);
}