home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Liren Large Software Subsidy 7
/
07.iso
/
c
/
c010
/
1.ddi
/
FLILIB3.ZIP
/
FLISRC3.ZIP
/
PLAYFLI.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
C/C++ Source or Header
|
1989-11-10
|
324 b
|
21 lines
#include "aafli.h"
Boolean fli_until_key(int cur_frame, int frame_count, int cur_loop)
{
if (dos_key_is())
{
dos_key_in();
return(FALSE);
}
else
return(TRUE);
}
/* Play fli looping forever until any key is hit */
Errval fli_play(char *fliname)
{
return(fli_until(fliname, -1, fli_until_key));
}