Zed A. Shaw
|
0a268591c2
|
Started working on the loot system which will eventually become the inventory/improved collision system.
|
2 months ago |
Zed A. Shaw
|
b2ed598c1f
|
Kind of working save now, but does have problems with dead things.
|
2 months ago |
Zed A. Shaw
|
99d56b246c
|
Looks like this is _possibly_ working but the last step of actually loading a save needs to be figured out.
|
2 months ago |
Zed A. Shaw
|
71bc97a016
|
Save system should work better now, just needed to switch to basic map. This would probably a lot better if tser.hpp supported std::any.
|
2 months ago |
Zed A. Shaw
|
d113dba42f
|
Almost working save sytem but the data I store is totally wrong. I need to also save the entity IDs being used and map them to the components.
|
2 months ago |
Zed A. Shaw
|
babc190525
|
Tser can now output wstring and already saves wstring, so now need to use it.
|
2 months ago |
Zed A. Shaw
|
b113b90257
|
Cleaned up the tests for tser more and then removed cereal.
|
2 months ago |
Zed A. Shaw
|
bf57713416
|
Stripped tser.hpp down to the essentials so I can study it. No base64 encoding, less than comparison (wtf is that for), and I may even remove the 'json' output.
|
2 months ago |
Zed A. Shaw
|
713d400d17
|
Cereal works pretty well so I may use it, but there's one more library I want to try first called tser.
|
2 months ago |
Zed A. Shaw
|
ddf1ba955c
|
Now have a working config manager that can exist in the world properly.
|
2 months ago |
Zed A. Shaw
|
f6ddf4b03b
|
Make it clear this is testing an ftxui setting.
|
2 months ago |
Zed A. Shaw
|
f223257aad
|
Have to tweak when to test that true color is set, and also when to do it for the test.
|
2 months ago |
Zed A. Shaw
|
707e9e3d6e
|
Have to force the terminal detected by FTXUI to use full color no matter what it detects in the actual terminal.
|
2 months ago |
Zed A. Shaw
|
0ba789697a
|
Basic config system from a json file but it's got serious issues. Can't copy construct it because of the variable blocking copying, and it can't even be put into the dinkyecs in any way.
|
2 months ago |
Zed A. Shaw
|
fd8180bc61
|
Refactored the ansi_parser into a class that can be reused between render calls.
|
2 months ago |
Zed A. Shaw
|
a36b187879
|
Renderer of ANSI codes to SFML is now working. Does seem to be a little slow but that'll be easy to fix later.
|
2 months ago |
Zed A. Shaw
|
ae484bf425
|
ANSI code renderer starts working but I have to make it utf8/wchar_t friendly.
|
2 months ago |
Zed A. Shaw
|
f32b39afe2
|
Barely working ansi color codes parser but I _really_ don't like this one. Too much code to just get it to process correctly which means it'll be brittle as hell later.
|
2 months ago |
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 |