Commit graph

14 commits

Author SHA1 Message Date
Alex Bethel aa7361df6b Work on restructuring world generator API
We need to be able to spawn entities from the generator function, both
as level props and as enemies; the previous API makes this impossible,
so I'm working on restructuring it. Not too happy with it yet, still
needs more work.
2022-01-15 14:49:15 -06:00
Alex Bethel 6b6a6720ce Rename game.rs -> level.rs 2022-01-10 19:33:45 -06:00
Alex Bethel fee36f158b Tear out dungeon branch infrastructure
It's all unused at the moment, and I'll probably re-build it entirely
differently later.
2022-01-10 19:32:43 -06:00
Alex Bethel 97a78c8bb1 Formatting 2022-01-10 19:31:53 -06:00
Alex Bethel 0ec5fbbe8c Up stairs & down stairs 2022-01-06 16:57:20 -06:00
Alex Bethel eeeeffba53 Movement code 2022-01-06 13:07:53 -06:00
Alex Bethel 42dc9a8625 Begin work on player control 2022-01-02 14:30:43 -06:00
Alex Bethel 54b9f2778c Appease Clippy 2022-01-02 13:17:17 -06:00
Alex Bethel 50024fa8fa Add ECS stuff 2022-01-02 12:56:42 -06:00
Alex Bethel b5ddf09bb9 Use A* rather than Dijkstra
The level generation algorithm now runs somewhere around 100x faster.
2022-01-01 18:19:55 -06:00
Alex Bethel 4eded9446b Room generation
I'm too tired to write good code today, but this sorta works I guess
2021-12-18 21:03:00 -06:00
Alex Bethel 681185cf8f Basic data structures 2021-12-18 12:22:46 -06:00
Alex Bethel 960ca03ed1 Pancurses dependency 2021-12-18 12:06:50 -06:00
Alex Bethel 17e61edfd9 Initial commit 2021-12-18 11:58:33 -06:00