Repository navigation
Moonwell 0.13.4
Moonwell 0.13.4 fixes what building a WoW-style UI on Moonwell.Frames ran into: the game's own HUD now stays the way a map leaves it, and the build stops the calls that crash the game on the HUD's texts and textures. A map on 0.13.3 builds on it unchanged, and its object data comes out the same.
The full suite passes, and Moonwell's cases pass on .NET and in Lua, in development and release builds. The GameUi changes were checked in the game (3.0.1.24371), in single player, in classic graphics. Multiplayer checks are still to come.
Fixed
GameUiholds with the HUD hidden:- command and item buttons take the game's frames they sit in along when they move, so nothing is left behind taking clicks;
- the hidden HUD hides the invisible frame that blocked clicks where the command card was, and turns the game's own placing off once a piece is moved;
- the hero buttons' glows stay hidden;
- item buttons show on their own, without the inventory's text and cover art;
- what the game shows again by itself, and after a letterboxed cinematic, is set again.
- Two builds of one map at once: a second build now waits for the first, where it crashed the build tool.
- A frame's parent and children can be read outside
Local.For(BlzFrameGetParent,BlzFrameGetChild,BlzFrameGetChildrenCount); two rules together refused them everywhere.
New
- The game's HUD as pieces:
SelectionIcons(the units selected together, movable),UnitDetails,UnitName(a unit's or building's name line),InventoryText,InventoryCoverandBuildQueue(a building's training queue, a click on a queued icon cancelling it), each with aVisiblethat holds. - MW0057: the build refuses the natives that crash the game when given one of its HUD's texts or textures found by name (
BlzFrameSetAlphaonSimpleNameValueand the like). The list of 117 names is read from the game's own frame files. Unit.Icon: a unit's icon, read on one machine (Local.For), as some units' icons differ between Classic and Reforged.unit.Default.Iconnow works on any unit.Game.LogAtOnce: a development build writes Moonwell's log at once on every line, so a crash to the desktop keeps the last lines. A busy map can turn it off; a release build can turn it on to hunt a crash.-framesin a development build writes the game's frame tree toCustomMapData\Moonwell\frames.txt.
Known
- A cinematic a map makes with the game's natives, not
Cinematic.Play, does not set the HUD again after it. - Multiplayer is not checked yet, nor a game in another language.