about summary refs log tree commit diff
path: root/src/Xanthous/Entities/Creature.hs
AgeCommit message (Collapse)AuthorFilesLines
2019-09-20 Add doors and an open commandGriffin Smith1-0/+4
Add a Door entity and an Open command, which necessitated supporting the direction prompt. Currently nothing actually puts doors on the map, which puts a slight damper on actually testing this out.
2019-09-19 Add items and inventoryGriffin Smith1-10/+15
Add a new "Item" entity, which pulls from the previously-existent ItemType raw, and add a "PickUp" command which takes the (currently *only*) item off the ground and puts it into the inventory.
2019-09-15 Progressively reveal the map to the playerGriffin Smith1-1/+4
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.
2019-09-02 Put a test gormlak on the screenGriffin Smith1-0/+32
Implement a concrete "Creature" entity, and place one on the screen at the game startup for testing. This revealed a bug with drawing when getting the maximum entity position, but that appears to be fixed now (yay)