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]

fli_frame(3)			Allegro manual			  fli_frame(3)

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(3), play_memory_fli(3), next_fli_frame(3)

Allegro				 version 4.4.2			  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