get_palette_range(3)

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

✨ NAME ✨

okay so get_palette_range is the bestie that retrieves a specific palette range πŸ’… and it's part of the Allegro game programming library, periodt.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro.h>

void get_palette_range(PALETTE p, int from, int to);

πŸ’– DESCRIPTION πŸ’–

So like, this function grabs the palette entries between from and to β€” and yes, it's inclusive on both ends, no cap 🫢. That means if you pass 0 and 255, you get the entire palette, literally the whole thing. Iconic.


πŸ”₯ SEE ALSO πŸ”₯


k bye bestie, this page was brought to you by Allegro version 4.4.3 πŸ’–βœ¨ stay slay.

πŸ“¦ where this page comes from