erg.
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Tilesets and Windowed mode.
the use of LoadImage/GetDC is still a perfectly suitable way to do the image conversion. however, nobody ever said that you have to blit the ENTIRE bitmap image onto the surface. you could just blit a portion of it, lock that surface, and pull the image data out of it (thus saving yourself the trouble of writing your own conversion code). so, you could work with just a single surface, BitBlt the bitmap onto it however many times you need to to get all of the image data out and into whatever user-defined structure you want. of course, you'll then have to write custom blitting code, and make special code for allowing transparency and whatnot.