home *** CD-ROM | disk | FTP | other *** search
- // Example: 084 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);
- dddMedPrint(2,0,10,"Press Escape To Exit."); // Print the text in the required font and size.
- dddScreenSwap();
- }
- dddRestoreKeybd();
- dddRestoreVideo();
- dddClose3d();
- return 0;
- }
-