DATAFILE(3alleg4)
π DATAFILE π
okay bestie, welcome to the Allegro manual β this is the DATAFILE page and it's literally the little struct that holds a whole datafile in memory. slay.
β¨ NAME β¨
DATAFILE β stores an Allegro datafile in memory. that's it, that's the whole vibe π«Ά
πΈ SYNOPSIS πΈ
#include <allegro.h>
typedef struct DATAFILE
π DESCRIPTION π
okay so this struct has four members and they are all doing their own little thing:
void *dat;β pointer to the actual data β¨int type;β type of the data πlong size;β size of the data in bytes πvoid *prop;β list of object properties π·οΈ
and if you wanna know how to actually obtain this structure or use it, go read the chapter "Datafile routines", section "Using datafiles" β it's all explained there, iykyk π
π SEE ALSO π
load_datafile(3alleg4)excustom(3alleg4)exdata(3alleg4)exexedat(3alleg4)exgui(3alleg4)exsprite(3alleg4)exunicod(3alleg4)
ok that's the whole page, no cap. go forth and load those datafiles π
Allegro, version 4.4.3 β DATAFILE(3alleg4), signing off π¦β¨ ily, drink some water π
π¦ 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