Hello,
I hope I'm posting this in the right place. I thought there used to be an extension development forum but I couldn't find it.
I want to create an extension that ideally would augment the way the game viewport is upscaled when "Resize display to fill window size" is checked. I'm assuming this would involve calling WinGetSurface, processing the pixel values myself, and then... well... I'm not really sure.
Let's assume my game is 640x480. I call WinGetSurface and process the pixel values, creating a 1280x960 cSurface. How can I get MMF to display this surface, considering its main surface is still only 640x480? In my mind there are two options:
1.) Somehow resize the cSurface attached to the main window, then blit the new stuff onto it. Except, I can't seem to find a function in the documentation that says it does this. Even if there was one, I wonder if it would do what I'd expect it to when the surface gets drawn.
2.) Try and set up the window to draw the new surface myself. Except, wouldn't MMF be wasting processing power by still drawing the old surface underneath? How can I stop that from happening?
If someone who knows about the MMF2 SDK could nudge me in the right direction, I'd be very grateful.
Thanks,
Sebastian