From 23122cecd0e7409d6b1b33a27deebb97ab1f23fe Mon Sep 17 00:00:00 2001 From: xolatile Date: Wed, 15 May 2024 05:06:15 -0400 Subject: [PATCH] Added 10 world landmarks... --- source/world.adb | 2 +- source/world.ads | 35 ++++++++++++++++++--------- sprite/world/landmark/asters.png | Bin 0 -> 145 bytes sprite/world/landmark/daffodils.png | Bin 0 -> 147 bytes sprite/world/landmark/hyacinths.png | Bin 0 -> 171 bytes sprite/world/landmark/mossy_rune_stone.png | Bin 0 -> 452 bytes sprite/world/landmark/orchids.png | Bin 0 -> 146 bytes sprite/world/landmark/rune_stone.png | Bin 0 -> 412 bytes sprite/world/landmark/snowed_pine_forest.png | Bin 0 -> 1884 bytes sprite/world/landmark/snowed_rune_stone.png | Bin 0 -> 256 bytes sprite/world/landmark/wooden_arrow_sign.png | Bin 0 -> 200 bytes sprite/world/landmark/wooden_sign.png | Bin 0 -> 175 bytes 12 files changed, 25 insertions(+), 12 deletions(-) create mode 100644 sprite/world/landmark/asters.png create mode 100644 sprite/world/landmark/daffodils.png create mode 100644 sprite/world/landmark/hyacinths.png create mode 100644 sprite/world/landmark/mossy_rune_stone.png create mode 100644 sprite/world/landmark/orchids.png create mode 100644 sprite/world/landmark/rune_stone.png create mode 100644 sprite/world/landmark/snowed_pine_forest.png create mode 100644 sprite/world/landmark/snowed_rune_stone.png create mode 100644 sprite/world/landmark/wooden_arrow_sign.png create mode 100644 sprite/world/landmark/wooden_sign.png diff --git a/source/world.adb b/source/world.adb index 4e74040..5b306cb 100644 --- a/source/world.adb +++ b/source/world.adb @@ -81,7 +81,7 @@ package body world is end loop; -- for index in 1 .. landmark_limit loop - map.landmarks (index).index := core.random (0, 9); + map.landmarks (index).index := core.random (0, landmark_count - 1); map.landmarks (index).x := core.random (6, map.width - 6); map.landmarks (index).y := core.random (6, map.height - 6); -- diff --git a/source/world.ads b/source/world.ads index db2a72d..b718f57 100644 --- a/source/world.ads +++ b/source/world.ads @@ -16,7 +16,9 @@ package world is type landmark_index is ( dead_tree, mossy_rock, palm_tree, pine_tree, pine_forest, reeds, - rock, snowed_pine_tree, snowed_rock, spiky_rock + rock, snowed_pine_tree, snowed_rock, spiky_rock, wooden_sign, wooden_arrow_sign, + rune_stone, snowed_rune_stone, mossy_rune_stone, snowed_pine_forest, hyacinths, orchids, + asters, daffodils ); type landmark_trait is record @@ -56,18 +58,29 @@ package world is landmarks : array (landmark_index) of core.sprite; landmark_limit : constant integer := 120; + landmark_count : constant natural := landmark_index'pos (landmark_index'last) + 1; trait : constant array (landmark_index) of landmark_trait := ( - dead_tree => (ash, true, 1), - mossy_rock => (swamp, true, 1), - palm_tree => (sand, true, 4), - pine_tree => (grass, true, 4), - pine_forest => (grass, true, 4), - reeds => (swamp, false, 4), - rock => (sand, true, 1), - snowed_pine_tree => (snow, true, 4), - snowed_rock => (snow, true, 1), - spiky_rock => (ash, true, 1) + dead_tree => (ash, true, 1), + mossy_rock => (swamp, true, 1), + palm_tree => (sand, true, 4), + pine_tree => (grass, true, 4), + pine_forest => (grass, true, 4), + reeds => (swamp, false, 4), + rock => (sand, true, 1), + snowed_pine_tree => (snow, true, 4), + snowed_rock => (snow, true, 1), + spiky_rock => (ash, true, 1), + wooden_sign => (grass, false, 1), + wooden_arrow_sign => (grass, false, 1), + rune_stone => (grass, true, 4), + snowed_rune_stone => (snow, true, 1), + mossy_rune_stone => (swamp, true, 4), + snowed_pine_forest => (snow, true, 4), + hyacinths => (grass, false, 1), + orchids => (grass, false, 1), + asters => (grass, false, 1), + daffodils => (grass, false, 1) ); map : information; diff --git a/sprite/world/landmark/asters.png b/sprite/world/landmark/asters.png new file mode 100644 index 0000000000000000000000000000000000000000..291186dd63ccab747ca1f17c6c39f251f2738b6b GIT binary patch literal 145 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9F3${@^GvDCf{DCq3z z;uvCaIypfiKDAU1kOdH$*?UzRc!)KqSS{5Rt8Hs9l>Mw-I#y|GI+ZBxvXZPM z;uvCaIypfiWWk(=cmEf)mH+p=c(`fJPus(`TxA3+Rglhd+r0 PTEyV#>gTe~DWM4f$htOv literal 0 HcmV?d00001 diff --git a/sprite/world/landmark/mossy_rune_stone.png b/sprite/world/landmark/mossy_rune_stone.png new file mode 100644 index 0000000000000000000000000000000000000000..939c090edcbf62289b496d0ef8db8f7aaa408ba8 GIT binary patch literal 452 zcmV;#0XzPQP)-NaAp`(MCWtqIN&-z!g|*1{ z03vb)(BKL@;34?A9f&br?|HOkzANbx90PuVt)TgPR#bahY=YZf85h;e}EEt&x z>RyWA;LXCbAxC%@KjW=_&qKbmX_3<;8=k#qi%Ts6HGXjMb3TQy>+kbmnIs!e&f_B! z;ZFLkc>f`9_U+)}*Y$V#$|y0dJh(kdY$e@ApkcnZX(SO;w06^49go0yercUw{slB$ u=DqY&@vv=Q>S1V;uidTBPm1iH`u+>83%yW-R)CrS0000nhO^!Wmi&Jk;@>$z#y{7cGA)9dp-lrWAJqKb6Mw<&;$T1x-BRG literal 0 HcmV?d00001 diff --git a/sprite/world/landmark/rune_stone.png b/sprite/world/landmark/rune_stone.png new file mode 100644 index 0000000000000000000000000000000000000000..efa331e3944339ee605262816e2f2e94f12fc237 GIT binary patch literal 412 zcmV;N0b~A&P)6ngyIH9#Lrf6t?fp{&!x${byCF6mqz1!9*6g)`B(Uh0vtpa5ttdP zBFv>4-e1UiH?OU?;7k0`(g7k_?A9pN}D$kwmpSPS7_iRWcRX-(v*8;9#p{fO<@IMjZ=(GWO z4<|@lRro6lNPZ1Jw^}GApM>e%KuY3H^6#=h&R??Nta)D>Yd;~maN4*BFB8tkuke@f zOV9V8uAjxnd0}+?BEaA0@T>M>u`XXTB)-&2kA}7W)$?C#=}&6sZCK0z0000=+xk<`IW z%KRag{*aW{gw)qKa4S-zIHmW6yMY8kh)s5VSYU&VH^t7bXGinn&5zX&p9c>8IL({S zeBYa2Z^r=3D3s(tNxpI$9~%2(C=Ki1Zro{<D}GEuFT>0k7WM8`Kzv?Y!8=5F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22WNQpX&R(CgvWRC)H@bDgmm`EB7XPX^LVOpK--lxynLnnjr}9)DXZasQ Wb%eh($0)D>0000Y z`6k8%t9&#?nXI)Eo+aK}@6TCv!E0)4%rdSxp*t$ZFQZwuwn}#1WxSrXjU!Eg;jHk# zt)G0J9XM2ZR-Vzge%*(?uew*|{gU>78aMl|{z~mErE9vXOhDH&c)I$ztaD0e0s!c> BU3>rl literal 0 HcmV?d00001 diff --git a/sprite/world/landmark/wooden_arrow_sign.png b/sprite/world/landmark/wooden_arrow_sign.png new file mode 100644 index 0000000000000000000000000000000000000000..19ef9799d9cca068a09983db71bcd7b388263fbf GIT binary patch literal 200 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9F3${@^GvDCf{C|Kp` z;uvCa`fbob-UbB$?IWxajgfb{i}llYib^=fxAQVG9b4}EBj(nHZ5+&YtFJb}+LFthz^M2_r< ul#-Q4?=a5Z!n51^4_BqA(XWvC57`bfsZWx$GqVJ`g2B_(&t;ucLK6VgG)6uE literal 0 HcmV?d00001 diff --git a/sprite/world/landmark/wooden_sign.png b/sprite/world/landmark/wooden_sign.png new file mode 100644 index 0000000000000000000000000000000000000000..1cca4a23c45ced7b133d8fc640c5e6a960d53e2d GIT binary patch literal 175 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9F3${@^GvDCf{D46K! z;uvCaIypgtRfO5Cgi+P8?f(vu`_=s`=LyDco}|FsJV~L9`P-etCM}&o`Wqe;Xq`;F z(D0