is_planar_bitmap(3)

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

✨ 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 🌈


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