is_planar_bitmap(3)
β¨ is_planar_bitmap β¨
ok so bestie, welcome to the Allegro manual π this one's from the Allegro game programming library and it's honestly a lil baby function but a useful lil baby function, iykyk.
πΈ NAME πΈ
is_planar_bitmap β tells you if a bitmap is a planar screen bitmap. yes queen, that's the whole job. Allegro game programming library, as always π
π¦ SYNOPSIS π¦
#include <allegro.h>
int is_planar_bitmap(BITMAP *bmp);
look at that, one include, one function call, no drama π
π DESCRIPTION π
so here's the tea π: you hand this function a bmp, and it returns TRUE if that bmp is a planar screen bitmap β like, mode-X or Xtended mode planar, specifically. that's it. that's the vibe check.
if it's not one of those planar screen situations, it won't be handing you a TRUE, bestie. no cap.
ngl this is the kind of function you call when you're about to do something planar-specific and you need to know if the bitmap is actually in that format before you go touching it. asking first is main character energy β¨
π SEE ALSO π
is_linear_bitmap(3)β the linear counterpart, go say hi π«Άis_memory_bitmap(3)β for when you're wondering about memory bitmaps instead π
Allegro β version 4.4.3 β mwah, that's a wrap, thanks for reading my little manual page bestie, go check your bitmaps πππ¦β¨π
π¦ 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