KYRA: more sequence player code
|Reported by:||athrxx||Owned by:||vinterstum|
Here is some more sequence player code for Hand of Fate. The outro is now mostly in. It can be tested by switching the two lines in KyraEngine_v2::go(). The scrolling screen with the names of the voice actors is still missing.
This time I used both disasms of the FM-Towns and DOS executables. There are some important differences here. After realizing this I also reworked the intro code using the DOS disasm. The problem with the cut off sub sequences (especially Marco) is mostly solved for the DOS version. As you will notice the sub sequences simply get unloaded much later than those in the FM-Towns version. I still don't get how the Towns version is supposed to work (but it looks fine with UNZ).
I have commented out the line that stops voice playback in Sound::voicePlay(), because some sentences and sfx will be cut off otherwise. The behaviour is still not the same as it should be: multiple speech/sfx files gets played simultaneously where the orginal seems to "queue" them.
I tried to stick to vinterstum's advise. At least, I managed to avoid hex numbers this time ;-)
Ticket imported from: #1824376. Ticket imported from: patches/844.