Mail Archives: djgpp/1997/07/24/02:26:14
Hi there,
I am having some problems getting an fli file to play using Allegro,
I've put the code in as I can't see why it just won't work. It compiles
OK.
------------------------------------------------------------------
#include<allegro.h>
void main(void)
{
allegro_init();
install_timer();
set_gfx_mode(GFX_VGA,320,200,0,0);
open_fli("example.fli");
play_fli("example.fli",screen,0,NULL);
close_fli("example.fli");
readkey();
}
--------------------------------------------------------------------
The examples that come with allegro don't have any for playing just an
fli file (they do play them from data files though).
Thanks in advance for your help
Alistair Phillips
PS. Shawn I'll give you a copy of my game when its finished.
--
_____________________________________________________________________
Alistair Phillips | Email: a DOT phillips AT student DOT anu DOT edu DOT au
IT Student Consultant, | "I was drunk and, ,_o
Ba/Bsc Undergraduate. | I'm a little hazy." _ \<,_
Australian National University | -Darlingheart ( )/ ( )
_____________________________________________________________________
- Raw text -