version 1.9 | | version 1.10 |
---|
| | |
| | |
| | |
//whee | | //whee |
#define PAL2Tr(c) ((gr_current_pal[c*3]+gr_palette_gamma)/63.0) | | //#define PAL2Tr(c) ((gr_palette[c*3]+gr_palette_gamma)/63.0) |
#define PAL2Tg(c) ((gr_current_pal[c*3+1]+gr_palette_gamma)/63.0) | | //#define PAL2Tg(c) ((gr_palette[c*3+1]+gr_palette_gamma)/63.0) |
#define PAL2Tb(c) ((gr_current_pal[c*3+2]+gr_palette_gamma)/63.0) | | //#define PAL2Tb(c) ((gr_palette[c*3+2]+gr_palette_gamma)/63.0) |
| | #define PAL2Tr(c) ((gr_palette[c*3])/63.0) |
| | #define PAL2Tg(c) ((gr_palette[c*3+1])/63.0) |
| | #define PAL2Tb(c) ((gr_palette[c*3+2])/63.0) |
//inline GLfloat PAL2Tr(int c); | | //inline GLfloat PAL2Tr(int c); |
//inline GLfloat PAL2Tg(int c); | | //inline GLfloat PAL2Tg(int c); |
//inline GLfloat PAL2Tb(int c); | | //inline GLfloat PAL2Tb(int c); |