Finished map frame, ez...

This commit is contained in:
Ognjen Milan Robovic 2024-05-19 14:34:13 -04:00
parent 7b65d4e0db
commit d9fa3ef605

View File

@ -213,10 +213,10 @@ package body world is
core.draw_vertically (border_left, x, y + core.base * core.zoom, height - 2 * core.base * core.zoom, core.zoom);
core.draw_vertically (border_right, x - core.base * core.zoom + width, y + core.base * core.zoom, height - 2 * core.base * core.zoom, core.zoom);
--
--~core.draw (corner_upper_left, x, y, core.zoom);
--~core.draw (corner_upper_right, x + width - core.base * core.zoom, y, core.zoom);
--~core.draw (corner_lower_left, x, y + height - core.base * core.zoom, core.zoom);
--~core.draw (corner_lower_right, x + width - core.base * core.zoom, y + height - core.base * core.zoom, core.zoom);
core.draw (corner_upper_left, x, y, factor => core.zoom);
core.draw (corner_upper_right, x - core.base * core.zoom + width, y, factor => core.zoom);
core.draw (corner_lower_left, x, y - core.base * core.zoom + height, factor => core.zoom);
core.draw (corner_lower_right, x - core.base * core.zoom + width, y - core.base * core.zoom + height, factor => core.zoom);
end;
--
for vertical in 0 .. map.height - 1 loop