reset_fli_variables(3alleg4)

πŸ’– reset_fli_variables πŸ’–

okay bestie, welcome to the Allegro manual β€” yes, the whole library, the game-programming legend itself β€” and today we're hyping up one tiny little function called reset_fli_variables. she's small. she's humble. she is so important. πŸŽ€


✨ NAME ✨

reset_fli_variables β€” resets the bitmap and palette dirty global variables. this is the Allegro game programming library, for the record. πŸ¦‹


✨ SYNOPSIS ✨

#include <allegro.h>

void reset_fli_variables();

no arguments, no return value, just vibes and a clean slate. πŸ’…


✨ DESCRIPTION ✨

so here's the tea, bestie. πŸ“ once you have done whatever you are going to do with the fli_bitmap and the fli_palette β€” like, whatever your little heart desired, no judgment β€” you call this function to reset the fli_bmp_dirty_* and fli_pal_dirty_* variables. that's it. that's the whole job. she resets the dirty flags so everything knows you're done touching stuff. ✨

not me calling a function that literally exists to say "okay i'm done now" β€” she's the cleanup crew, the "we're so back to zero" moment, and honestly? iconic. πŸ‘‘

✨ SEE ALSO ✨

go read those too, they're her besties fr fr. 🫢


Allegro version 4.4.3 β€” that's the whole manual page, bestie, and yes i am obsessed with her. this was reset_fli_variables(3alleg4) and she ate. periodt. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«ΆπŸ”₯πŸ‘‘πŸŒˆβ­πŸ’œ