Starting D4, actorList is implemented and all the documentation
points to the use of it, however with testing it has been found
that the support for mAtFrame is never removed, both of these
can be used in parallel, hence adding support for mAtFrame hook
in future director versions.
`Hierarchical Bird` of 'theapartment4' which is built for director 4
uses legacy mAtFrame hook.
If the illegal character scanner flags the final character, it
shouldn't continue on try to process the tail - it's the end of the
string, and indexing past that is invalid.
Cursor is handled differently in this Mac port, i.e. without
setting values in the _cursor object. The CursorManager
doesn't exactly like that, so in this commit I've provided a
post-load fix and a fix for the cursor initialization itself.
It doesn't do anything, since food is bought for the whole
party rather than one user at a time. But it doesn't hurt,
and may help avoid players getting confused.
This commit implements proper loading of savestates saved from
the original menu in v0-3 games and loaded either from launcher
or GMM. Why is all of this necessary? It is because these saves
are built under the assumption that they will be reloaded from the
main menu room, and that therefore there will be a graceful
termination of the global script handling the main menu.
Terminating said script gracefully implies cleaning up variables,
stopping menu related scripts, and reboot other scripts which had
previously been stopped.
This certainly doesn't happen when reloading said savestates from
the GMM/launcher, and what instead happens is, in order:
- The game loads from the menu room;
- The menu scripts continues from an inconsistent location,
effectively re-saving the game;
- This invalidates the thumbnail of the savestate, which will now
show a picture of the menu;
- Closing the menu gets the user back to the saved state,
with probably an inconsistent state of some variables and scripts.
This fixes all of this, by detecting if we are loading a savestate
saved from the original menu, and by manually running the correct
script operations for each game in order to correctly close the
menu and resume the game.
Please note that this commit works under different assumptions
from the ones pertaining the already available post-load fixes
(which assume that you are saving the game from GMM).
This reverts commit 72d890b751.
This brought a regression of turning sound in many games.
It breaks again the7colors when exiting the car:
--start-movie=03CAR:xn--Car.IO-ma28a:CarOutSideView03