is_planar_bitmap(3alleg4)
β¨ is_planar_bitmap β¨
okay bestie, welcome to the Allegro manual π this one's a lil function from the Allegro game programming library and it is, lowkey, so simple. it just tells you if a bitmap is a planar screen bitmap. that's it. that's the whole job. she's a one-question queen π
πΈ SYNOPSIS πΈ
#include <allegro.h>
int is_planar_bitmap(BITMAP *bmp);
like look at her. one include, one function, one arg. iconic behavior fr fr π«Ά
π DESCRIPTION π
so here's the tea π β is_planar_bitmap returns TRUE if bmp is a planar screen bitmap, meaning a mode-X or Xtended mode screen bitmap. and if it's not? you get not-TRUE. that's the vibe check and she passed it β
no side quests, no weird state, just a yes-or-no about your bitmap's whole layout situation. main character energy honestly π
heads up bestie:TRUEis what she hands back β so if you're out here comparing against1with a whole attitude, just use the macro, iykyk π
π¦ SEE ALSO π¦
is_linear_bitmap(3alleg4)β the linear-layout sibling, go say hi πis_memory_bitmap(3alleg4)β for when you wanna know if it's just chillin' in memory π
k that's the whole page, no cap. this little gem shipped with Allegro, version 4.4.3 π go forth and interrogate your bitmaps, bestie β mwah πβ¨
π¦ 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