open_fli man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

open_fli(3)			Allegro manual			   open_fli(3)

NAME
       open_fli,  open_memory_fli  - Makes a FLI file open and ready for play‐
       ing. 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	 func‐
       tion 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 try‐
       ing to open another FLI file without closing the previous one.

SEE ALSO
       close_fli(3), next_fli_frame(3), fli_bitmap(3), fli_palette(3)

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