COLOR_MAP(3)
β¨ NAME β¨
COLOR_MAP β it stores a color map so drawing goes zoom zoom. Part of the Allegro game programming library, bestie. π
π SYNOPSIS π
#include <allegro.h>
typedef struct COLOR_MAP
okay so literally that's it, that's the whole vibe, she's a struct and she's iconic π
π¦ DESCRIPTION π¦
so the struct has exactly one member and here she is:
unsigned char data[PAL_SIZE][PAL_SIZE];
that's the whole thing. a big ol' grid of bytes, PAL_SIZE by PAL_SIZE, no cap.
now if you wanna actually know how to get one of these and use it β like, the whole point of it β you gotta go read the chapter called "Transparency and patterned drawing", specifically the section "256-color transparency". that's where the lore lives. this page is just here to tell you the struct exists. she's giving mysterious. π
fr fr, don't skip the chapter, bestie, that's where the actual instructions are π
πΈ SEE ALSO πΈ
and that's the page!! this one came straight out of the Allegro manual, version 4.4.3 β so if you're running anything older or newer, vibe check your local docs, okay? mwah πβ¨ππ¦
π¦ 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