Now using the box iterator everywhere I can before writing a flood iterator.
This commit is contained in:
parent
547be19e68
commit
043c0d91df
2 changed files with 7 additions and 26 deletions
|
@ -217,14 +217,6 @@ void System::draw_map(DinkyECS::World &world, Map &game_map, const Matrix &light
|
|||
pixel.foreground_color = Color::HSV(80, 100, light_value / 1.5);
|
||||
pixel.background_color = Color::HSV(30, 20, light_value / 3);
|
||||
});
|
||||
|
||||
/*
|
||||
// swapped!
|
||||
canvas.DrawText(x * 2, y * 4, tile, [light_value](auto &pixel) {
|
||||
pixel.foreground_color = Color::HSV(30, 40, light_value);
|
||||
pixel.background_color = Color::HSV(30, 20, light_value / 3);
|
||||
});
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue