install_int(3)
β¨ install_int β¨
okay bestie, this is the install_int(3) page from the Allegro manual, and it's literally the user timer handler installer. Allegro game programming library, periodt. π
πΈ NAME πΈ
install_int β installs a user timer handler. That's the whole name, and it's from the Allegro game programming library. π«Ά
β¨ SYNOPSIS β¨
#include <allegro.h>
int install_int(void (*proc)(), int speed);
π DESCRIPTION π
install_intinstalls a user timer handler. Thespeedyou pass in is the number of milliseconds between ticks. π°οΈβ¨- This is the same thing as
install_int_ex(proc, MSEC_TO_TIMER(speed)). no cap. - If you call this routine without having first installed the timer module,
install_timer()will be called automatically. so it's giving main character energy, it handles that for you. π - Calling again this routine with the same timer handler as parameter allows you to adjust its speed. π
π₯ RETURN VALUE π₯
- Returns zero on success, or a negative number if there is no room to add a new user timer. π so if you get negative, it's not a vibe, there's just no room. π
π¦ SEE ALSO π¦
install_timer(3)remove_int(3)install_int_ex(3)install_param_int(3)exscn3d(3)exswitch(3)extimer(3)exzbuf(3)
mwah π that's the install_int(3) page from the Allegro manual, version 4.4.3 β no date listed, so that's the whole footer vibe, fr fr. go install some timers, bestie, and stay iconic. ππ
π¦ 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