Implemented water, tested, but not procedurally generated yet...

This commit is contained in:
Ognjen Milan Robovic 2024-05-25 08:40:28 -04:00
parent fc5b64532f
commit cd96dc5ea1
8 changed files with 13 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 847 B

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 908 B

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 968 B

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 917 B

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@ -204,7 +204,7 @@ begin
world.configure;
--~ai.configure;
world.make (world.rough, 240, 180, 8);
world.make (world.swamp, 240, 180, 8);
world.add_chad (player);
core.dash;
@ -264,7 +264,7 @@ begin
core.cursor_mode := core.cursor_none;
world.load ("heyo");
--~world.load ("heyo");
ui.active := ui.style'val (faction.enumeration'pos (chad.trait (player.index).kind) + 1);

View File

@ -99,6 +99,17 @@ package body world is
end loop;
end loop;
--
-- WATER TESTING
map.tiles (10, 10) := 28;
map.tiles (11, 10) := 24;
map.tiles (12, 10) := 29;
map.tiles (10, 11) := 26;
map.tiles (11, 11) := 18;
map.tiles (12, 11) := 27;
map.tiles (10, 12) := 30;
map.tiles (11, 12) := 25;
map.tiles (12, 12) := 31;
--
for index in 1 .. landmark_limit loop
map.landmarks (index).index := core.random (0, landmark_count - 1);
map.landmarks (index).state := 0;