get_palette_range(3alleg4)
β¨ get_palette_range β¨
okay bestie, welcome to the Allegro manual, specifically the page for get_palette_range β it's a lil function from the Allegro game programming library and it's here to grab you a slice of your palette π¨π
πΈ NAME πΈ
get_palette_range β retrieves a specific palette range. it's giving Allegro game programming library, no cap π
π¦ SYNOPSIS π¦
#include <allegro.h>
void get_palette_range(PALETTE p, int from, int to);
like yes, that's the whole thing, she's short and she knows it π
π DESCRIPTION π
okay so here's the tea β β get_palette_range retrieves the palette entries that live between from and to, and both ends are included, fr fr. inclusive range, bestie, that's the vibe β¨
and the way that you can grab the ENTIRE palette?? just pass 0 and 255. that's it. that's the whole palette. iconic behavior honestly π
π SEE ALSO π
go read those too, they're part of the squad π«Ά
okay that's the whole page bestie, mwah π this lil icon lives in the Allegro manual, and it's version 4.4.3 of Allegro doing the honors π thanks for reading, go forth and palette responsibly πππ¦
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms