next_fli_frame man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

next_fli_frame(3)		Allegro manual		     next_fli_frame(3)

NAME
       next_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);

DESCRIPTION
       Reads 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, other‐
       wise it will return FLI_EOF. The frame is read into  the	 global	 vari‐
       ables 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 VALUE
       Returns	FLI_OK	on  success,  FLI_ERROR	 or FLI_NOT_OPEN on error, and
       FLI_EOF on reaching the end of the file.

SEE ALSO
       open_fli(3), fli_bitmap(3), fli_palette(3), fli_timer(3), fli_frame(3)

Allegro				 version 4.4.2		     next_fli_frame(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net