Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

open_fli(3alleg4) [debian man page]

open_fli(3alleg4)						  Allegro manual						 open_fli(3alleg4)

open_fli, open_memory_fli - Makes a FLI file open and ready for playing. Allegro game programming library. SYNOPSIS
#include <allegro.h> int open_fli(const char *filename); int open_memory_fli(const void *fli_data); DESCRIPTION
Open FLI files ready for playing, reading the data from disk or memory respectively. Information about the current FLI is held in the global variables fli_bitmap and fli_palette, which you can use if this function succeeds. However, you can only have one animation open at a time. Example: if (open_fli("intro.fli") == FLI_ERROR) abort_on_error("Error playing intro"); RETURN VALUE
Returns FLI_OK on success, FLI_ERROR if something went wrong, like trying to open another FLI file without closing the previous one. SEE ALSO
close_fli(3alleg4), next_fli_frame(3alleg4), fli_bitmap(3alleg4), fli_palette(3alleg4) Allegro version 4.4.2 open_fli(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

Featured Tech Videos