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

  1.                                         // Example: 133 from Library Reference
  2. #include "..\3D-Ware\dddware.h"
  3. short    count;
  4. short  main(void)
  5. {
  6.   dddInitAll();
  7.   dddSetDefaultMouseCursor();           // Set up for use, the normal default cursor shape.
  8.   for  (count=0; count<400; count++)    // Loop a few times.
  9.   {
  10.     dddCls();                           // Clear the screen.
  11.     dddReadMousePosition();             // Read the current mouse position.
  12.     dddDrawGraphicsMouse();             // Draw the mouse at the current position.
  13.     dddScreenSwap();                    // Swap the real and dummy screen areas.
  14.   }
  15.   dddRestoreAll();
  16.   return 0;
  17. }
  18.