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.

This commit is contained in:
Zed A. Shaw 2024-11-23 23:11:20 -05:00
parent fb1fd9d8bc
commit 1bb04b4562
5 changed files with 55 additions and 13 deletions

View file

@ -1,8 +1,13 @@
TODAY'S GOAL:
* Use d-map to create a mapping of light strength and use that to alter the value of colors in the map.
* Make it possible to visualize the d-map when I need to.
TODO:
* Keep panel unified by implementing border and backing on grids too.
* Neighbors needs a rewrite
* Neighbors algo isn't using greater parameter
* Look in system.cpp::draw_map for notes on a Lighting system.
* Write a method for renderer that can translate coordinates.
* Can std::any be defaulted to a noop in the events?
* Save file isn't saving gold.
* Inventory needs to be better, but need some kinds of "weapons" or other loot to get and not just gold.