I've been reading through TOTWGPG, and I've come to the loading bitmaps in directdraw part, except when Andre LaMothe writes the function for loading a bitmap, it's in C! Or, well maybe it's that and I'm not used to it.
It uses lread, and lseek, and all that other stuff. And I don't want to always have to link the GDI to directdraw to BitBlt the bitmap.
So I was wondering:
Can anyone put up a bitmap loading function that uses ifstream?
Thanks.