home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality Madness / VRMAD96_ONE.ISO / virtek / libex / libex031.c < prev    next >
C/C++ Source or Header  |  1995-08-24  |  558b  |  19 lines

  1.                      // Example: 031 from Library Reference
  2. #include "..\3D-Ware\dddware.h"
  3. short  count;
  4. short  main(void)
  5. {
  6.   dddInitAll();
  7.   for  (count=0; count<199; count++)
  8.   {
  9.                      // Draw to the first screen.
  10.     dddDrawStipLine(count, 0x5555, 0, count, 319, count);
  11.     dddScreenSwap(); // Display this first screen.
  12.                      // Draw to the second screen.
  13.     dddDrawStipLine(count, 0xaaaa, 0, count, 319, count);
  14.     dddScreenSwap(); // Display this second screen.
  15.   }
  16.   dddRestoreAll();
  17.   return 0;
  18. }
  19.