home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ Games Programming
/
CPPGAMES.ISO
/
fgl
/
fglight
/
exbas.arj
/
TEMP
/
10-21.BAS
< prev
next >
Wrap
BASIC Source File
|
1995-01-20
|
570b
|
35 lines
REM $INCLUDE: 'fastgraf.bi'
DEFINT A-Z
DIM Triangle AS STRING*24
DATA &h17,9,1, &h12,1,5, &h17,1,3, &h12,1,3
DATA &h17,1,5, &h12,1,1, &h17,1,7, &h17,1,4
NewMode = FGbestmode(320,200,1)
IF NewMode < 0 OR NewMode = 12 THEN
PRINT "This program requires a 320 x 200 color graphics mode."
STOP
END IF
FOR I = 1 TO 24
Read Item
MID$(Triangle,I) = CHR$(Item)
NEXT
OldMode = FGgetmode
FGsetmode NewMode
FGsetcolor 7
FGrect 0, 319, 0, 199
FGmove 156, 101
FGdisplayp Triangle, 16, 9
FGwaitkey
FGsetmode OldMode
FGreset
END