Zed A. Shaw
|
5a6494acf5
|
Fixing a stupid bug where it would crash because a fact wasn't in the world.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
93f53d1714
|
Tests are failing but catch2 is too stupid to actually tell me where so here you go. Now if you hit L it'll turn the lights up to max and if you hit P it will show the pathing.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
d916d1c383
|
A very jank circle algorithm that overdraws many of the lines but mostly works.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
1295e9631d
|
A slightly working flood iterator and a working compass iterator.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
70cd963e5c
|
Iterators are now working far more reliably and have more extensive tests that randomize inputs and fuzz them to check they keep working.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
da0b941dfd
|
A first exploration of doing a matrix iterator.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
ee1e2e5bc5
|
Started working on a random flood function for paths to do things like fill rooms with stuff.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
ffc787df64
|
Designer is working great now, and this fixes a bunch of things about the mouse.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
f05f652c26
|
Fixed the overflows and make the render handle SFML's weird window coordinates not matching world coordinates.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
a9e25668fb
|
Rought font extractor that probably has a memory error causing it to behave mysteriously, and the designer now uses a json file of the characters that will work.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
9ab064126f
|
Before freetype2 use to iterate through the font's glyphs diretly.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
0edd948101
|
A barely working tool to find font characters and pick their color.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
6b3ce5eb3d
|
Fixed a bunch of random little bugs everywhere.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
2f8c9bd1a9
|
Change the color namespace to ColorValue. Need to come up with the organizational theme for the code.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
eb0ca38e30
|
Removed the variable limit setting since it's never used and instead just have WALL_PATH_LIMIT.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
9abb39a3bf
|
Did a full code review to identify things to fix and either fixed them or noted BUG where I should come back.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
ae43dad499
|
Minor fixes to make initializing the terminal more consistent and to remove a magic number for wall limits.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
0b4392dbcc
|
Vast improvement in the world generation, with more reliable pathing, cleaner generation code, and an ability to do a random or direct walk to create paths. This also works with enemies if I want.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
aadf15e439
|
Created an initial README.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
3f7a9cc124
|
Lighting is now in its own class using the new Pathing class. This should allow me to make it more consistent and possibly make Pathing more efficient.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
e86d474c7c
|
Now have more test for the base functionality but need to push render tests and find a way to test the GUI. I've also brought in sol2 for lua integration but not sure what to do with it.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
d0d62836e3
|
Now have good coverage on map but need to actually confirm results in the test.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
97255eb813
|
First coverage reports. Tests don't get near enough coverage but running the program does.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
988edf13d7
|
Map is now working well and all light is good but it's causing saturation fatigue because of the low levels and low saturation. I'll have to work on contrast and probably jut up the wall contrast.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
54fa1a23ce
|
Refactor the light calculations to be part of map instead of spread out all over. Still need to bring back lighting on walls and also pathing for enemies is currently busted.
|
pirms 7 mēnešiem |
Zed A. Shaw
|
0e8a2e520a
|
Light works with multiple sources and strengths, walls are faked out but I think I may keep that to make it easier to play.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
6174df5ec7
|
Lighting now works, now to get multiple lights.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
1bb04b4562
|
Tried to set the background color in the ftxui canvas and weirdly it started doing almost what I want with lighting, but I didn't write any code to do that. There's some bug in how I'm doing it that's causing it to set the colors...correctly. Must find out why.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
fb1fd9d8bc
|
A bit of some clean up, API unifying, and some performance tweaks.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
15a302d133
|
Renderer is now more standalone and doesn't try to protect against small maps, that's the GUI's job.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
c8fa68815b
|
A bit more cleanup of render but kind of stuck on what to do further.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
7cb03594a3
|
Renderer now knows how to render panels as grid/text based on how the panel is configured.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
f79e7638c0
|
Panel now holds data on how it should be rendered and render just uses that instead of calculating it.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
1a3bbaedda
|
Use the MID value for borders.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
64855f3c90
|
The gui can now pop open a modal based on clicking a button but I need to manage focus next.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
89a70f398a
|
Rewrote the ansi parser to exactly callback on color setting, so now just need to clean this all up and fix a few little bugs.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
e3cff8142c
|
Barely working stripped down version of ScreenInteractive. Now to bring on the SFML events.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
6e848004c4
|
Panel is working and now I can work on the gui interactions parts.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
9bc9c9007f
|
Now have a nice panel to hold all the UI panels we'll use later.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
7b5c84b5f7
|
Cleaned up the gui display some more for future GUI elements.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
824a384ffd
|
Font sizes and map view now work with arbitrary map sizes.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
113811bc84
|
Got some new sounds and camera shake came back but has a bug.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
ed9d0de8e0
|
Event system now accepts any data and the GUI receives simpler events with data for them.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
0e79288afc
|
More notes on the next things to do.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
67cacd5dcd
|
Can actually save the game now.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
e864e14eab
|
Rendering with color is working now but still has problems with enabling/resetting the default colors.
|
pirms 8 mēnešiem |
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.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
04350cb51e
|
GUI is now decoupled from the ECS using the new DinkyECS event queues. That makes it easier to update and change the GUI without having to constantly alter the systems.
|
pirms 8 mēnešiem |
Zed A. Shaw
|
3f87d19911
|
Simple event system for entities in the world.
|
pirms 8 mēnešiem |
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.
|
pirms 9 mēnešiem |