Safe Haskell | Safe-Infered |
---|
Field Of View scanning with a variety of algorithms. See https://github.com/kosmikus/LambdaHack/wiki/Fov-and-los for discussion.
Documentation
Field Of View scanning mode.
Shadow | restrictive shadow casting |
Permissive | permissive FOV |
Digital Int | digital FOV with the given radius |
Blind | only feeling out adjacent tiles by touch |
:: Ops TileKind | tile content, determines clear tiles |
-> FovMode | scanning mode |
-> Point | location of the spectacor |
-> Level | the map that is scanned |
-> [Point] |
Perform a full scan for a given location. Returns the locations 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.