DAT_ID(3alleg4)
π DAT_ID π
the Allegro manual, but make it a group chat β¨ (this one lives in section 3alleg4, iykyk)
πΈ NAME πΈ
DAT_ID β makes an ID value from four letters π¦ part of the Allegro game programming library, bestie π
β¨ SYNOPSIS β¨
#include <allegro.h>
Macro DAT_ID(a, b, c, d);
okay so that's literally it, that's the whole vibe π
π«Ά DESCRIPTION π«Ά
So every single object or property inside a datafile gets identified by a 4 letter ID, right? And this macro is the girl who makes that ID for you π
Like, say you wanna access the NAME property of a datafile object β you'd be like:
get_datafile_property(datob, DAT_ID('N','A','M','E'));
and boom, you're in β¨ the macro squishes those four lil letters into one ID value and hands it over. no cap, that's the whole job π
π₯ SEE ALSO π₯
k byeeee, this was Allegro version 4.4.3, DAT_ID girlie signing off πβ¨ slay, stay iconic, read ur man pages ππ¦
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms