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  -  OPEN_MEMORY_FLI (3)

NAME

open_fli, open_memory_fli - Makes a FLI file open and ready for playing. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

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


Allegro OPEN_FLI (3) version 4.4.2

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