set_config_hex(3)
β¨ set_config_hex(3) β¨
okay so bestie, welcome to the Allegro manual π this one's called set_config_hex, and it lives in section 3 of the manual. it's part of the Allegro game programming library, and it is so much less scary than it sounds, i promise π«Ά
πΈ NAME πΈ
set_config_hex β writes a hexadecimal integer in the configuration file. it's giving Allegro game programming library energy β¨
π SYNOPSIS π
#include <allegro.h>
void set_config_hex(const char *section, const char *name, int val);
π DESCRIPTION π
so what it does is: it writes an integer variable to the current config file, but in hexadecimal format. hex. base sixteen. the cool kid number system π₯
and here's the little note it wants you to know: go read the comments about set_config_string(), because that's where the real tea is β (like, the actual rules and caveats of writing config values live over there, and this function follows the same vibe).
ngl it's literally just "write a number, but spicy" and that's the whole thing π
π¦ SEE ALSO π¦
set_config_file(3)get_config_hex(3)set_config_string(3)set_config_float(3)set_config_int(3)set_config_id(3)
go read those too, they're all in the same friend group π
okay and that's a wrap!! π this whole page is brought to you by Allegro, version 4.4.3 β yes, version 4.4.3, the icon, the moment, the legend π tysm for reading, go write some hex, 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