1al_set_physfs_file_interfaceL(i3b)rary Functions Manaula_lset_physfs_file_interface(3)
2
3
4
6 al_set_physfs_file_interface
7
9 #include <allegro5/allegro_physfs.h>
10
11 void al_set_physfs_file_interface(void)
12
14 After calling this, subsequent calls to al_fopen(3) will be handled by
15 PHYSFS_open(). Operations on the files returned by al_fopen(3) will
16 then be performed through PhysicsFS.
17
18 At the same time, all filesystem functions like al_read_directory(3) or
19 al_create_fs_entry(3) will use PhysicsFS.
20
21 This functions only affects the thread it was called from.
22
23 To remember and restore another file I/O backend, you can use
24 al_store_state(3)/al_restore_state(3).
25
27 al_set_new_file_interface(3).
28
29
30
31Allegro reference manual al_set_physfs_file_interface(3)