Instead, the scaling of the game movies is becoming a nightmare. The matter is this: the game renders many movie sequences inside small windows that have to be scaled proportionally to the game full window size. Then the game renders the movie with mciSendCommand and mciSendString calls where the windows coordinates are scaled accordingly with the command "put 1641111 destination at 0 0 240 172". After that, if the movie is played with GDI scaling "none" the movie is perfect, but the other elements...
.rc10 scaling of CreateDIBSection coordinates in stretched mode on video DC fixed SearchPathA/W wrappers about fake devices fixed automatic connection to VIDC codec in Microsoft Video for Windows made FIXMOUSELPARAM flag independent from MODIFYMOUSE flag fixed mciSendCommand wrapper preserving the lpstrElementName pointer value fixed mciSendString wrappers to trim multiple space separators
.rc10 ... to be described ...
Fixed. I made the "Fix mouse lParam" flag independent from "Correct mouse position". Now setting only "Fix mouse lParam" and not setting "Correct mouse position" makes the game work (almost) perfectly. At least, it is perfectly playable. I still have big troubles with the windowed movies, but this can wait. I'm releasing a .rc10 ...
Fixed. I made the "Fix mouse lParam" flag independent from "Correct mouse position". Now setting only "Fix mouse lParam" and not setting "Correct mouse position" makes the game work (almost) perfectly. At least, it is perfectly playable. I still have big troubles with the windowed movies, but this can wait. I'm releasing a .rc10 ...
I suppose so, but this time it's telling something meaningful, at least. If it's AI it is growing damned clever! In any case I'm not going to use the link.
Update: I found experimentally that initializing dxw.MustFixCoordinates = FALSE inside dxwCore.InitTarget() and enabling FixMessageLParam unconditionally the game works. At the moment there is no flag combination that allow this behavior, but I'm going to devise a way to get the effect by configuration and without building a special version ....
Also, tonight I dreamed a possible cause for the scroll problem and I tested it now: the scroll bar works perfectly if I turn off the mouse coordinate scaling, though this way it is difficult to grab the puzzle pieces. I have to disable the mouse scaling only over windows of the "SCROLL" class. About the scrolling window bar (and maybe other system classes like "BUTTON") I still have a few questions to investigate at a later time. edit: at the moment I'm stuck in trying to understand how the SCROLLBAR...