Added few more equipment icons and other minor refactorings...

This commit is contained in:
Ognjen Milan Robovic 2024-05-17 21:52:05 -04:00
parent 929334dd9f
commit a3f3082268
6 changed files with 2 additions and 3 deletions

View File

@ -91,7 +91,6 @@ package body chad is
text => equipment.trait (player.items (6 * index_y + index_x)).name, text => equipment.trait (player.items (6 * index_y + index_x)).name,
x => x + index_x * core.icon, x => x + index_x * core.icon,
y => y + 96 + 4 * offset + 2 * core.icon + index_y * core.icon); y => y + 96 + 4 * offset + 2 * core.icon + index_y * core.icon);
--~equipment.draw_icon (player.items (), x + index_x * core.icon, y + 96 + 3 * offset + 2 * core.icon + index_y * core.icon);
end loop; end loop;
end loop; end loop;
-- --

View File

@ -315,8 +315,8 @@ begin
end loop; end loop;
-- --
resource.draw_points (player.resources, (preview_width - 4 * icon * resource.count) / 2, (if view_list (map_preview_panel) then icon else 0)); resource.draw_points (player.resources, (preview_width - 4 * icon * resource.count) / 2, (if view_list (map_preview_panel) then icon else 0));
ui.draw_fill_bar ((preview_width - 320) / 2, 4 * (if view_list (map_preview_panel) then icon else 0), 320, 0.6); --~ui.draw_fill_bar ((preview_width - 320) / 2, 4 * (if view_list (map_preview_panel) then icon else 0), 320, 0.6);
ui.draw_tiny_fill_bar ((preview_width - 160) / 2, 5 * (if view_list (map_preview_panel) then icon else 0), 160, 0.8); --~ui.draw_tiny_fill_bar ((preview_width - 160) / 2, 5 * (if view_list (map_preview_panel) then icon else 0), 160, 0.8);
-- --
signal_list (signal_mode).all; signal_list (signal_mode).all;
-- --

Binary file not shown.

Before

Width:  |  Height:  |  Size: 479 B

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 466 B

After

Width:  |  Height:  |  Size: 415 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 471 B

After

Width:  |  Height:  |  Size: 474 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 345 B

After

Width:  |  Height:  |  Size: 279 B