fli_bitmap(3)

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

πŸ’– fli_bitmap(3) πŸ’–

okay bestie, welcome to the Allegro manual, page fli_bitmap(3) β€” yes we're doing the C library thing today and honestly? it's giving main character energy ✨


🌸 NAME 🌸

fli_bitmap β€” contains the current frame of the animation. Allegro game programming library. 🎬


✨ SYNOPSIS ✨

#include <allegro.h>

extern BITMAP *fli_bitmap;

πŸ¦‹ DESCRIPTION πŸ¦‹

So like. fli_bitmap holds the current frame of your FLI/FLC animation. that's it, that's the whole vibe πŸ’…

But wait, there's a plot twist πŸ‘€ β€” if there is no open animation, its value will be NULL. so if you're out here dereferencing it without checking first, that's not slay, that's a segfault, and we do not stan πŸ™ˆ

bestie check for NULL before you touch it, fr fr. no animation open = no bitmap. periodt πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘


and that's the page!! this was Allegro, version 4.4.3 β€” ty for coming to my ted talk, mwah πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from