Read files from sources

Post Reply
mant
Posts: 6
Joined: Mon Mar 11, 2013 8:15 am

Read files from sources

Post by mant »

Hello Everyone, I want to pack my game files, such as IMG or MPQ,.....
How can I let Bullet/Irrlicht read these files with the read algorithm?
User avatar
nullChar
Posts: 10
Joined: Fri Jan 25, 2013 1:51 pm

Re: Read files from sources

Post by nullChar »

What's an IMG file? What's an MPQ file? Did you create them? Do they store graphics/physics data? This doesn't sound strictly bullet-related, as it seems like more of a file format/file system type of question.
You'll want to load a file from disk into a data structure of your choosing, and then inject the contents of the data structure into your physics and graphics subsystems.
Post Reply