What's new in v0.0.5
WC3 — Gameplay
Hover health bars — moving the cursor over an enemy or neutral unit now shows a health bar above it. The cursor tints red for hostile units; the hover ring is green for allies, yellow for passive allies, and red for enemies.
Nearest resource drop-off — peasants now walk to the closest compatible building with a return-resource (Artn) ability rather than always seeking the Town Hall. Lumber mills are preferred over distant town halls, and if the chosen building dies in transit the worker automatically retargets to the next nearest compatible drop-off.
Gold mining overhaul — mine capacity, duration, and maximum gold are now read from each mine's own AbilityData.slk row rather than process-wide globals. Multiple differently-configured mines on the same map are supported. Workers inside a mine are flagged invulnerable and non-orderable; occupancy is generation-guarded so edict recycling cannot double-decrement. Gold depletes to zero with a correct partial final trip, and waiting workers wake up and re-enter once a slot frees.
Trained unit exit placement — units no longer get stuck inside large building footprints when training completes. The exit search now walks deterministic square rings outward, testing both the baked static pathmap and live unit-circle collisions at every candidate. Units that cannot exit (fully blocked) stay hidden in the training queue and retry each tick.
Inventory system — six-slot per-unit inventory with right-click contextual pickup, movement-into-range revalidation, hidden/unlinked carried-item entities, drop/remove/JASS lifecycle paths, and AInv capability checks. Item data is driven by UnitUI.slk.
Destructibles — breakable destructibles with hit-point lifecycle, random item-drop tables (per-map and inline), scripted activation for hidden crates, and persistent shadow/animation during the death sequence.
Sounds
- Positional stereo playback — panning and attenuation based on source distance and angle
- Chop and tree-fall sounds driven by
UnitCombatSounds.slk - Order confirmation sounds and JASS
PlaySound/PlaySoundAtPointnatives - Fix WC3 MPQ voice decompression (broken Huffman path)
- Sound-index wire type widened from 8-bit to 16-bit;
MAX_SOUNDSraised from 256 to 512
Other fixes
- Fix carried-resource render entity lifetime (entity freed while still referenced)
- Fix lumber and gold return deposit interaction range
SC2 — Campaign
- Galaxy scripting mode: campaign intro triggers, cargo/order natives, curved road rendering, scripted camera transitions with exponential low-pass smoothing
- Complete console UI chrome in-map
- Fix dropship flight height, intro movement, and cargo-unload sequencing
- Optimize Human02 waterfall fog and FOW update
Renderer
- Smooth cliff normals across map seams via shared terrain-grid normal computation
- Change-detection uniform uploads (skip unchanged uniforms each frame)
- GLSL 120 float-literal and compatibility fixes
- SC2 emissive glow rendered inline (removes a second scene pass)
WoW
- Reclaim streaming world textures by Q2-style registration sequence
CI / Platform
- Windows build and release artifacts (Linux, macOS, Windows on every release)
- Linux arm / Ubuntu 22.04
strlcompatibility (-DCOMPAT_STRL)