home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Madness
/
VRMAD96_ONE.ISO
/
virtek
/
libex
/
libex133.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-24
|
675b
|
18 lines
// Example: 133 from Library Reference
#include "..\3D-Ware\dddware.h"
short count;
short main(void)
{
dddInitAll();
dddSetDefaultMouseCursor(); // Set up for use, the normal default cursor shape.
for (count=0; count<400; count++) // Loop a few times.
{
dddCls(); // Clear the screen.
dddReadMousePosition(); // Read the current mouse position.
dddDrawGraphicsMouse(); // Draw the mouse at the current position.
dddScreenSwap(); // Swap the real and dummy screen areas.
}
dddRestoreAll();
return 0;
}