68 Commits (main)

Author SHA1 Message Date
Zed A. Shaw da8011cb14 Can just use the enum as the type for the map but it'd be nicer if I could use a class enum without tons of template BS. 2 months ago
Zed A. Shaw 3f87d19911 Simple event system for entities in the world. 2 months ago
Zed A. Shaw ea6cf1362b Create a test for the ECS before we add more functionality. 2 months ago
Zed A. Shaw 4ed06b10b1 Need the hit.wav to be mono, but now we have a sound we can move around, just not sure how to place it based on the visuals. 2 months ago
Zed A. Shaw 5a123ae74c Refactor some code to have better naming and move Point and related point things into their own .hpp. 2 months ago
Zed A. Shaw c19cd707d1 Better unit test for the collision system. 2 months ago
Zed A. Shaw ec1ed23c52 Now using a simple collision map to track entities and then determine if they're near the player for attacking. 2 months ago
Zed A. Shaw 743f906bc7 Implemented a simple collision hash table. 2 months ago
Zed A. Shaw 5cf66aad02 Conver to using \ for member variables in classes. In structs just use the name. 3 months ago
Zed A. Shaw feda66defd Mostly working prototype that uses FTXUI to render to SFML and then plays a sound when you hit a wall. 3 months ago
Zed A. Shaw 62195e6eea A dirty first cut at a single random horiz/vert split for the BSP algorithm. 3 months ago
Zed A. Shaw 6cb3366912 I can make a map with one room 'randomly' generated and calculate paths. 3 months ago
Zed A. Shaw 8b67a25732 Cleaned up the map for more work. 3 months ago
Zed A. Shaw 4f863c2635 Dijkstra thing is working on a sample map. 3 months ago
Zed A. Shaw c6d298023a Need the test file.json 3 months ago
Zed A. Shaw ebb5360c5c Fixed the bug that made walls not receive the algorithm. 3 months ago
Zed A. Shaw 4d748d1f48 Initial Dijkstra algorithm for the map, but doesn't quite work right. The walls in the wall_map are not accounted for in the algorithm. 3 months ago
Zed A. Shaw ad143dca05 Initial commit that has most of what I need. 3 months ago