diff options
author | Griffin Smith <root@gws.fyi> | 2019-09-15T17·00-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-09-15T21·30-0400 |
commit | 58fce2ec1976b957c7e24a282964c62f7ddf7b02 (patch) | |
tree | d7746cd93bcdda4faac465574ae66ea6b481d106 /xanthous.cabal | |
parent | 6678ac986c0ccdc2a809da4fc99de7bcc0eb21f4 (diff) |
Progressively reveal the map to the player
As the character walks around the map, progressively reveal the entities on the map to them, using an algorithm based on well known circle-rasterizing and line-rasterizing algorithms to calculate lines of sight that are potentially obscured by walls.
Diffstat (limited to 'xanthous.cabal')
-rw-r--r-- | xanthous.cabal | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xanthous.cabal b/xanthous.cabal index a8cd8d213d47..b625105b1b03 100644 --- a/xanthous.cabal +++ b/xanthous.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: a79caccff8895730c394c19244f068830759636d17f55f3b6d1d8a9ebe43ecdd +-- hash: 86b7d3047b95fc65f4c6489a21e8c89883981c8c5bd552b5ea83aaf70de8a7cf name: xanthous version: 0.1.0.0 @@ -34,6 +34,7 @@ library Xanthous.Command Xanthous.Data Xanthous.Data.EntityMap + Xanthous.Data.EntityMap.Graphics Xanthous.Entities Xanthous.Entities.Arbitrary Xanthous.Entities.Character @@ -55,6 +56,7 @@ library Xanthous.Random Xanthous.Resource Xanthous.Util + Xanthous.Util.Graphics other-modules: Paths_xanthous hs-source-dirs: @@ -102,6 +104,7 @@ executable xanthous Xanthous.Command Xanthous.Data Xanthous.Data.EntityMap + Xanthous.Data.EntityMap.Graphics Xanthous.Entities Xanthous.Entities.Arbitrary Xanthous.Entities.Character @@ -123,6 +126,7 @@ executable xanthous Xanthous.Random Xanthous.Resource Xanthous.Util + Xanthous.Util.Graphics Paths_xanthous hs-source-dirs: src @@ -174,6 +178,7 @@ test-suite test Xanthous.Generators.UtilSpec Xanthous.MessageSpec Xanthous.OrphansSpec + Xanthous.Util.GraphicsSpec Paths_xanthous hs-source-dirs: test |