From 9d08c2547f21711609155902be3371bfe5283108 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Tue, 26 Sep 2023 03:23:07 -0500 Subject: [PATCH] Added Warrior HUD ability icons --- Crawler/Ability.cpp | 4 ++-- Crawler/Ability.h | 4 +++- Crawler/Crawler.cpp | 4 ++++ Crawler/Player.h | 4 ++++ Crawler/Version.h | 2 +- Crawler/assets/Ability Icons/battlecry.png | Bin 0 -> 4767 bytes Crawler/assets/Ability Icons/block.png | Bin 0 -> 4741 bytes Crawler/assets/Ability Icons/groundslam.png | Bin 0 -> 4559 bytes Crawler/assets/Ability Icons/sonicslash.png | Bin 0 -> 4560 bytes Crawler/assets/config/classes/Ranger.txt | 4 ++++ Crawler/assets/config/classes/Thief.txt | 4 ++++ Crawler/assets/config/classes/Trapper.txt | 4 ++++ Crawler/assets/config/classes/Warrior.txt | 4 ++++ Crawler/assets/config/classes/Witch.txt | 4 ++++ Crawler/assets/config/classes/Wizard.txt | 4 ++++ Crawler/assets/config/gfx/gfx.txt | 6 ++++++ 16 files changed, 44 insertions(+), 4 deletions(-) create mode 100644 Crawler/assets/Ability Icons/battlecry.png create mode 100644 Crawler/assets/Ability Icons/block.png create mode 100644 Crawler/assets/Ability Icons/groundslam.png create mode 100644 Crawler/assets/Ability Icons/sonicslash.png diff --git a/Crawler/Ability.cpp b/Crawler/Ability.cpp index b15cffae..ba0b7ca6 100644 --- a/Crawler/Ability.cpp +++ b/Crawler/Ability.cpp @@ -14,5 +14,5 @@ InputGroup Ability::DEFAULT; Ability::Ability() :name("???"),shortName("???"),cooldown(0),COOLDOWN_TIME(0),input(&DEFAULT){}; -Ability::Ability(std::string name,std::string shortName,float cooldownTime,int manaCost,InputGroup*input,Pixel barColor1,Pixel barColor2,PrecastData precastInfo,bool canCancelCast) - :name(name),shortName(shortName),cooldown(0),COOLDOWN_TIME(cooldownTime),manaCost(manaCost),input(input),barColor1(barColor1),barColor2(barColor2),precastInfo(precastInfo),canCancelCast(canCancelCast){} \ No newline at end of file +Ability::Ability(std::string name,std::string shortName,float cooldownTime,int manaCost,InputGroup*input,std::string icon,Pixel barColor1,Pixel barColor2,PrecastData precastInfo,bool canCancelCast) + :name(name),shortName(shortName),cooldown(0),COOLDOWN_TIME(cooldownTime),manaCost(manaCost),input(input),icon("Ability Icons/"+icon),barColor1(barColor1),barColor2(barColor2),precastInfo(precastInfo),canCancelCast(canCancelCast){} \ No newline at end of file diff --git a/Crawler/Ability.h b/Crawler/Ability.h index 6c1d340c..3e2da7f3 100644 --- a/Crawler/Ability.h +++ b/Crawler/Ability.h @@ -27,8 +27,10 @@ struct Ability{ PrecastData precastInfo; bool canCancelCast=false; InputGroup*input; + std::string icon; std::functionaction=[](Player*,vf2d){return false;}; static InputGroup DEFAULT; Ability(); - Ability(std::string name,std::string shortName,float cooldownTime,int manaCost,InputGroup*input,Pixel barColor1=VERY_DARK_RED,Pixel barColor2=DARK_RED,PrecastData precastInfo={},bool canCancelCast=false); + //NOTE: icon expects the actual name relative to the "Ability Icons" directory for this constructor! + Ability(std::string name,std::string shortName,float cooldownTime,int manaCost,InputGroup*input,std::string icon,Pixel barColor1=VERY_DARK_RED,Pixel barColor2=DARK_RED,PrecastData precastInfo={},bool canCancelCast=false); }; \ No newline at end of file diff --git a/Crawler/Crawler.cpp b/Crawler/Crawler.cpp index 43a8716d..6e8031c9 100644 --- a/Crawler/Crawler.cpp +++ b/Crawler/Crawler.cpp @@ -1043,11 +1043,15 @@ void Crawler::RenderCooldowns(){ const auto DrawCooldown=[&](vf2d pos,Ability&a){ if(a.name!="???"){ if(a.cooldown>0.1){ + DrawDecal(pos,GFX[a.icon].Decal(),{1,1},{255,255,255,64}); DrawPie(pos+vf2d{12,12},12,360-(a.cooldown/a.COOLDOWN_TIME)*360,PixelLerp(a.barColor1,a.barColor2,(a.cooldown/a.COOLDOWN_TIME))); std::stringstream cooldownTimeDisplay; cooldownTimeDisplay<r^>d|u)MAxw(V++$tB$qpT1BO$vMoB+k*SOzYwg~b0AjZ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w$MJPE|hd5>w)u^1x2Br$^#{#uh3^P8*C;N4Yq}rqC+8gC@)}wenPC!5M4w$ z?EtPHeFfVuXMd&`2&-JBvZ)jpA+u>Pf~M6Nsj;ar3RrEljU)gGLgWpgdpH~KqugMQ z9r6gdf(07n3Z2oHs+muF<0}F}9w22HPGTX-2uPVyEPejrX=Jb=)Cwi6NR166G$g=C zN+rh#m7D~EPio~)$onP26DmU9AD&JsEQtNd)Jgv*-64fRD=4HTB!eq6ToGa|#q4n&g@I9inT9u4iK4nUsgBYlyCAV&IvShpOurqf7MUtO%TNgXe=M zL24{c!BgZ&>noY*NFA~indZV?+z%xYF5_Ykf=CjDYnXp;iWdsQd6U@?-Vre=T%A<^ z*(@IvP2>%W_%zNT966BSJ{T~lkL8O{VIRD3RrCb-heCoWeNMhHaJN8q_!K_6RQ!@J z^17X=Ozawc?LwT%8j-bUy!y;7-SlIZylLCa?cdjye>o-phmyJ- zF~?hxKg9eiuV)>-JjhRfMEKR2G+gLNcEm%ed`n$>Ff;OaZ)ol#NM oZ7Ngh@y|f_gC83wyd9VlHg#V_#iP;=NG4)3%uhc&w{Z1;0fdpjE&u=k literal 0 HcmV?d00001 diff --git a/Crawler/assets/Ability Icons/block.png b/Crawler/assets/Ability Icons/block.png new file mode 100644 index 0000000000000000000000000000000000000000..24355f6c5cbd7506867a0307b45495f06a9cfa0f GIT binary patch literal 4741 zcmeHLeNYo;8V@Q2P!vC^RB&8kKZJ3U-DH=LB>|BDi5Q50MSED??7jw}m3#hELGblQzL zoOX`S1Bg)M00{8#oJ8Vj-?sc(P&4NLw0G7#pNZ?S?GNAjIKK74%YQLu)TD2z{HCd| zG~n*tk2bd2vNgGp?eSu;5-Ph~m zwm-w~)YpVB&3cDy{bNk*qs1rwS#hAOWxWbr-y{u)S@8X%dzGiYbe6O$Kfm#>+RVV) zdzj@O5czWGx1S#IEtbc$S-BX$qw+fem8EBt(f^KI?*E29Cgtn54b8T$MVdqT()}-$ z21!2+*M5^#KA~#=nlJ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;Ph!_8D+hjku6=j!#-@&sHh#~7wXOQjG3qB zOF3cNjP9FF?e9Ko=dNy?vf{zSBl@;wp(g#kg|DyMSG%|V{)5d&4u(vba(9V&y?N>J zw7%2;y-&+qS7LhZm(NsZ;z{4x zl&zIl?r4j5UwfAW>IZWVZm3*82dI-9{L9~5^hBupb74oeQu(8IS2mXqJ1 Qhl)vziK+S%OV*bE7hj68>i_@% literal 0 HcmV?d00001 diff --git a/Crawler/assets/Ability Icons/groundslam.png b/Crawler/assets/Ability Icons/groundslam.png new file mode 100644 index 0000000000000000000000000000000000000000..033736b01f1af4a51360d2b38d189d4159b45e4c GIT binary patch literal 4559 zcmeHKc~BH*7H?r?02dXHgebeTO^8C-Gd&kD9R@^ZWCj^PKmmn>o<5*;E@m2LI1&|& zyDplA0<%#GlDLpHMl>o)f&@8Sv`m&IQ+>Vf zz2AH9_ulu__iax~i1qPa;0-~Lk5;2f22Vf!^7H`rKD%-VJiaeVP3MvcJ8ZF<8P-6< zT%m=AX$Q+dkmK^sRabU)VxEuf^V8fs9@qN!2W1J?JxMTBXRcX0P`-nJv6`(v-Y?#| z@5?6ZXQ}H?RD0Fe|J5hDj#xQZaeTPqleHx`z7E0QHZ)LPP$GCeyvTGtAm=B4&ba>f zUu5Ne`mgV{iz3T!_rp1Go}vEJsJqeaf78T%jPExzM%0`*bnkdkz^-=1cj@z9+8uXp zTa$#{TysTxFa6S^TG_8!Htp_SvCRL> z%PDms^93(z^3EomX%mJZ33Y!^A4$6GeF%Ru^U)$1t4YrEpWa)#C7^7z;Mtt4-(*gY zzU$t3;f(fkb=>2ZlXHE)Y0Hbcey#Xwi~H6UuN`30ew`#guUULUFKk6TUi!QYbMxzX zzcXIBJL7D-t>juqS8wx@?te!P_TNhLe!;y2$=floO?@gMqJ6r5KG}HI7dzsU znR!xPIIHREv~4xqxpMz=i788-**qwHR3CvkX52gUQA^{4yhjjq;9%XtzP{Oh=&A>M zx|)me;^D#ggRKF6cdY|{4S{W-MGIKais`y|o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03^Imqmu9{v z*&EmEwX8m5Z}NS1oh{F^QGCH#dg`iPyl~xo<1@w7L(Q@N=9TB8b~pU?InQIm7pz|( zHsgDU=;THJ4aUB+)u$QzYPO<4K4%>Rt^KxVcvEr8L;pJ)!}A0Shc;fVie5SwPz!0* L395$W*`@yh<2#D6 literal 0 HcmV?d00001 diff --git a/Crawler/assets/Ability Icons/sonicslash.png b/Crawler/assets/Ability Icons/sonicslash.png new file mode 100644 index 0000000000000000000000000000000000000000..aa2bdd5bc39bb5a3370fd1931a8f7075ee9aa1f3 GIT binary patch literal 4560 zcmeHKdsGuw8XrVJV^OK7)JHqS`rb(<$xI&8M8ptCs=*jiwH6UW{D9Xd=vU}8Rw*qPpZr!rhwz%6Wl=|2^0RhkUoIRYg{g31% zbLV^f?)Uxf_uX^vR#S3Pq+o&of}lu)KEVv0G5l{>IQVb%X*$8{MR5}j z?w(M^Og@~Z<)4YsvtynvV6~@x3L@H^reu^xAzRWKcgY# z-t5?rKm8>FC-(jL@qzTDxNm-E->gu|vTIgvQ$K;Akj<=CYcgoHPtyj;7O&f-(bvtL z)UYz8WY*Y-SM-?|O%3NovxLbd+jPfFErKJ&{?x8mjMbY{CxulI^n>$-{RmtjV_D*rfR_zDBnpxjg z|7G~{ot?YxRy4Yb=Z_qrmeKU5-uhVU@z2hCB2HBN{`rMbNztzzUK`t1QJb^<#ImyE zpKE>`u_?@>>>)31s$`~jYq7&-Be=jQEMyd!!H+fuNmvo1eQCn`*xxa#))q_MMJ z4vcynQB#R;-#x}@Mn`frO%DRYMmL2OWnF(f=k&K<4R3uj{OHNkH7$^Bj^V>Ir!GdJ z$0Acx&)_+uKDrUIQfIgyCAx(ykuf)>*yF{ z(SxEu9pV=&^!==Ur1m$vwNZMs(M1F@G6et9#{?=I1=_d zGMrw*uMq}u2{7ixVj&zf;nFq2rA8C1b$J*V6Ja70(fQeIsc?<}R(oh0VNOWwfdFqB zVH(G|39;Dc^ND;ik;`KjOH?YA7?p~pQUq8a-W(@K`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/Crawler/assets/config/classes/Ranger.txt index 750c80e3..073f92e4 100644 --- a/Crawler/assets/config/classes/Ranger.txt +++ b/Crawler/assets/config/classes/Ranger.txt @@ -17,6 +17,7 @@ Ranger { Name = Retreat Short Name = B.STEP + Icon = block.png Cooldown = 7 Mana Cost = 0 # Whether or not this ability cancels casts. @@ -39,6 +40,7 @@ Ranger { Name = Rapid Fire Short Name = RAPID + Icon = block.png Cooldown = 12 Mana Cost = 35 # Whether or not this ability cancels casts. @@ -70,6 +72,7 @@ Ranger { Name = Charged Shot Short Name = CHRG.S + Icon = block.png Cooldown = 15 Mana Cost = 40 # Whether or not this ability cancels casts. @@ -99,6 +102,7 @@ Ranger { Name = Multishot Short Name = MULTI + Icon = block.png Cooldown = 25 Mana Cost = 50 # Whether or not this ability cancels casts. diff --git a/Crawler/assets/config/classes/Thief.txt b/Crawler/assets/config/classes/Thief.txt index eee66fec..bddf9f92 100644 --- a/Crawler/assets/config/classes/Thief.txt +++ b/Crawler/assets/config/classes/Thief.txt @@ -6,6 +6,7 @@ Thief { Name = ??? Short Name = ??? + Icon = block.png Cooldown = 8 Mana Cost = 5 # Whether or not this ability cancels casts. @@ -23,6 +24,7 @@ Thief { Name = ??? Short Name = ??? + Icon = block.png Cooldown = 6 Mana Cost = 30 # Whether or not this ability cancels casts. @@ -40,6 +42,7 @@ Thief { Name = ??? Short Name = ??? + Icon = block.png Cooldown = 6 Mana Cost = 25 # Whether or not this ability cancels casts. @@ -57,6 +60,7 @@ Thief { Name = ??? Short Name = ??? + Icon = block.png Cooldown = 40 Mana Cost = 75 # Whether or not this ability cancels casts. diff --git a/Crawler/assets/config/classes/Trapper.txt b/Crawler/assets/config/classes/Trapper.txt index 6e0866fe..a58068fa 100644 --- a/Crawler/assets/config/classes/Trapper.txt +++ b/Crawler/assets/config/classes/Trapper.txt @@ -6,6 +6,7 @@ Trapper { Name = ??? Short Name = ??? + Icon = block.png Cooldown = 8 Mana Cost = 5 # Whether or not this ability cancels casts. @@ -23,6 +24,7 @@ Trapper { Name = ??? Short Name = ??? + Icon = block.png Cooldown = 6 Mana Cost = 30 # Whether or not this ability cancels casts. @@ -40,6 +42,7 @@ Trapper { Name = ??? Short Name = ??? + Icon = block.png Cooldown = 6 Mana Cost = 25 # Whether or not this ability cancels casts. @@ -57,6 +60,7 @@ Trapper { Name = ??? Short Name = ??? + Icon = block.png Cooldown = 40 Mana Cost = 75 # Whether or not this ability cancels casts. diff --git a/Crawler/assets/config/classes/Warrior.txt b/Crawler/assets/config/classes/Warrior.txt index 538eac48..3761fad9 100644 --- a/Crawler/assets/config/classes/Warrior.txt +++ b/Crawler/assets/config/classes/Warrior.txt @@ -16,6 +16,7 @@ Warrior { Name = Block Short Name = BLOCK + Icon = block.png Cooldown = 15 Mana Cost = 0 # Whether or not this ability cancels casts. @@ -41,6 +42,7 @@ Warrior { Name = Battlecry Short Name = B.CRY + Icon = battlecry.png Cooldown = 12 Mana Cost = 40 # Whether or not this ability cancels casts. @@ -86,6 +88,7 @@ Warrior { Name = Ground Slam Short Name = SLAM + Icon = groundslam.png Cooldown = 15 Mana Cost = 50 # Whether or not this ability cancels casts. @@ -117,6 +120,7 @@ Warrior { Name = Sonic Slash Short Name = S.SLASH + Icon = sonicslash.png Cooldown = 40 Mana Cost = 60 # Whether or not this ability cancels casts. diff --git a/Crawler/assets/config/classes/Witch.txt b/Crawler/assets/config/classes/Witch.txt index a28f09ab..c3a900b4 100644 --- a/Crawler/assets/config/classes/Witch.txt +++ b/Crawler/assets/config/classes/Witch.txt @@ -6,6 +6,7 @@ Witch { Name = ??? Short Name = ??? + Icon = block.png Cooldown = 8 Mana Cost = 5 # Whether or not this ability cancels casts. @@ -23,6 +24,7 @@ Witch { Name = ??? Short Name = ??? + Icon = block.png Cooldown = 6 Mana Cost = 30 # Whether or not this ability cancels casts. @@ -40,6 +42,7 @@ Witch { Name = ??? Short Name = ??? + Icon = block.png Cooldown = 6 Mana Cost = 25 # Whether or not this ability cancels casts. @@ -57,6 +60,7 @@ Witch { Name = ??? Short Name = ??? + Icon = block.png Cooldown = 40 Mana Cost = 75 # Whether or not this ability cancels casts. diff --git a/Crawler/assets/config/classes/Wizard.txt b/Crawler/assets/config/classes/Wizard.txt index 84df925b..b84467b3 100644 --- a/Crawler/assets/config/classes/Wizard.txt +++ b/Crawler/assets/config/classes/Wizard.txt @@ -29,6 +29,7 @@ Wizard { Name = Teleport Short Name = TELE + Icon = block.png Cooldown = 8 Mana Cost = 5 # Whether or not this ability cancels casts. @@ -68,6 +69,7 @@ Wizard { Name = Firebolt Short Name = F.BOLT + Icon = block.png Cooldown = 6 Mana Cost = 30 # Whether or not this ability cancels casts. @@ -133,6 +135,7 @@ Wizard { Name = Lightning Bolt Short Name = L.BOLT + Icon = block.png Cooldown = 6 Mana Cost = 25 # Whether or not this ability cancels casts. @@ -188,6 +191,7 @@ Wizard { Name = Meteor Short Name = METEOR + Icon = block.png Cooldown = 40 Mana Cost = 75 # Whether or not this ability cancels casts. diff --git a/Crawler/assets/config/gfx/gfx.txt b/Crawler/assets/config/gfx/gfx.txt index 981aa74b..650c8014 100644 --- a/Crawler/assets/config/gfx/gfx.txt +++ b/Crawler/assets/config/gfx/gfx.txt @@ -38,4 +38,10 @@ Images GFX_SlimeKing_Cast = monsters/Slime King - Cast.png GFX_SkillOverlayIcon = skill_overlay_icon.png GFX_SkillOverlayIconOverlay = skill_overlay_icon_overlay.png + + # Ability Icons + GFX_Warrior_BattleCry_Icon = Ability Icons/battlecry.png + GFX_Warrior_Block_Icon = Ability Icons/block.png + GFX_Warrior_GroundSlam_Icon = Ability Icons/groundslam.png + GFX_Warrior_SonicSlash_Icon = Ability Icons/sonicslash.png } \ No newline at end of file