Commit graph

5 commits

Author SHA1 Message Date
Griffin Smith
405dbffe37 Add commands for diagonal movement
Cribbed directly from Nethack

This was really, really easy.
2019-07-14 11:00:44 -04:00
Griffin Smith
bf03ebc549 Add placeholder for game ticks
When the character moves, the game ticks forward equal to the
character's speed
2019-07-13 09:07:39 -04:00
Griffin Smith
5af2429ecb Implement a global map of entities
Implement a global map of entities, which allows referencing by either
position or ID and updating the positions of existent entities, and put
the character in there.
2019-07-08 20:58:51 -04:00
Griffin Smith
78a52142d1 Make all drawing happen to a viewport
We now have an inner and outer viewport, and entity positions are
relative to the inner one while drawing happens to the outer one.
2019-07-06 15:32:38 -04:00
Griffin Smith
de081d7b1d an @-sign in a box 2019-07-05 22:45:57 -04:00