1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
.TH al_set_physfs_file_interface 3 "" "Allegro reference manual"
.SH NAME
.PP
al_set_physfs_file_interface \- Allegro 5 API
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <allegro5/allegro_physfs.h>
void\ al_set_physfs_file_interface(void)
\f[]
.fi
.SH DESCRIPTION
.PP
After calling this, subsequent calls to al_fopen(3) will be handled by
PHYSFS_open().
Operations on the files returned by al_fopen(3) will then be performed
through PhysicsFS.
.PP
At the same time, all filesystem functions like al_read_directory(3) or
al_create_fs_entry(3) will use PhysicsFS.
.PP
This functions only affects the thread it was called from.
.PP
To remember and restore another file I/O backend, you can use
al_store_state(3)/al_restore_state(3).
.SH SEE ALSO
.PP
al_set_new_file_interface(3).
|