Skip to main content
GameDev.net gamedev.net
🔒 Locked

Load bmp

Started by FingerClick Aug 17, 2001 at 2:49 PM 1 replies 150+ views
Original Post
FingerClick
FingerClick
Hi! I''m really new in programming. I have started 2 years ago, but,with Pascal at high school. Now i''m learning C by myself. I think it''s a idiot question, but please, anyone may explain me how can i load a picture.bmp in C to my program and where can i find these beginners articles for games? Thanks for all in advance and sorry for my poor english, i speak another language.
Gunslinger
Gunslinger
Could that nice person also tell me how I can load my animated GIF into the backround of my program. Thanks

You know your game is in trouble when the lead designer of your racing game drives a mini-van.
You know your game is in trouble when the lead designer of your racing game drives a mini-van. :)
Midnight Coder
Midnight Coder
Basically, you need to open the file, read in a BITMAPFILEHEADER struct, read in a BITMAPINFOHEADERSTRUCT, and then the actual data. There should be some tutorials on this out there somewhere, try to do a search on it from somewhere and look up the exact format. Also, this site has a lot of tutorials for beginners and advanced programmers. Look in the Articles and Resources section.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.