fli_bitmap(3alleg4)

πŸ’– fli_bitmap β€” the Allegro manual, but make it cute πŸ’–

okay bestie, so this is the fli_bitmap(3alleg4) page from the Allegro game programming library manual, and it's genuinely short but also lowkey iconic so let's get into it πŸ¦‹


✨ NAME ✨

fli_bitmap β€” it holds the current frame of the animation. that's it. that's the whole job. Allegro game programming library, periodt. πŸ‘‘


✨ SYNOPSIS ✨

like, here's the literal vibe:

#include <allegro.h>

extern BITMAP *fli_bitmap;

not me giving you the whole thing in four lines 😭


✨ DESCRIPTION ✨

so fli_bitmap contains the current frame of the FLI/FLC animation. that's the one you're watching right now, bestie, the frame that's on screen at this exact moment πŸ’…

and if there is no open animation? its value will be NULL. yeah. no animation, no frame, just NULL staring back at you πŸ™ˆ so pls check it before you go dereferencing anything, i am begging 🫢


✨ SEE ALSO ✨

the little friend group of related pages, go read them too:


that's the whole page!! short, sweet, ate and left no crumbs πŸ’–

okay and for the little sign-off moment: this was Allegro, version 4.4.3 β€” that's the source and version, mwah πŸŽ€ the manual name up top was fli_bitmap(3alleg4), in case you forgot where you were, and that's a wrap, slay, bye bestie 🌸✨