Advertisement

loading resource files

Started by August 20, 2002 02:15 PM
1 comment, last by sofsenint 22 years, 2 months ago
I''ve written a function that allows me to load a 24 bit bitmap and convert it into a 16 bit one. However, I''m fairly certain that a lot of my bitmaps will be resources. Is there a way to use fread, fseek, etc., with resources? Thanks in advance!
-----------------------------Weeks of programming can save you hours of planning.There are 10 kinds of people in this world-- those who understand binary and those who don't.
Maybe I''m asking the wrong question here. Do most game programmers use custom file types to hold bitmaps, character data, etc.?
-----------------------------Weeks of programming can save you hours of planning.There are 10 kinds of people in this world-- those who understand binary and those who don't.
Advertisement
Look up LoadImage(). That will allow you to load a bitmap from a resource or file.


The hackers must have gotten into the system through the hyperlink!!

Invader''s Realm

This topic is closed to new replies.

Advertisement