home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ Games Programming
/
CPPGAMES.ISO
/
fgl
/
fglight
/
expas.arj
/
TEMP
/
06-15.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1995-01-20
|
495b
|
27 lines
program main;
uses fgmain, fgmisc;
var
matrix : array [0..3] of byte;
old_mode : integer;
begin
fg_initpm;
old_mode := fg_getmode;
fg_setmode(13);
matrix[0] := $55; matrix[2] := $55;
matrix[1] := $AA; matrix[3] := $AA;
fg_setcolor(9);
fg_drect(0,49,0,49,matrix);
matrix[0] := $AA; matrix[2] := $AA;
matrix[1] := $55; matrix[3] := $55;
fg_setcolor(15);
fg_drect(0,49,0,49,matrix);
fg_waitkey;
fg_setmode(old_mode);
fg_reset;
end.