ws-audio2: music/ult (UltraTracker): it family, two effect columns folded into the IT volume column, sustain loops, auto tone portamento (also from the volume column)

This commit is contained in:
4DBug committed 2026-10-31 14:25:08 -05:00
1 parent 80f5fd2c5b
commit f3299bf70f
8 files changed
+489 -2

No files matched your search

@@ -201,6 +201,10 @@ function Load.fillTwo(e1: string?, p1: number, e2: string?, p2: number): (number
for n = 0, 3 do
local v = Load.itVolume(e1, p1, n > 1)
if e1 == nil or v then
if v == nil and (e2 == "volume" or e2 == "volume8") then
-- the engine's IT family sets volumes in the volume column only
return Load.itVolume(e2, p2, true) or 0, nil, 0, nil, 0
end
return v or 0, e2, p2, nil, 0
end
e1, p1, e2, p2 = e2, p2, e1, p1