[physfs] PhysFS with Avaneya

Matthias Braun matze at braunis.de
Mon Jun 21 10:59:54 EDT 2010


Am Samstag, den 19.06.2010, 12:00 +0100 schrieb Oli Wilkinson:
> 
> On 19 June 2010 01:51, Kip Warner <kip at thevertigo.com> wrote:
>         
>         (1) I am assuming there is no C++ object oriented API. Does
>         anyone have
>         any advice for wrapping PhysFS in that case?
>         
> 
> 
> In the past I've written a basic filemanager class in C++ that simply
> drops in the file IO calls for PhysFS calls. Anything that needed disc
> access had to go through the File Manager. I didn't do anything fancy
> like wrap C++ streams or anything. PhysFS worked perfectly for this
> task.
You could also take a look at newer versions of supertux, it contains
code to access physfs files as C++ streams.

Greetings,
	Matthias Braun




More information about the physfs mailing list