I’m programming a little game and I have one file for the complete game data (maps, graphics, …)
But I don’t know how to add sounds. Well I could extract them before playing them. But is it possible to load a song/sample/stream which is in another file?
something like this:
[code:1jbeifzj]FILE *ff = fopen("gamefiles.dat", "rb");
fseek(ff, 1000, SEEK_SET);
Well, that code wouldn’t work, but is there a function to do something like that?
- ProfEich asked 14 years ago
- You must login to post comments