fli_frame (3) - Linux Manuals
fli_frame: Stores the current frame number of the animation. Allegro game programming library.
Command to display fli_frame
manual in Linux: $ man 3 fli_frame
NAME
fli_frame - Stores the current frame number of the animation. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
extern int fli_frame;
DESCRIPTION
Global variable containing the current frame number in the FLI file. This
is useful for synchronising other events with the animation, for instance
you could check it in a play_fli() callback function and use it to
trigger a sample at a particular point. Example:
while (next_fli_frame(0) == FLI_OK) {
if (fli_frame == 345)
play_sample(trumpet_sound, 255, 128, 1000, 0);
/* Rest some time until next frame... */
}
Pages related to fli_frame
- fli_bmp_dirty_from (3) - Indicate which parts of the image have changed. Allegro game programming library.
- fli_bmp_dirty_to (3) - Indicate which parts of the image have changed. Allegro game programming library.
- fli_pal_dirty_from (3) - Indicate which parts of the palette have changed. Allegro game programming library.
- fli_pal_dirty_to (3) - Indicate which parts of the palette have changed. Allegro game programming library.
- fli_timer (3) - Global variable for timing FLI playback. Allegro game programming library.
- floatAnnuity (3) - Risky asset-swap instrument.
- next_fli_frame (3) - Reads the next frame of the current animation file. Allegro game programming library.