Reply to Re: Dink Smallwood v1.08 Beta 2
If you don't have an account, just leave the password field blank.
And also:
bool bWindowedOnlyWorksCorrectlyWithVeryEarlyVersion = true
But the error detection should be helpful, that way it can indicate at what point the DirectDraw startup goes wrong.
Now that I think about it, it looks like it first starts in fullscreen and then does the windowed again, it could be that it's now trying to flip surfaces in windowed mode, which is not possible because it's no longer a flippable one (aka, it tries to flip like in fullscreen, but then the while loop (the one with the three ddrval checks) kicks in which would always fail, could explain the CPU 100% part). That's my current guess, but the error checking/detection would be helpful.
Still odd because others don't have it so the code should work ok as it is.
bool bWindowedOnlyWorksCorrectlyWithVeryEarlyVersion = true
But the error detection should be helpful, that way it can indicate at what point the DirectDraw startup goes wrong.
Now that I think about it, it looks like it first starts in fullscreen and then does the windowed again, it could be that it's now trying to flip surfaces in windowed mode, which is not possible because it's no longer a flippable one (aka, it tries to flip like in fullscreen, but then the while loop (the one with the three ddrval checks) kicks in which would always fail, could explain the CPU 100% part). That's my current guess, but the error checking/detection would be helpful.
Still odd because others don't have it so the code should work ok as it is.