Zed A. Shaw
|
3344181a47
|
Cleaned up all the places I was doing push_back({constructorvar1, constructorvar2}) to use emplace_back(constructorvar1, constructorvar2) every other use should be only for actually copying.
|
2025-01-22 07:38:49 -05:00 |
|
Zed A. Shaw
|
f35b74f335
|
Results of today's code review session.
|
2025-01-05 15:07:30 -05:00 |
|
Zed A. Shaw
|
4cb41a61db
|
Took the plunge and converted my 'shaperators' into templates so they'll work on any 'matrix-like' thing.
|
2024-12-31 08:13:20 -05:00 |
|
Zed A. Shaw
|
28d19d80a2
|
Fixed worldgen to only use tiles without collision in filling rooms, then a couple more changes to lighting so that if the light is <= 1 it just assumes the base light strength which ends up looking nicer and more like the kind of light I want.
|
2024-12-29 04:53:59 -05:00 |
|
Zed A. Shaw
|
6b4bc6cc11
|
fixed the map generator doing paths that hit the edge which made it look like the map was out of bounds.
|
2024-12-28 12:37:19 -05:00 |
|
Zed A. Shaw
|
194cc6664b
|
Lighting is working way better and now for world generation work.
|
2024-12-28 12:04:21 -05:00 |
|
Zed A. Shaw
|
f46b5f15ef
|
Lighting now uses pathing to determine where it can go, but _distance_ to determin strength. Looks way better.
|
2024-12-26 04:39:07 -05:00 |
|
Zed A. Shaw
|
9ac8da30ea
|
Circle adjusted to work better but now I think hirdrac was right that it's easier to just calculate a distance from center and use that to determine light levels rather than a whole dpath.
|
2024-12-25 06:03:11 -05:00 |
|
Zed A. Shaw
|
857cd2f910
|
Circle iterator now compensates for the matrix size and won't overflow.
|
2024-12-25 01:15:33 -05:00 |
|
Zed A. Shaw
|
35f2defc11
|
Better lighting and a circle algorithm that works more reliably.
|
2024-12-25 00:27:45 -05:00 |
|
Zed A. Shaw
|
d4b6c35120
|
Working line iterator, and mostly working flood iterator that should be good enough for world gen.
|
2024-12-18 19:22:22 -05:00 |
|
Zed A. Shaw
|
547be19e68
|
Lighting now uses the new box iterator, although it'll be replaced soon by the flood or random iterator.
|
2024-12-15 19:54:16 -05:00 |
|
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.
|
2024-12-15 19:38:16 -05:00 |
|
Zed A. Shaw
|
eb0ca38e30
|
Removed the variable limit setting since it's never used and instead just have WALL_PATH_LIMIT.
|
2024-12-05 08:41:10 -05:00 |
|
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.
|
2024-12-04 21:43:59 -05:00 |
|
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.
|
2024-12-01 17:54:43 -05:00 |
|