1retrace_count(3) Allegro manual retrace_count(3)
2
3
4
6 retrace_count - Retrace count simulator. Allegro game programming
7 library.
8
10 #include <allegro.h>
11
12
13 extern volatile int retrace_count;
14
16 If the retrace simulator is installed, this count is incremented on
17 each vertical retrace; otherwise, if the refresh rate is known, the
18 count is incremented at the same rate (ignoring retraces); otherwise,
19 it is incremented 70 times a second. This provides a way of controlling
20 the speed of your program without installing user timer functions.
21
22
24 ex3d(3), exblend(3), exdbuf(3), exflip(3), exlights(3)
25
26
27
28Allegro version 4.2.3 retrace_count(3)