Did some work checking the build on OSX. Looks like clang 14 is too old, will try later version.
This commit is contained in:
parent
8d9c2d8c05
commit
2a4ada81bb
7 changed files with 75 additions and 58 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue