forked from scummvm/scummvm
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DIRECTOR: Ensure channel sprite information is up to date
Previously there was a gap between loading a new frame, and copying the sprite information from that new frame back to the channels (if required). Scripts could run in this gap, and in this case they would be operating on the old sprite information instead of the new. Score::renderFrame has been renamed to Score::updateFrame; the method doesn't actually render anything, it reconciles the difference between the frame data and the channel data, updates the channel data, and produces a list of dirty rects. Fixes the menu screen of Majestic: Alien Encounter. Fixes director-tests/D4-unit/T_SPRT02 and T_SPRT03
- Loading branch information
1 parent
41cea48
commit ff7cdff
Showing
4 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters