Added few more equipment icons and other minor refactorings...
@ -91,7 +91,6 @@ package body chad is
|
||||
text => equipment.trait (player.items (6 * index_y + index_x)).name,
|
||||
x => x + index_x * 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;
|
||||
--
|
||||
|
@ -315,8 +315,8 @@ begin
|
||||
end loop;
|
||||
--
|
||||
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_tiny_fill_bar ((preview_width - 160) / 2, 5 * (if view_list (map_preview_panel) then icon else 0), 160, 0.8);
|
||||
--~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);
|
||||
--
|
||||
signal_list (signal_mode).all;
|
||||
--
|
||||
|
Before Width: | Height: | Size: 479 B After Width: | Height: | Size: 368 B |
Before Width: | Height: | Size: 466 B After Width: | Height: | Size: 415 B |
Before Width: | Height: | Size: 471 B After Width: | Height: | Size: 474 B |
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 279 B |