get_config_hex(3)
π get_config_hex(3) β the Allegro manual, but make it cute β¨
okay so bestie, we're in the Allegro manual and this one is literally about pulling a hex number out of your config file. no cap, it's giving "I just want my pretty hexadecimal values" energy π
πΈ NAME πΈ
get_config_hex β retrieves a hexadecimal value from the configuration file. Allegro game programming library π
β¨ SYNOPSIS β¨
#include <allegro.h>
int get_config_hex(const char *section, const char *name, int def);
π¦ DESCRIPTION π¦
So the way this works: it reads an integer variable from the current config file, but in hexadecimal format π
And fr fr, if you wanna know more, go peek at the comments about get_config_string() β that's where the real tea is β
π SEE ALSO π
like, go look at these too, they're iconic:
set_config_file(3)set_config_hex(3)get_config_string(3)get_config_argv(3)get_config_float(3)get_config_int(3)get_config_id(3)
mwah π that's the whole page. this is from Allegro, version 4.4.3 β periodt, no date on this one, she's timeless bestie π β¨π«Ά
π¦ 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