home *** CD-ROM | disk | FTP | other *** search
- // Example: 027 from Library Reference
- #include "..\3D-Ware\dddware.h"
- short count;
- short main(void)
- {
- dddInitVideo();
- dddSetPal(dddstandardpal);
- dddInit3d();
-
- for (count=0; count<200; count++)
- {
- dddDrawLine(count, 0, count, 319, count); // Draw to the first screen.
- dddScreenSwap(); // Display this first screen.
- dddDrawLine(count, 0, count, 319, count); // Draw to the second screen.
- dddScreenSwap(); // Display this second screen.
- }
- dddRestoreVideo();
- dddClose3d();
- return 0;
- }
-