SDLToWin32




What is this?

This code allows you to draw to and SDL surface as you normally would, but then blit the contents of this surface to a Win32 window.

I wrote this because I required a Windows GUI level editor that drew the levels using the same code that the game did.  This way you can get a good feel as to what the level will look like in the game the  level as you edit it.

An MFC example is provided:



screenshot


What do I need this for?

Where is it?

A zip file with the source code and MFC example is here:


              zip SDLToWin32.zip


Where can I contact the author?


You can usually contact me via the SDL Mailing List


Tom Wilson (2005)