1register_datafile_object(3) Allegro manual register_datafile_object(3)
2
3
4
6 register_datafile_object - Registers load/destroy functions for custom
7 object types. Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 void register_datafile_object(int id, void *(*load)(PACKFILE *f, long
14 size), void (*destroy)(void *data));
15
17 Used to add custom object types, specifying functions to load and
18 destroy objects of this type.
19
20
22 load_datafile(3), load_datafile_object(3), DAT_ID(3)
23
24
25
26Allegro version 4.4.3 register_datafile_object(3)