.rc13 fixed (reverted) a bug in GreateDIBSection wrapper. Fixes rendering problems in "The Mystery at Revenholm"
.rc13 fixed (reverted) a bug in GreateDIBSection wrapper. Fixes rendering problems in "The Mystery at Revenholm"
I got the error: in the CreateDIBSection the DIB size must NOT be scaled, even when the HDC is of the video type. My mistake, we are creating a DIB, not a DC. I apologize and will post a fix in the W.I.P. thread right away!
I am puzzled, the mystery of the Mystery at Greveholm is thickening. While I was making several tests and after trying the 16 bit version, the greve32.exe all of the sudden started to work!!! The problem is that now it works with correct text and panel transitions, but the configuration didn't change and it works also with a previous dxwnd release. As if something changed in my computer capabilities and now the game is using some safer mode to render to video. BTW the greve16.exe doesn't work for...
One possible explanation could be that some image transfers are not made by a blit operation and instead the game points to DC buffers and makes a pixel transfer with a memcpy or worse. In this case, dropping pixel bytes from surfaces of different sizes (like the different size of a memory DC vs. a scaled video DC) would produce the slanted effect that we see in the screenshots. Here in attach some screenshots of the load panel with slightly different sizes. It should be noted that differences of...
One possible explanation could be that some image transfers are not made by a blit operation and instead the game points to DC buffers and makes a pixel transfer with a memcpy or worse. In this case, dropping pixel bytes from surfaces of different sizes (like the different size of a memory DC vs. a scaled video DC) would produce the slanted effect that we see in the screenshots. Here in attach some screenshots of the load panel with slightly different sizes. It should be noted that differences of...
@CrazyC : Have you any theory about this black-panels problem? What makes it even more curious is the fact that it doesn't always happen but it shows only on certain screen transitions. For instance, in the initial screen (the screen where the two ghosts fly sideways) it happens if you go to the right but it doesn't happen if you go forward or backward. Could it be due to some badly sized of the clipping area ? In effect, I now found that both the black-panel and the black-text problems disappear...
@CrazyC : Have you any theory about this black-panels problem? What makes it even more curious is the fact that it doesn't always happen but it shows only on certain screen transitions. For instance, in the initial screen (the screen where the two ghosts fly sideways) it happens if you go to the right but it doesn't happen if you go forward or backward. Could it be due to some badly sized of the clipping area ? In effect, I now found that both the black-panel and the black-text problems disappear...