   loading bitmaps without windows
  I need help loading a bitmap in full screen mode.can any one help 
  Haha, loading a bitmap without using Windows?? Sir, I''m sorry but unless your using SDL, the only way you can load a bitmap is with Windows. FYI bitmaps are a Windows format so loading one without using Windows would seem a bit...odd...   R.I.P. Mark OsbackSolo Pa Mi GenteVG-Force;  im using ddraw can i  load jpg file or anything else? ;quote:Original post by Ekim_Gram  Haha, loading a bitmap   without using Windows?? Sir, I''m sorry but unless your using SDL, the only way you can load a bitmap is with   Windows. FYI bitmaps are a Windows format so loading one without using Windows would seem a bit...odd...   R.I.P. Mark OsbackSolo Pa Mi GenteVG-Force Hahaha.. NO!There is a way, You have to find a format descryption for BMP, and then write for your own loader that will take care for this.It is a bit hard (if You are a n00b), but not impossible. I have old source for WatCom C/C++ bat all comments are in Polish I will try to change comments but this will take some time, so if no one will help you i will support You with this source.The problem with bitmaps is that they are fliped up side down. But it is the simplest format.I think you can find format descryption at MSDN.Try at http://www.programmersheaven.com/ "The Gods Made Heavy Metal And They Saw That It Was Good They Said To Play It Louder Than Hell We Promised That We WouldWhen Losers Say Its Over With You Know That It’s A Lie The Gods Made Heavy Metal And It’s Never Gonna Die"THE GODS MADE HEAVY METAL/by  ManOwaR  ;  thanks. remember any graphics format that i can load into ddraw full screen mode. ;  For all your file format description needs:Wotsit.org-Arek the Absolute ;  BITMAPINFOHEADERBITMAPFILEHEADERRGBQUAD[256]BYTE*is all you need. ;  If you are using ddraw (i.e. a component of directx), then you are using windows. If you want to get away from using windows specific code, give SDL or maybe Allegro a try. If not then you will have to use the links above and figure out the format of a bitmap or other image file format and figure out how to get it from there to a ddraw surface compatable format. Either way it will be a good learning experience. Here is one I used to learn how to load a bitmap but it is somewhat windows specific in parts IIRC.TutorialHope it helps.  Evillive2E-Mail;  never mind I''ll just use the window.I''m going to write a 2d engine after I make my 4th or 5th game anyways...I have another question;do I have to write a color palett? ;  I''ve written a bitmap loader without any win32 code.  Essentially it was a console app that took the name of the bmp file as input and you could enter how much you wanted to brighten or darken it, then it would create a new bmp file of the altered image.  Pretty simple file I/O stuff.  If you''re trying to display it on the screen in realtime though, I think you''re gonna need win32. 