MusicPlus core: Song length, positioning, and fading features with Linedef Exec and Lua support
Compare changes
This is the reason why music-cleanup
was proposed (!278 (merged)). This is also a prerequisite for libopenmpt and non-native MIDI.
This branch adds music seeking and fading to the engine, as well as Linedef Exec and Lua support.
See comments for Linedef Exec and Lua documentation.
LENGTHMS=milliseconds
music.dta
could use this treatment for future releases.Mix_FadeIn/OutMusic()
methods due to these reasons:
musichelp
in console for a list of these
musicchange MAP02M 1 0 10000 2000 1000
- Switch to MAP02M music, looping enabled (1), track 0, jump to position 10000, fade out for 2000 ms, fade in for 1000 ms