Skip to content

v2.5.1

Latest

Choose a tag to compare

@538Michael 538Michael released this 20 Feb 05:49

What's Changed

Code cleanup

  • Add DrawAtNextIconPosition function to UIElementUtils — replaces duplicated icon positioning pattern across 7 files
  • Add DrawHoverTextOnCursor function to UIElementUtils — replaces duplicated hover text pattern across 8 files
  • Add DefaultIconScale constant to UIElementUtils — replaces magic number 8/3f across 3 files
  • Add DrawTextWithShadow function to UIElementUtils — replaces duplicated shadow text drawing in ShopHarvestPrices, LocationOfTownsfolk, and ShowItemHoverInformation
  • Add CreateNPCHeadIcon function in ShowItemHoverInformation — replaces duplicated NPC head icon creation for Gunther and Professor Snail

Full Changelog: v2.5.0...v2.5.1