Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

mortex

Transparently handling files from multiple sources

This topic is 5655 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi. In my current engine I use something I call .tex-files to save several textures into one big file. But I have one problem, I cant seem to create a clean interface that would allow me to transparently handle files from either .tex-files or on disk. How do you guys handle this? I'm sure pretty much everyone (creating an engine atleast) have creating something like this. I tried using a class called FileStream (basicly it has all the methods that std. c-file-io has) but it somehow it didnt seem clean enough. And the FileCore (where I added the .tex-files) just didn't seem as a good solution. Any good ideas? It should always search for files on disk first, and allow several .tex-files to be added. - Morten. [edited by - mortex on April 2, 2003 9:56:10 AM]

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!