fli_timer 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_timer(3)			Allegro manual			  fli_timer(3)

NAME
       fli_timer  - Global variable for timing FLI playback. Allegro game pro‐
       gramming library.

SYNOPSIS
       #include <allegro.h>

       extern volatile int fli_timer;

DESCRIPTION
       Global variable for timing FLI playback. When you open an FLI  file,  a
       timer  interrupt is installed which increments this variable every time
       a new frame should be displayed.	 Calling  next_fli_frame()  decrements
       it,  so you can test it and know that it is time to display a new frame
       if it is greater than zero. 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... */
	     while (fli_timer <= 0)
		rest(0);
	  }

SEE ALSO
       install_timer(3), next_fli_frame(3)

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