50 #define TCACHE_TYPE_AABITMAP 0 // HUD bitmap. All Alpha.
51 #define TCACHE_TYPE_NORMAL 1 // Normal bitmap. Alpha = 0.
52 #define TCACHE_TYPE_XPARENT 2 // Bitmap with 0,255,0 = transparent. Alpha=0 if transparent, 1 if not.
53 #define TCACHE_TYPE_INTERFACE 3 // for graphics that are using in the interface (for special filtering or sizing)
54 #define TCACHE_TYPE_COMPRESSED 4 // Compressed bitmap type (DXT1, DXT3, DXT5)
55 #define TCACHE_TYPE_CUBEMAP 5
57 #define NEBULA_COLORS 20
char Gr_current_palette_name[128]
color_gun * Gr_current_blue
color_gun * Gr_current_alpha
struct color_gun color_gun
color_gun * Gr_current_green
color_gun * Gr_current_red
ubyte Gr_original_palette[768]
ubyte Gr_current_palette[768]