From a3f3082268d78b26d599e6b7890152a14a50aa48 Mon Sep 17 00:00:00 2001 From: xolatile Date: Fri, 17 May 2024 21:52:05 -0400 Subject: [PATCH] Added few more equipment icons and other minor refactorings... --- source/chad.adb | 1 - source/main.adb | 4 ++-- sprite/equipment/icon/chainmail_chestplate.png | Bin 479 -> 368 bytes sprite/equipment/icon/crystal_chestplate.png | Bin 466 -> 415 bytes sprite/equipment/icon/elven_armour.png | Bin 471 -> 474 bytes sprite/equipment/icon/golden_necklace.png | Bin 345 -> 279 bytes 6 files changed, 2 insertions(+), 3 deletions(-) diff --git a/source/chad.adb b/source/chad.adb index f10aa74..d098134 100644 --- a/source/chad.adb +++ b/source/chad.adb @@ -91,7 +91,6 @@ package body chad is text => equipment.trait (player.items (6 * index_y + index_x)).name, x => x + index_x * core.icon, y => y + 96 + 4 * offset + 2 * core.icon + index_y * core.icon); - --~equipment.draw_icon (player.items (), x + index_x * core.icon, y + 96 + 3 * offset + 2 * core.icon + index_y * core.icon); end loop; end loop; -- diff --git a/source/main.adb b/source/main.adb index de7e121..f970533 100644 --- a/source/main.adb +++ b/source/main.adb @@ -315,8 +315,8 @@ begin end loop; -- resource.draw_points (player.resources, (preview_width - 4 * icon * resource.count) / 2, (if view_list (map_preview_panel) then icon else 0)); - ui.draw_fill_bar ((preview_width - 320) / 2, 4 * (if view_list (map_preview_panel) then icon else 0), 320, 0.6); - ui.draw_tiny_fill_bar ((preview_width - 160) / 2, 5 * (if view_list (map_preview_panel) then icon else 0), 160, 0.8); + --~ui.draw_fill_bar ((preview_width - 320) / 2, 4 * (if view_list (map_preview_panel) then icon else 0), 320, 0.6); + --~ui.draw_tiny_fill_bar ((preview_width - 160) / 2, 5 * (if view_list (map_preview_panel) then icon else 0), 160, 0.8); -- signal_list (signal_mode).all; -- diff --git a/sprite/equipment/icon/chainmail_chestplate.png b/sprite/equipment/icon/chainmail_chestplate.png index edf857e31871c296e33e67066728cdb6d3c2d1de..468f44e6e7088edbbb0165caa83c16f45f125b16 100644 GIT binary patch delta 352 zcmV-m0iXWg1MmWn8Gi-<0047(dh`GQ010qNS#tmYE+YT{E+YYWr9XB600AONL_t(o z!|heujl(buqYt-0R^Tj}r9<5;o`oxT1mB07L)RZ+xR_>?|+_vCL(NJ0_- z834QFV_Q&GEqiAn#`ttAUOL6^ z7(kbRcMRaas98X82*|CA*RuB~oGM^cgok`cKy?fLPQtBScE!gvK3v1GOPIz6vKMn& y3rL=_|GvLr<0!3@-mtEZa>LAW&tACjargyZx@d&Z6@xec0000a@a2CEqi4B`cIb_Lo1C5i%kLR|m<|Nr~C>l$3m0~Fb_MkI_MJL)>d&7)-@bkO@#Dv< z=TB>kGuJJfUssaZ(NMX2_wMk};QHE{*RNkkhKGLr`gQf{)t#N46DCZ!a^*^2U;nNA z?GZrh8I!!-T^Kr8Wj!V;iq|u+mw5WRvcF&zEwh3>TMwv#!PC{xWt~$( F697}^v|j)K diff --git a/sprite/equipment/icon/crystal_chestplate.png b/sprite/equipment/icon/crystal_chestplate.png index 7e3eaf73c84b2ad88d060de42735dbf5816ee11f..a24925a44fc49b9514479f1c01e82743d1559289 100644 GIT binary patch delta 380 zcmV-?0fYY11D^ws83+ad0047(di0Us7k>d!Nkl+i`?23`LK3Xdo@9g|y%n zmJ-rJdZC1+1-C#8Dj}5Me1M6~n8iG1b~D5M;UQVNwyXzSxbUAKA|CMLvsm^F)rzyf zZv{kx3{m`SK_XL0?Ww9MCLkhSB(mU?2X|_^>DPlhN$|s0uZ`Jvg+TI=HhX6r0?+JL%e5WR5W at?&z~YqE3W&xhgw0000a@a2CEqi4B`cIb_Lo1B{BniLR|m<|Nr~Bqetph-qQJsNgJjue*5(0w-28W_OEb1UAN>={eoKu&VGLL=~U^O zo9oX0`}gnCx`Vd`tImW@e)sbA9pRdJib+4ed^x6~*fr*h@TpUD;o-3i68x9XOl&6sRK5)5S5w;&gJt0``QIq+{NjH*DHi z{9vJ^#m*g-6^$nHe6t$k9RfTg_-!o?WLWgHF>5|NprEA1wsd2A^NyA!Q%q(|n|M@; zujmt3mzTh-H3bX|qQyM-6a5lM* z&Q#?|sA`G=TLB0WBEzBI2D8EaSUp`P%?Si8$$OBsU{h#G&1p`;C2VpBq8D7xBL#rL zNxW=8M2T`v@_!W@@Js~WYQU!=P?fabAIVeRnYkn8+VVDMfN?c|P|vM1tO%rcLic*Z z6O=r|TcLHR>*fTKI$!@%hqK;;(qZ&c1k$YLWsL_t(o!|hh>k%J%*eP+@?QUWcQ5@^AcKnt-1t_4eoEl>is zKnbLTy&tOvog|C#GIuxQ`?JWh@L2XkV8e!AMzLhEwxEOJaeJQHzS6zI{+YsB&@is+ z`-Zmw3Yt+@Dgg4z}kL597N`g9!pOtcGT{(V7+u<1aiXIJ4&0SaNj@Ksk zs9mue&{3#u!q4g3aPJ1E7^^GY6TzI~;fm=QaPK>LnOUTQD)P}3q zAC3VL)^c&Ft{`pYBBU*^jS-YKqg5VA11mQGb3L)kjsDzcctm>L4@uILqH$R70e82q)7+S3)KOy=T>piEIBsXmMH~0n$R9vYp Srvljk0000 diff --git a/sprite/equipment/icon/golden_necklace.png b/sprite/equipment/icon/golden_necklace.png index 9d2dcde335a7ef7dcca05fef69e26ceac8b8934a..3d3b1dafadc00cc94b84cb22868fa1237bc2b846 100644 GIT binary patch delta 264 zcmV+j0r&pd0+#}i7=H)`0001UdV2H#000SaNLh0L04^f{04^f|c%?sf0002VNkl2%VurI*T)81Xu7rBwP>9R- z&LJ9;#>N2aDvPD0q}G1!^&YWR%qcMwl)!t$5X#q|q9ss`=zs3y%_5rB7al~9_|=H= zbNX%{&=S?d&?6775?SB*{+9wC{|qHQqFb+U$PG#yv8Rz`MdXT34Y`t>%33HM69L9Wu7Wt0`UL< O002ovPDHLkU;%NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fgp%~y3;`;yp|37~|{rmU( z-@jj9zMOgge$%^m>;C-t{O{kN&!3O~{P}cy+kO$CV#XwIcNc~ZR#^`qhqJ&VvY3HE zPZ@+6E0)@q0R`DhJbhi+U$6@DiwGS!oBI?fq~Ph|7@~1LIYEJ$gL82b+x3!=GZ%I; zh+byv+132)9RowPp!`Ckmdm_AwW=kq5hW>!C8<`)MX5lF!N|bKMAyJn*U&t~(9+7t sz{=1<*TBTez~DoI@+1@ux%nxXX_dG&G}_MA18QLKboFyt=akR{065rf{Qv*}