about summary refs log tree commit diff
path: root/src/Xanthous/Data
AgeCommit message (Collapse)AuthorFilesLines
2019-09-15 Progressively reveal the map to the playerGriffin Smith2-26/+106
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-13 Place the chacracter in the level at startup timeGriffin Smith1-1/+1
Randomly select a position in the largest contiguous region of the generated level in which to place the character at startup time.
2019-09-09 Convert generated levels to wallsGriffin Smith1-1/+12
Add support for converting generated levels to walls, and merge one into the entity map at the beginning of the game. There's nothing here that guarantees the character ends up *inside* the level though (they almost always don't) so that'll have to be slotted into the level generation process.
2019-08-31 Add entities, and allow walking aroundGriffin Smith1-0/+141
Add support for entities via a port of the EntityMap type, and implement command support starting at basic hjkl.