XMIDI callback control events
|Reported by:||eriktorbjorn||Owned by:||eriktorbjorn|
|Cc:||Game:||Simon the Sorcerer 2|
This patch should be enough to implement the XMIDI callback controller event. Basically, it just adds some optional parameters to createParser_XMIDI(), so that a callback function can be specified.
However, I'm a bit torn... The main reason (for me) would be to silence the warnings in the DOS version of Simon the Sorcerer 2. This is fine, because the game doesn't actually seem to *use* the callback events. But it would also silence the warnings for games where we want the warning, because some feature is actually missing.
So maybe there should be a default callback that prints a message, and any engine that doesn't want this would have to explicitly say so?
Ticket imported from: #2040074. Ticket imported from: patches/1010.