Good night me...

This commit is contained in:
Ognjen Milan Robovic 2024-05-25 15:43:54 -04:00
parent cabd180dfb
commit 513e4655f3
3 changed files with 8 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -167,6 +167,14 @@ package body world is
end; end;
end loop; end loop;
-- --
for x in 0 .. width - 1 loop
for y in 0 .. height - 1 loop
if map.tiles (x, y) > 17 then
map.clips (x, y) := true;
end if;
end loop;
end loop;
--
for index in 1 .. landmark_limit loop for index in 1 .. landmark_limit loop
map.landmarks (index).index := core.random (0, landmark_count - 1); map.landmarks (index).index := core.random (0, landmark_count - 1);
map.landmarks (index).state := 0; map.landmarks (index).state := 0;