get_palette_range(3)
β¨ 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
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms