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 πŸ‘‘


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 πŸ’œπŸ§šβœ¨