DOKK / manpages / debian 11 / allegro4-doc / get_palette_range.3alleg4.en
get_palette_range(3alleg4) Allegro manual get_palette_range(3alleg4)

get_palette_range - Retrieves a specific palette range. Allegro game programming library.

#include <allegro.h>

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

Retrieves the palette entries between from and to (inclusive: pass 0 and 255 to get the entire palette).

get_palette(3alleg4), set_palette_range(3alleg4)

version 4.4.3 Allegro