Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

next_fli_frame(3alleg4) [debian man page]

next_fli_frame(3alleg4) 					  Allegro manual					   next_fli_frame(3alleg4)

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)

Check Out this Related Man Page

exmidi(3alleg4) 						  Allegro manual						   exmidi(3alleg4)

exmidi - Playing MIDI music. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example exmidi DESCRIPTION
This program demonstrates how to play MIDI files. SEE ALSO
END_OF_MAIN(3alleg4), MIDI(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_mes- sage(3alleg4), clear_to_color(3alleg4), desktop_palette(3alleg4), destroy_midi(3alleg4), font(3alleg4), get_filename(3alleg4), get_midi_length(3alleg4), install_keyboard(3alleg4), install_sound(3alleg4), install_timer(3alleg4), key(3alleg4), keypressed(3alleg4), load_midi(3alleg4), makecol(3alleg4), midi_pause(3alleg4), midi_pos(3alleg4), midi_resume(3alleg4), midi_time(3alleg4), play_midi(3alleg4), readkey(3alleg4), rectfill(3alleg4), rest(3alleg4), screen(3alleg4), set_display_switch_mode(3alleg4), set_gfx_mode(3alleg4), set_pal- ette(3alleg4), text_height(3alleg4), text_length(3alleg4), textprintf_centre_ex(3alleg4) Allegro version 4.4.2 exmidi(3alleg4)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

3d animation

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)
Discussion started by: aloysius1001
3 Replies

2. What is on Your Mind? Flash animation

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)
Discussion started by: Lazzar
0 Replies

3. UNIX for Dummies Questions & Answers

script animation

I have read hundreds of the postings and cannot find the answer to my 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)
Discussion started by: debit
0 Replies

4. Shell Programming and Scripting

Shell Script Animation

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)
Discussion started by: wojtyla
2 Replies

5. Programming

Help receiving a frame in C!

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)
Discussion started by: Zykl0n-B
2 Replies

6. Shell Programming and Scripting

Need help the sum from loop

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)
Discussion started by: ranjancom2000
10 Replies

Featured Tech Videos