DAT_ID(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

✨ 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