It seems that this bug is somehow caused by the way we handle priority in the picture drawing code (vector floodfill routines), in particular GfxPicture::vectorFloodFill() inside sci/graphics/picture.cpp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to put some color clipping code in GfxPicture::vectorFloodFill(), clipping display colors to 0-15 (like in kGraphDrawLine(), kGraphFillBoxAny() and kNewWindow()). This fixes the flood fill for that scene, although the lines surrounding the flood fill are still white. Is this the proper solution for this bug, though? m_kiewitz?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Screenshot
Savegame
savegame: to enter problematic area, head south.
Happens when entering room 48
It seems that this bug is somehow caused by the way we handle priority in the picture drawing code (vector floodfill routines), in particular GfxPicture::vectorFloodFill() inside sci/graphics/picture.cpp
Forgot to mention that the whiteness comes from the priority screen
I tried to put some color clipping code in GfxPicture::vectorFloodFill(), clipping display colors to 0-15 (like in kGraphDrawLine(), kGraphFillBoxAny() and kNewWindow()). This fixes the flood fill for that scene, although the lines surrounding the flood fill are still white. Is this the proper solution for this bug, though? m_kiewitz?
Fixed in rev #54690