home *** CD-ROM | disk | FTP | other *** search
- // Example: 085 from Library Reference
- #include "..\3D-Ware\dddware.h"
- short main(void)
- {
- dddLoadColors("EXAMPLE.COL"); // Load in the color palette called 'example.col' to 'standardpal'.
- dddInitVideo();
- dddInitKeybd();
- dddSetPal(dddstandardpal);
- dddInit3d();
- while (!dddkeycode)
- {
- dddHorizon(0,0);
- dddMedPrintC(2,10,"Press Escape To Exit."); // Print the centered text.
- dddScreenSwap();
- }
- dddRestoreKeybd();
- dddRestoreVideo();
- dddClose3d();
- return 0;
- }
-