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