Moved End Turn button...

This commit is contained in:
Ognjen Milan Robovic 2024-06-06 16:13:48 -04:00
parent 3915611d92
commit 8d7a0b1799

View File

@ -247,8 +247,9 @@ procedure main is
-- --
at_y := at_y + core.base; at_y := at_y + core.base;
-- --
ui.draw_text_box (at_x + side, at_y, width - side - 2 * offset, 3 * core.icon); ui.draw_text_box (at_x + side, at_y, width - side - 2 * offset, 3 * core.icon);
ui.write ("Inventory", at_x + side + more, at_y + core.icon + more, code => true); ui.draw_end_turn_button (at_x + side + (width - side - 2 * offset - 2 * core.icon) / 2, at_y + core.icon / 2);
ui.write ("End Turn", at_x + side + less, at_y + core.icon + less);
-- --
for index_y in 0 .. 2 loop for index_y in 0 .. 2 loop
for index_x in 0 .. 7 loop for index_x in 0 .. 7 loop
@ -454,9 +455,6 @@ begin
-- --
player_information; player_information;
-- --
ui.draw_end_turn_button (x => core.window_width - side_panel + side_panel / 2 - core.icon,
y => core.window_height - core.icon - text_box_height - 106 - 2 * core.icon);
--
ui.draw_console_box (x => core.window_width - core.icon - (side_panel - 2 * core.icon), ui.draw_console_box (x => core.window_width - core.icon - (side_panel - 2 * core.icon),
y => core.window_height - core.icon - text_box_height - 106, y => core.window_height - core.icon - text_box_height - 106,
width => side_panel - 2 * core.icon, width => side_panel - 2 * core.icon,