Minor file path changes...
This commit is contained in:
parent
5150ee1789
commit
4d966c8093
@ -24,7 +24,7 @@ package body item is
|
||||
--~begin
|
||||
--~icon (index) := core.load_sprite ("sprite/ui/item/" & folder & "/" & file & ".png", 1, 1);
|
||||
--~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 configure;
|
||||
|
||||
|
@ -22,7 +22,7 @@ package body magic is
|
||||
folder : constant string := core.lowercase (school'image (trait (index).kind));
|
||||
file : constant string := core.lowercase (codex'image (index));
|
||||
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 loop;
|
||||
end configure;
|
||||
|
@ -23,8 +23,8 @@ begin
|
||||
|
||||
core.engine_configure;
|
||||
|
||||
core.hexagon_grid_sprite := core.load_sprite ("sprite/ui/hexagon_grid_tile.png", 1, 1);
|
||||
core.hexagon_fill_sprite := core.load_sprite ("sprite/ui/hexagon_fill_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/menu/hexagon_fill_tile.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);
|
||||
|
@ -22,7 +22,7 @@ package body might is
|
||||
folder : constant string := core.lowercase (school'image (trait (index).kind));
|
||||
file : constant string := core.lowercase (codex'image (index));
|
||||
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 loop;
|
||||
end configure;
|
||||
|
@ -20,14 +20,14 @@ package body ui is
|
||||
begin
|
||||
for this in codex
|
||||
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 load_ui;
|
||||
begin
|
||||
load_ui (default, "default/");
|
||||
--~load_ui (gothic, "heroes/");
|
||||
load_ui (gothic, "gothic/");
|
||||
load_ui (yd, "yd/");
|
||||
--~load_ui (gothic, "gothic/");
|
||||
--~load_ui (yd, "yd/");
|
||||
load_ui (steam, "steam/");
|
||||
--~load_ui (gothic, "diablo/");
|
||||
--
|
||||
|
@ -1,5 +1,5 @@
|
||||
with ada.strings.fixed;
|
||||
with core, menu, resource, item, unit, construction;
|
||||
with core, menu, resource, item, unit, construction, world;
|
||||
|
||||
use world;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user