.\" Automatically generated by Pandoc 3.4 .\" .TH "al_add_timer_count" "3" "" "Allegro reference manual" .SH NAME al_add_timer_count \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] void al_add_timer_count(ALLEGRO_TIMER *timer, int64_t diff) .EE .SH DESCRIPTION Add \f[I]diff\f[R] to the timer\[cq]s counter value. This is similar to writing: .IP .EX al_set_timer_count(timer, al_get_timer_count(timer) + diff); .EE .PP except that the addition is performed atomically, so no ticks will be lost. .SH SEE ALSO al_set_timer_count(3)