diff options
Diffstat (limited to 'src/game/client/gc_skin.h')
| -rw-r--r-- | src/game/client/gc_skin.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/game/client/gc_skin.h b/src/game/client/gc_skin.h new file mode 100644 index 00000000..3742d04e --- /dev/null +++ b/src/game/client/gc_skin.h @@ -0,0 +1,20 @@ +/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */ +#include "../g_vmath.h" + +// do this better and nicer +typedef struct +{ + int org_texture; + int color_texture; + char name[31]; + char term[1]; +} skin; + +vec4 skin_get_color(int v); +void skin_init(); +int skin_num(); +const skin *skin_get(int index); +int skin_find(const char *name); + + +vec3 hsl_to_rgb(vec3 in); |