al_add_timer_count(3)
πΈ NAME πΈ
Okay so bestie, welcome to the Library Functions Manual page for al_add_timer_count β aka Allegro 5 API realness. π
β¨
π SYNOPSIS π
#include <allegro5/allegro.h>
void al_add_timer_count(ALLEGRO_TIMER *timer, int64_t diff)
π¦ DESCRIPTION π¦
So what this icon does: it adds diff to the timerβs counter value. Literally just smooshes diff right into that counter. π«Ά
This is similar to writing:
al_set_timer_count(timer, al_get_timer_count(timer) + diff);
β¦except that the addition is performed atomically, so no ticks will be lost. No cap, that part is the whole slay. π₯
π SEE ALSO π
al_set_timer_count(3)β your next stop, bestie, go peek π
π source/version: Allegro reference manual Β· page: al_add_timer_count(3) Β· date: not printed on this page, so weβre not inventing one, fr fr β¨π
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms