Field Of View scanning with a variety of algorithms. See https://github.com/kosmikus/LambdaHack/wiki/Fov-and-los for discussion.
Calculate the perception of the whole dungeon.
Calculate perception of the level.
|:: Ops TileKind|
tile content, determines clear tiles
position of the spectator
the map that is scanned
Perform a full scan for a given position. Returns the positions that are currently in the field of view. The Field of View algorithm to use, passed in the second argument, is set in the config file. The actor's own position is considred reachable by him.