Query: next_fli_frame
OS: debian
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
next_fli_frame(3alleg4) Allegro manual next_fli_frame(3alleg4)NAMEnext_fli_frame - Reads the next frame of the current animation file. Allegro game programming library.SYNOPSIS#include <allegro.h> int next_fli_frame(int loop);DESCRIPTIONReads the next frame of the current animation file. If `loop' is not zero, the player will cycle when it reaches the end of the file, oth- erwise it will return FLI_EOF. The frame is read into the global variables fli_bitmap and fli_palette. Example: while (next_fli_frame(0) == FLI_OK) { /* Do stuff, like play audio stream or check keys to skip animation. */ /* Rest some time until next frame... */ }RETURN VALUEReturns FLI_OK on success, FLI_ERROR or FLI_NOT_OPEN on error, and FLI_EOF on reaching the end of the file.SEE ALSOopen_fli(3alleg4), fli_bitmap(3alleg4), fli_palette(3alleg4), fli_timer(3alleg4), fli_frame(3alleg4) Allegro version 4.4.2 next_fli_frame(3alleg4)
Related Man Pages |
---|
exmidi(3alleg4) - suse |
exmidi(3alleg4) - mojave |
exmidi(3alleg4) - netbsd |
exmidi(3alleg4) - redhat |
exmidi(3alleg4) - php |
Similar Topics in the Unix Linux Community |
---|
3d animation |
unix.com Flash animation |
script animation |
Shell Script Animation |
Need help the sum from loop |