diff options
Diffstat (limited to 'src/cgame/binaryshader.h')
-rw-r--r-- | src/cgame/binaryshader.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/cgame/binaryshader.h b/src/cgame/binaryshader.h new file mode 100644 index 0000000..371f758 --- /dev/null +++ b/src/cgame/binaryshader.h @@ -0,0 +1,42 @@ +#ifndef BINARY_SHADER_H +#define BINARY_SHADER_H 1 + +typedef struct +{ + byte color[ 3 ]; + qboolean drawIntersection; + qboolean drawFrontline; +} cgBinaryShaderSetting_t; + +#define NUM_BINARY_SHADERS 256 + +typedef struct +{ + qhandle_t f1; + qhandle_t f2; + qhandle_t f3; + qhandle_t b1; + qhandle_t b2; + qhandle_t b3; +} cgMediaBinaryShader_t; + +typedef enum +{ + SHC_DARK_BLUE, + SHC_LIGHT_BLUE, + SHC_GREEN_CYAN, + SHC_VIOLET, + SHC_YELLOW, + SHC_ORANGE, + SHC_LIGHT_GREEN, + SHC_DARK_GREEN, + SHC_RED, + SHC_PINK, + SHC_GREY, + SHC_NUM_SHADER_COLORS +} shaderColorEnum_t; + +extern const vec3_t cg_shaderColors[ SHC_NUM_SHADER_COLORS ]; + + +#endif |