PhysicsFS is a library to provide abstract access to various archives. See http://icculus.org/physfs/ for more information.
This addon makes it possible to read and write files (on disk or inside archives) using PhysicsFS, through Allegro's file I/O API. For example, that means you can use the Image I/O addon to load images from .zip files.
These functions are declared in the following header file. Link with allegro_physfs.
Subsequent calls to al_fopen on the calling thread will be handled by PHYSFS_open(). Operations on the files returned by al_fopen will then be performed through PhysicsFS. Calls to the Allegro filesystem functions, such as al_read_directory or al_create_fs_entry, on the calling thread will be diverted to PhysicsFS.
Note: PhysFS does not support the text-mode reading and writing, which means that Windows-style newlines will not be preserved.
See also: al_set_new_file_interface.
Returns the (compiled) version of the addon, in the same format as al_get_allegro_version.