debian man page for fli_frame

Query: fli_frame

OS: debian

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

fli_frame(3alleg4)						  Allegro manual						fli_frame(3alleg4)

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... */ }
SEE ALSO
play_fli(3alleg4), play_memory_fli(3alleg4), next_fli_frame(3alleg4) Allegro version 4.4.2 fli_frame(3alleg4)
Related Man Pages
next_fli_frame(3alleg4) - debian
exrotscl(3alleg4) - suse
exrotscl(3alleg4) - centos
exrotscl(3alleg4) - opendarwin
exrotscl(3alleg4) - v7
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
awk or sed - Convert 2 lines to 1 line
How to copy a column of multiple files and paste into new excel file (next to column)?
My first PERL incarnation... Audio Oscillograph