diff options
Diffstat (limited to 'src/game/client/gc_skin.hpp')
| -rw-r--r-- | src/game/client/gc_skin.hpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/game/client/gc_skin.hpp b/src/game/client/gc_skin.hpp new file mode 100644 index 00000000..3a746589 --- /dev/null +++ b/src/game/client/gc_skin.hpp @@ -0,0 +1,21 @@ +/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */ +#include "../g_vmath.hpp" + +// do this better and nicer +typedef struct +{ + int org_texture; + int color_texture; + char name[31]; + char term[1]; + vec3 blood_color; +} 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); |