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

  1.                                                   // Example: 085 from Library Reference
  2. #include "..\3D-Ware\dddware.h"
  3. short  main(void)
  4. {
  5.   dddLoadColors("EXAMPLE.COL");                   // Load in the color palette called 'example.col' to 'standardpal'.
  6.   dddInitVideo();
  7.   dddInitKeybd();
  8.   dddSetPal(dddstandardpal);
  9.   dddInit3d();
  10.   while  (!dddkeycode)
  11.   {
  12.     dddHorizon(0,0);
  13.     dddMedPrintC(2,10,"Press Escape To Exit.");   // Print the centered text.
  14.     dddScreenSwap();
  15.   }
  16.   dddRestoreKeybd();
  17.   dddRestoreVideo();
  18.   dddClose3d();
  19.   return 0;
  20. }
  21.