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:
parent
2997dc363b
commit
6f91533950
6 changed files with 19 additions and 11 deletions
|
@ -40,5 +40,5 @@ namespace System {
|
|||
bool inventory_occupied(GameLevel& level, Entity container_id, const std::string& name);
|
||||
|
||||
void draw_map(GameLevel& level, Matrix& grid, EntityGrid& entity_map);
|
||||
void render_map(GameLevel& level, Matrix& tiles, EntityGrid& entity_map, sf::RenderTexture& render, int compass_dir, wchar_t player_display);
|
||||
void render_map(Matrix& tiles, EntityGrid& entity_map, sf::RenderTexture& render, int compass_dir, wchar_t player_display);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue