delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/24/02:26:14

From: Alistair Phillips <al AT bohm DOT anu DOT edu DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Fli under Allegro
Date: Mon, 21 Jul 1997 12:32:57 +1000
Organization: Australian National University
Lines: 39
Message-ID: <33D2CA59.EAD@bohm.anu.edu.au>
Reply-To: a DOT phillips AT student DOT anu DOT edu DOT au
NNTP-Posting-Host: 150.203.21.88
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019