home *** CD-ROM | disk | FTP | other *** search
- // Example: 108 from Library Reference
- #include "..\3D-Ware\dddware.h"
- short count;
- char fname[]={"EXAMPLE.PCX"};
- short main(void)
- {
- dddReadPcxPalette(fname); // This reads in the color palette.
- dddInitVideo();
- dddSetPal(ddduserpal);
- dddInit3d();
- for (count=0; count<200; count++)
- {
- dddHoriFade(0,0);
- dddScreenSwap();
- }
- dddRestoreVideo();
- dddClose3d();
- return 0;
- }
-