Moved materials...

This commit is contained in:
Ognjen Milan Robovic 2024-05-27 17:51:21 -04:00
parent ce4f1d435a
commit 36621cbfba
10 changed files with 4 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 B

BIN
icon/material/cinnamon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

BIN
icon/material/mercury.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

BIN
icon/material/mint.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

BIN
icon/material/sulphur.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 B

View File

@ -131,6 +131,9 @@ package core is
function compress (data : in address; size : in integer; used : out integer) return address;
function decompress (data : in address; size : in integer; used : out integer) return address;
--~procedure compress_file (file_path : in string);
--~procedure decompress_file (file_path : in string);
function c_string (ada_string : in string) return string;
function random (minimum, maximum : in integer) return integer;

View File

@ -17,7 +17,7 @@ package body material is
core.echo (core.comment, "Configuring material components...");
--
for index in enumeration loop
sprite (index) := core.import_sprite (core.folder & "/game/material/" & core.lowercase (enumeration'image (index)) & ".png", 1, 1);
sprite (index) := core.import_sprite (core.folder & "/icon/material/" & core.lowercase (enumeration'image (index)) & ".png", 1, 1);
end loop;
end configure;