[ scummvm-Patches-651882 ] SAM: Final (?) noir mode fix
noreply at sourceforge.net
noreply at sourceforge.net
Wed Dec 11 09:15:25 CET 2002
Patches item #651882, was opened at 2002-12-11 09:15
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=651882&group_id=37116
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: SAM: Final (?) noir mode fix
Initial Comment:
Currently, Sam & Max ends noir mode by reloading the
palette. Unfortunately this also undoes any palette
manipulation (darkening, etc.) that the game may have
made. For instance, in Sam's and Max's office, if you
turn on noir mode, turn off the light, and turn off
noir mode, the room will no longer appear dark.
This isn't really a ScummVM bug, since the same
behaviour can be seen with the original interpreter as
well. But since our implementation of noir mode never
touches ScummVM's palette, there's no need to reload
the palette. We just have to mark all colours as dirty
and let updatePalette() do the rest.
So that's what this patch does.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=651882&group_id=37116
More information about the Scummvm-tracker
mailing list