From: gregorio AT jet DOT es (Grzegorz Adam Hankiewicz) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro Flics Date: Sat, 24 Jan 1998 14:23:06 GMT Organization: Gogosoftware Lines: 30 Message-ID: <34c9f799.62238568@news.jet.es> References: <19980124034701 DOT WAA13816 AT ladder01 DOT news DOT aol DOT com> NNTP-Posting-Host: infon900.jet.es To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk >can someone give me an example on how I would make a flic start my game or >program. You just have to start the program, and then in some part of it call the specific routine to display the fli. You can display it from memory, if you previously loaded it or directly from disk. Here's a small example. It will play the file fli_file.fli (There may be a bug, I write this on-line) #include int main(void) { allegro_init(); install_timer(); // I think you need this to play FLICS set_gfx_mode(GFX_VGA,320,200,0,0); play_fli( "fli_file.fli", screen, 0, NULL); return 0; } Then, to see an example where a fli is played from memory, look the file demo.c in the Allegro demo directory. Go to the main function, and there, it should be in the first 30 or 40 lines. - Grzegorz Adam Hankiewicz - gregorio AT jet DOT es - http://web.jet.es/gregorio - Gogosoftware - http://web.jet.es/gregorio/gogosoftware