d_bitmap_proc(3alleg4)
π d_bitmap_proc β the manual page, but make it cute π
okay bestie, welcome to the Allegro manual, page d_bitmap_proc(3alleg4) β yes that's the whole name, it's giving very "I was named by a compiler" energy but we love her anyway π«Ά
β¨ NAME β¨
d_bitmap_proc β a dialog procedure that draws a bitmap. It's part of the Allegro game programming library, so if you're out here building games, this lil guy is your girl π
πΈ SYNOPSIS πΈ
#include <allegro.h>
int d_bitmap_proc(int msg, DIALOG *d, int c);
like, that's the whole thing. three args, one int coming back at ya. slay β¨
π¦ DESCRIPTION π¦
So what does she actually do? She draws a bitmap onto the screen β and the bitmap she's drawing is the one your dp field is pointing at. That's it. That's the whole vibe. point dp at a bitmap, and she puts it on the screen for you π
no cap, it's that simple. the dp field is the main character here π
π SEE ALSO π
exgui(3alleg4)β go look at this if you want to see it in action, fr frexrgbhsv(3alleg4)β another example, also iconic
and that's the whole page, bestie!! no crumbs left behind π
this was pulled straight from the Allegro manual, version 4.4.3 β so if your version's different, double check before you come for me π
mwah, go draw some bitmaps ππ§β¨
π¦ 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