1DAT_ID(3) Allegro manual DAT_ID(3)
2
3
4
6 DAT_ID - Makes an ID value from four letters. Allegro game programming
7 library.
8
10 #include <allegro.h>
11
12
13 Macro DAT_ID(a, b, c, d);
14
16 Every object or property in a datafile is identified by a 4 letter ID,
17 which can be created with this macro. For example, to access the NAME
18 property of a datafile object, you could use:
19
20 get_datafile_property(datob, DAT_ID('N','A','M','E'));
21
22
23
24
26 register_datafile_object(3), get_datafile_property(3)
27
28
29
30Allegro version 4.4.3 DAT_ID(3)