fli_bitmap(3)
π 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 π
next_fli_frame(3)ποΈfli_bmp_dirty_from(3)π§Όfli_palette(3)π
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
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms