retrace_count
Retrace count simulator. Allegro game programming library.
- Provided by: allegro4-doc (Version: 2:4.4.3.1-4.1build3)
- Source: allegro4.4
- Report a bug
Retrace count simulator. Allegro game programming library.
#include <allegro.h>
extern volatile int retrace_count;
If the retrace simulator is installed, this count is incremented on each vertical retrace; otherwise, if the refresh rate is known, the count is incremented at the same rate (ignoring retraces); otherwise, it is incremented 70 times a second. This provides a way of controlling the speed of your program without installing user timer functions.
ex3d(3alleg4), exblend(3alleg4), exdbuf(3alleg4), exflip(3alleg4), exlights(3alleg4)