home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Madness
/
VRMAD96_ONE.ISO
/
virtek
/
libex
/
libex031.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-24
|
558b
|
19 lines
// Example: 031 from Library Reference
#include "..\3D-Ware\dddware.h"
short count;
short main(void)
{
dddInitAll();
for (count=0; count<199; count++)
{
// Draw to the first screen.
dddDrawStipLine(count, 0x5555, 0, count, 319, count);
dddScreenSwap(); // Display this first screen.
// Draw to the second screen.
dddDrawStipLine(count, 0xaaaa, 0, count, 319, count);
dddScreenSwap(); // Display this second screen.
}
dddRestoreAll();
return 0;
}