GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  FLI_FRAME (3)

NAME

fli_frame - Stores the current frame number of the animation. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

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)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro FLI_FRAME (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.