DOKK / manpages / debian 10 / allegro4-doc / DAT_ID.3alleg4.en
DAT_ID(3alleg4) Allegro manual DAT_ID(3alleg4)

DAT_ID - Makes an ID value from four letters. Allegro game programming library.

#include <allegro.h>

Macro DAT_ID(a, b, c, d);

Every object or property in a datafile is identified by a 4 letter ID, which can be created with this macro. For example, to access the NAME property of a datafile object, you could use:


get_datafile_property(datob, DAT_ID('N','A','M','E'));

register_datafile_object(3alleg4), get_datafile_property(3alleg4)

version 4.4.2 Allegro