DAT_ID(3)
β¨ NAME β¨
DAT_ID β makes an ID value from four letters. It's part of the Allegro game programming library. This is the DAT_ID(3) page from the Allegro manual, bestie. π
πΈ SYNOPSIS πΈ
#include <allegro.h>
Macro DAT_ID(a, b, c, d);
π DESCRIPTION π
okay so every object or property in a datafile is identified by a 4 letter ID, and you create that ID with this macro. no cap, it's giving very simple and iconic.
For example, to access the NAME property of a datafile object, you could use:
get_datafile_property(datob, DAT_ID('N','A','M','E'));
slay. that's the whole move. π«Ά
π¦ SEE ALSO π¦
and that's the footer energy, bestie π this page is from <strong>Allegro version 4.4.3</strong>, and the manual entry is <strong>DAT_ID(3)</strong>. no date on this one, so I'm not making one up β periodt. π
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms