Yet Another RWops Example:

I meant to mention this the other day; I’ve got some code to glue
PhysicsFS to SDL’s RWops system. It’s not overly-commented, but it’s a
pretty much as straightforward as you can get for creating a RWops
implementation of your own.

The interface for the outside world is:

The actual glue code:

This code is being used in SDL_sound’s test app, playsound, so you can
playback sound files in zipfiles without unpacking them first. :slight_smile:

Questions, comments, and improvements are always welcome.