This is a proposed solution for bug report #14855
The workaround, enableEditListBoundsCheckQuirk(true), is applied to movies
loaded with Movie::initFromMovieFile(), which is where the problematic video file
is loaded from.
The problematic video file is under path "Images/AI/Caldoria/XAE1"
Not all files loaded from Movie::initFromMovieFile() need the workaround, but for the few I tested, it didn't seem to have side-effects on them.
This change, as of yet, does not apply the workaround to video files loaded elsewhere in the engine (ie. outside Movie::initFromMovieFile())
Now interpreting page breaks in scrolls and books. Verified the behaviour
of those two gumps in dosbox. Also verified that plaques treat '*' as a
linebreak.
Fixes#14833.
Apparently it is possible to send events if there are no frames (e.g. a
movie with no Score data and a script which redirects to another movie).
Fixes occasional crashes when starting Team Xtreme: Operation Weather
Disaster.
If the game is paused when the engine is being destructed, unpause it
immediately. Otherwise, it will happen automatically later when the
engine is in a semi-destructed state, causing it to crash.
Moves the update for rewind/movieRate into isModified; having them in
createWidget means they are likely to be missed.
Fixes multiple stuck cutscenes in The Dark Eye.
The "Open map" action used in nancy3/nancy6's
RaycastPuzzle interfered with general keyboard input,
causing whichever key was bound to it to not fire.
Effectively, this meant that inputting the letter 'm' was
impossible. This commit makes sure the binding is
deactivated whenever text input is needed.
A fix for some broken nancy3 phone calls resulted in
the nancy1 hint system not working. This commit makes
sure the fix only applies to later games, which do not use
the HintSystem action record.
If there are unicode characters in the link, it was leading to
wrong length calculation.
Example of such link:
{w=10em}
The problem is that for simplicity, we are working with UTF8 in
Markdown, but still with U32String in MacTextCanvas. This led to
the string length be calculated for UTF8, which is a multibyte
encoding. As a result, we were overshooting the link parsing
and reading texts as numbers.
This is kind of a hacky solution: we convert text to U32 before
caluclating the string length