Moved materials...
Before Width: | Height: | Size: 147 B |
Before Width: | Height: | Size: 162 B |
Before Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 176 B |
BIN
icon/material/cinnamon.png
Normal file
After Width: | Height: | Size: 233 B |
BIN
icon/material/mercury.png
Normal file
After Width: | Height: | Size: 215 B |
BIN
icon/material/mint.png
Normal file
After Width: | Height: | Size: 258 B |
BIN
icon/material/sulphur.png
Normal file
After Width: | Height: | Size: 275 B |
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|