![]() |
![]()
| ![]() |
![]()
NAMEfli_timer - Global variable for timing FLI playback. Allegro game programming library. SYNOPSIS#include <allegro.h> extern volatile int fli_timer; DESCRIPTIONGlobal variable for timing FLI playback. When you open an FLI file, a timer interrupt is installed which increments this variable every time a new frame should be displayed. Calling next_fli_frame() decrements it, so you can test it and know that it is time to display a new frame if it is greater than zero. Example:
SEE ALSOinstall_timer(3), next_fli_frame(3)
|