save_pcx(3)
πΎ save_pcx(3) β the Allegro manual, but make it cute β¨
okay bestie, gather round, we're talking about save_pcx from the Allegro game programming library, section 3 of the manual, and honestly? she's a whole vibe. π
πΈ NAME πΈ
save_pcx β saves a bitmap into a PCX file. Allegro game programming library. periodt. π
β¨ SYNOPSIS β¨
#include <allegro.h>
int save_pcx(const char *filename, BITMAP *bmp, const RGB *pal);
like, that's the whole summoning circle right there. π―οΈ
π DESCRIPTION π
so what she does is: she writes a bitmap into a PCX file. that's it. that's the girl. π
and not just any PCX, bestie β she writes it as a 256-color PCX or a 24-bit truecolor PCX. two whole formats, one iconic function. she contains multitudes. π
π«Ά RETURN VALUE π«Ά
she returns non-zero on error. so like, zero = we slayed, non-zero = something went tf wrong. π
π¦ SEE ALSO π¦
her sibling, her ride or die, the other girl in the friend group. go say hi. π
that's the whole page, no cap. mwah. π
signing off from Allegro version 4.4.3 β she's an older queen but she still eats. πβ¨
π¦ 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