portal-casting field-of-view algorithm
WarpField is a grid-based field-of-view algorithm for roguelike games. It computes which cells are visible from a particular cell, using a technique called shadow casting. WarpField supports portals, linking one map to another, which allows: