next_fli_frame(3alleg4) Allegro manual next_fli_frame(3alleg4)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, 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 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(3alleg4), fli_bitmap(3alleg4), fli_palette(3alleg4), fli_timer(3alleg4), fli_frame(3alleg4)Allegro version 4.4.2 next_fli_frame(3alleg4)
What are the benefits to using UNIX for 3d animation. I am looking into the field, and most places require a strong background in UNIX. Why is this? (3 Replies)
I realy Love the look of the Flash animation at top of the forum, very sweet.
But it uses all of my cpu power :( even winamp starts getting little skips.
Then i have to scroll down and hide the nice animation :(
Maybe someone could try to tune it a little bit.
Thats on a 1,6 Ghz... (0 Replies)
I have read hundreds of the postings and cannot find the answer to my question...so I hope that someone is able to answer it for me.
I am writing a script in bash, and would like to add animation. I have a gif file that I would like to open and have displayed on the screen. Can this be done? Of... (0 Replies)
Hi,
I want to write a shell script which can do some animation
The animation is as follows
it is like a progress barwhich hould gone on inresing with time & at the end of the line there should be the progess
Eg
== - 10%... (2 Replies)
Hello everybody,
I have a problem with a program i'm coding, the thing is that i need the program to check quickly if it receives a response, if not, just go ahead.
My program sends the frame successfully, but it keeps waiting for the response until it receives something. That's what i need to... (2 Replies)
Hi all,
I have one host i need to run in loop to check the capacity from different frame and get the output to one file and sum it and convert to TB
this is Code
#!/bin/ksh
DATE=`date '+%d%m%y'`
for f in `cat /home/esx-capacity/esx-host.txt`
do
for g in `cat /home/esx-capacity/frame`... (10 Replies)