d_clear_proc(3alleg4)

✨ d_clear_proc ✨

okay bestie, welcome to the Allegro manual β€” yes, the Allegro game programming library, and today's main character is a lil dialog procedure called d_clear_proc πŸ’…


🌸 SYNOPSIS 🌸

#include <allegro.h>

int d_clear_proc(int msg, DIALOG *d, int c);

πŸ¦‹ DESCRIPTION πŸ¦‹

so like. this one literally just clears the screen when it gets drawn. that's it. that's the whole job. no cap πŸ’€

it's giving "first object in a dialog" energy β€” that's where you wanna put it, fr fr, because putting it first means the screen gets wiped before all your other dialog stuff shows up on top. useful as the first object in a dialog. periodt ✨


πŸŽ€ SEE ALSO πŸŽ€


k bye ily, go clear some screens 🫢 this was page d_clear_proc from Allegro version 4.4.3, written up in the Allegro manual β€” mwah πŸ’–