Did some work checking the build on OSX. Looks like clang 14 is too old, will try later version.

This commit is contained in:
Zed A. Shaw 2025-02-13 13:15:23 -05:00
parent 8d9c2d8c05
commit 2a4ada81bb
7 changed files with 75 additions and 58 deletions

View file

@ -40,7 +40,7 @@ namespace gui {
if(debug.PATHS && dnum != WALL_PATH_LIMIT) {
string num = dnum > 15 ? "*" : fmt::format("{:x}", dnum);
$canvas.DrawText(x * 2, y * 4, num, [dnum, tile, light_value](auto &pixel) {
$canvas.DrawText(x * 2, y * 4, num, [dnum, tile](auto &pixel) {
pixel.foreground_color = Color::HSV(dnum * 20, 150, 200);
pixel.background_color = Color::HSV(30, 20, tile.foreground[2] * 50 * PERCENT);
});