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?
Read files from sources
-
- Posts: 10
- Joined: Fri Jan 25, 2013 1:51 pm
Re: Read files from sources
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.
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.