Minor file path changes...

This commit is contained in:
Ognjen Milan Robovic 2024-02-15 21:42:07 -05:00
parent 5150ee1789
commit 4d966c8093
6 changed files with 9 additions and 9 deletions

View File

@ -24,7 +24,7 @@ package body item is
--~begin --~begin
--~icon (index) := core.load_sprite ("sprite/ui/item/" & folder & "/" & file & ".png", 1, 1); --~icon (index) := core.load_sprite ("sprite/ui/item/" & folder & "/" & file & ".png", 1, 1);
--~end; --~end;
sprite (index) := core.load_sprite ("sprite/ui/item/" & core.lowercase (codex'image (index)) & ".png", 1, 1); sprite (index) := core.load_sprite ("sprite/item/" & core.lowercase (codex'image (index)) & ".png", 1, 1);
end loop; end loop;
end configure; end configure;

View File

@ -22,7 +22,7 @@ package body magic is
folder : constant string := core.lowercase (school'image (trait (index).kind)); folder : constant string := core.lowercase (school'image (trait (index).kind));
file : constant string := core.lowercase (codex'image (index)); file : constant string := core.lowercase (codex'image (index));
begin begin
icon (index) := core.load_sprite ("sprite/ui/magic/" & folder & "/" & file & ".png", 1, 1); icon (index) := core.load_sprite ("sprite/magic/" & folder & "/" & file & ".png", 1, 1);
end; end;
end loop; end loop;
end configure; end configure;

View File

@ -23,8 +23,8 @@ begin
core.engine_configure; core.engine_configure;
core.hexagon_grid_sprite := core.load_sprite ("sprite/ui/hexagon_grid_tile.png", 1, 1); core.hexagon_grid_sprite := core.load_sprite ("sprite/menu/hexagon_grid_tile.png", 1, 1);
core.hexagon_fill_sprite := core.load_sprite ("sprite/ui/hexagon_fill_tile.png", 1, 1); core.hexagon_fill_sprite := core.load_sprite ("sprite/menu/hexagon_fill_tile.png", 1, 1);
--~attribute.sprite := core.load_sprite ("sprite/ui/attribute.png", 1, 1); --~attribute.sprite := core.load_sprite ("sprite/ui/attribute.png", 1, 1);
--~skill.sprite := core.load_sprite ("sprite/ui/skill.png", 1, 1); --~skill.sprite := core.load_sprite ("sprite/ui/skill.png", 1, 1);

View File

@ -22,7 +22,7 @@ package body might is
folder : constant string := core.lowercase (school'image (trait (index).kind)); folder : constant string := core.lowercase (school'image (trait (index).kind));
file : constant string := core.lowercase (codex'image (index)); file : constant string := core.lowercase (codex'image (index));
begin begin
icon (index) := core.load_sprite ("sprite/ui/might/" & folder & "/" & file & ".png", 1, 1); icon (index) := core.load_sprite ("sprite/might/" & folder & "/" & file & ".png", 1, 1);
end; end;
end loop; end loop;
end configure; end configure;

View File

@ -20,14 +20,14 @@ package body ui is
begin begin
for this in codex for this in codex
loop loop
sprite (index, this) := core.load_sprite ("sprite/ui/style/" & core.lowercase (folder_path & codex'image (this)) & ".png", 1, 1); sprite (index, this) := core.load_sprite ("sprite/menu/" & folder_path & "ui/" & core.lowercase (codex'image (this)) & ".png", 1, 1);
end loop; end loop;
end load_ui; end load_ui;
begin begin
load_ui (default, "default/"); load_ui (default, "default/");
--~load_ui (gothic, "heroes/"); --~load_ui (gothic, "heroes/");
load_ui (gothic, "gothic/"); --~load_ui (gothic, "gothic/");
load_ui (yd, "yd/"); --~load_ui (yd, "yd/");
load_ui (steam, "steam/"); load_ui (steam, "steam/");
--~load_ui (gothic, "diablo/"); --~load_ui (gothic, "diablo/");
-- --

View File

@ -1,5 +1,5 @@
with ada.strings.fixed; with ada.strings.fixed;
with core, menu, resource, item, unit, construction; with core, menu, resource, item, unit, construction, world;
use world; use world;