about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-07-14 Add (statically-included) entity rawsGriffin Smith9-5/+306
Add a system for statically-included entity raws (which necessitated making a deserializable existential Color struct) and test it out by initializing the game (for now) with a single on-screen gormlak.
2019-07-14 Allow static_cfg to include entire directoriesGriffin Smith4-40/+96
Via new "toml_dir" and "json_dir" directives in the macro
2019-07-14 Factor out static_cfg from static init of messagesGriffin Smith4-12/+45
Factor out a macro for static references to data parsed from config files at compile-time.
2019-07-14 Add commands for diagonal movementGriffin Smith4-4/+16
Cribbed directly from Nethack This was really, really easy.
2019-07-13 Add placeholder for game ticksGriffin Smith3-6/+61
When the character moves, the game ticks forward equal to the character's speed
2019-07-08 Implement a global map of entitiesGriffin Smith11-36/+448
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-07 add "Previous message" commandGriffin Smith3-5/+31
ctrl+p, like nethack. Cycles through messages, also like nethack. May want to add some sort of indicator of how many messages there have been.
2019-07-07 Add messages, with global lookup mapGriffin Smith8-50/+332
Add support for messages, along with a global lookup map and random choice of messages.
2019-07-06 Make all drawing happen to a viewportGriffin Smith7-59/+260
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-05 an @-sign in a boxGriffin Smith12-0/+833