]> 4ch.mooo.com Git - plz.git/blob - tweak.h
0f640610781c70937f516bb268ff0099a6fbd94f
[plz.git] / tweak.h
1 #ifndef _TWEAK_H_\r
2 #define _TWEAK_H_\r
3 #include <i86.h>\r
4 void tw_opengraph2();\r
5 //void tw_setrgbpalette(byte *p);\r
6 void tw_setrgbpalette(int a, int r, int g, int b);\r
7 \r
8 #define PAL_READ_REG                    0x03C7   /* Color register, read address */\r
9 #define PAL_WRITE_REG              0x03C8   /* Color register, write address */\r
10 #define PAL_DATA_REG                    0x03C9   /* Color register, data port */\r
11 #define PAL_SIZE                                (256 * 3)\r
12 \r
13 #endif\r