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

  1.                                                 // Example: 095 from Library Reference
  2. #include "..\3D-Ware\dddware.h"
  3. short  main(void)
  4. {
  5.   dddInitAll();
  6.   while  (!dddkeycode)
  7.   {
  8.     dddHorizon(0,0);                            // Draw a horizon as a backdrop.
  9.     dddPrint3x5(2,0,0,"PRESS ANY KEY TO EXIT"); // Color 2, top left of screen.
  10.     dddScreenSwap();
  11.   }
  12.   dddRestoreAll();
  13.   return 0;
  14. }
  15.