- Joined
- Jan 1, 2009
- Messages
- 1,617
After a small summer break we return this month with many bugfixes and improvements to WurstScript quality of life and overall user experience.
Make sure your wurst setup tool is up to date and then update your wurst installation to get improved handling of wc3 patch versions, some new code inspection warnings, and new optimizer features.
Tool updates
- The VSCode runmap command now more reliably detects patch level - fixes several cases of "black screen" when starting the game.
- Warnings and errors about *improper usage of
@compiletime
* have been added, which aids in avoiding some user level programming issues. - A handful of new wurst optimizer features (see below).
- Valid function names in Wurst, such as 'set' and 'debug' no longer generate invalid output Jass.
- We have updated JMPQ once again to improve performance and compatibility of wurst with maps not built with the vanilla world editor, e.g. YDWE and w3x2ini (Thanks to @WaterKnight)
- Shoutout to users @dulingzhi and @DengSir for contributions to the VSCode editor experience: Highlighting improved (PR #36), and language-server now better starts automatically (PR #37)
Standard library
Many new features and many merged pull requests! The standard library is doing great - here are some notable changes:
- The Upgrade Object Editing package has been improved and completed by #77
- Missing extension functions and tuple wrappers have been added by #79, #80, #81, #82, #84, #85, #86, #87, #88, #89, #90, #91
- The
TerrainUtils
package has been refactored for better integration and advanced functionality by #67 LinkedList#sort
has been fixed to not have exponential performance anymoreClosureEvents
have been added to the standard library. A new package for easy encapsulated event listening.
Code Sample:Wurst:EventListener.onPointCast(hero, MY_SPELL) (caster, target) -> forUnitsInRange(target, 256) victim -> caster.damageTarget(victim)
Last edited: