1al_add_timer_count(3) Library Functions Manual al_add_timer_count(3)
2
3
4
6 al_add_timer_count
7
9 #include <allegro5/allegro.h>
10
11 void al_add_timer_count(ALLEGRO_TIMER *timer, int64_t diff)
12
14 Add diff to the timer's counter value. This is similar to writing:
15
16 al_set_timer_count(timer, al_get_timer_count(timer) + diff);
17
18 except that the addition is performed atomically, so no ticks will be
19 lost.
20
22 al_set_timer_count(3)
23
24
25
26Allegro reference manual al_add_timer_count(3)