diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2020-02-16 03:40:06 +0000 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2020-02-16 03:40:06 +0000 |
commit | 425decdf7e9284d15aa726e3ae96b9942fb0e3ea (patch) | |
tree | 6c0dd7edfefff1be7b9e75fe0b3a0a85fe1595f3 /src/cgame/binaryshader.h | |
parent | ccb0b2e4d6674a7a00c9bf491f08fc73b6898c54 (diff) |
create tremded branch
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 |