home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Madness
/
VRMAD96_ONE.ISO
/
virtek
/
libex
/
libex084.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-24
|
600b
|
21 lines
// 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;
}