home *** CD-ROM | disk | FTP | other *** search
- #ifndef __DOSFUNC_H
- #define __DOSFUNC_H
-
- #include <drawpoly.h>
-
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- struct color_struct
- {
- unsigned char r,g,b; /* 0-63 */
- };
-
- typedef struct color_struct color;
-
- void to256(void);
- void totxt(void);
- void blit(outbuffer *out);
- void setpalette(color *palette, int col1, int col2);
- /* sets palette entries col1 through col2 on the vga to the
- values in palette */
- void setgrayscale(int col1, int col2);
- /* makes a grayscale in between col1 and col2, going from light to
- dark */
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif