Add raws, loaded statically from a folder

Add raw types with support for both creatures and items, loaded
statically from a "raws" folder just like in the Rust version.
This commit is contained in:
Griffin Smith 2019-09-02 13:56:25 -04:00
parent 243104c410
commit 4d270712ae
10 changed files with 204 additions and 10 deletions

View file

@ -4,7 +4,7 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
--
-- hash: 5d750bf0bb5c6d278928f6c9606427754a444344fd769f50c02b776dedf0e771
-- hash: 897c9cda436c62269dd43a0fc47226b24a310e52522fa6ebfe18cedc2394f6ea
name: xanthous
version: 0.1.0.0
@ -36,6 +36,8 @@ library
Xanthous.Data.EntityMap
Xanthous.Entities
Xanthous.Entities.Character
Xanthous.Entities.Raws
Xanthous.Entities.RawTypes
Xanthous.Entities.SomeEntity
Xanthous.Game
Xanthous.Game.Draw
@ -65,6 +67,7 @@ library
, data-default
, deepseq
, file-embed
, filepath
, generic-arbitrary
, generic-monoid
, groups
@ -92,6 +95,8 @@ executable xanthous
Xanthous.Data.EntityMap
Xanthous.Entities
Xanthous.Entities.Character
Xanthous.Entities.Raws
Xanthous.Entities.RawTypes
Xanthous.Entities.SomeEntity
Xanthous.Game
Xanthous.Game.Draw
@ -120,6 +125,7 @@ executable xanthous
, data-default
, deepseq
, file-embed
, filepath
, generic-arbitrary
, generic-monoid
, groups
@ -145,6 +151,7 @@ test-suite test
Test.Prelude
Xanthous.Data.EntityMapSpec
Xanthous.DataSpec
Xanthous.Entities.RawsSpec
Xanthous.GameSpec
Xanthous.MessageSpec
Xanthous.OrphansSpec
@ -166,6 +173,7 @@ test-suite test
, data-default
, deepseq
, file-embed
, filepath
, generic-arbitrary
, generic-monoid
, groups