home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ Games Programming
/
CPPGAMES.ISO
/
fgl
/
fglight
/
exbas.arj
/
TEMP
/
09-07.BAS
< prev
next >
Wrap
BASIC Source File
|
1995-01-20
|
475b
|
22 lines
REM $INCLUDE: 'fastgraf.bi'
DEFINT A-Z
DIM Header AS STRING*128
Status = FGflichead("GLASS.FLI"+CHR$(0),Header)
IF Status = -1 THEN
PRINT "Can't open GLASS.FLI."
STOP
ELSEIF Status = -2 THEN
PRINT "GLASS.FLI is not a FLI or FLC file."
STOP
END IF
Mode = FGflicmode(Header)
PRINT USING "Optimal display mode is ##."; Mode
FGflicsize Header, FlicWidth, FlicHeight
PRINT USING "Image size is ### by ### pixels."; FlicWidth, FlicHeight
END