2007-11-25 19:42:40 +00:00
|
|
|
/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */
|
2007-12-15 10:24:49 +00:00
|
|
|
#include "../g_vmath.h"
|
2007-11-18 12:03:59 +00:00
|
|
|
|
|
|
|
// do this better and nicer
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
int org_texture;
|
|
|
|
int color_texture;
|
|
|
|
char name[31];
|
2007-11-18 22:06:41 +00:00
|
|
|
char term[1];
|
2007-11-18 12:03:59 +00:00
|
|
|
} skin;
|
|
|
|
|
2007-11-18 14:24:34 +00:00
|
|
|
vec4 skin_get_color(int v);
|
2007-11-18 12:03:59 +00:00
|
|
|
void skin_init();
|
|
|
|
int skin_num();
|
|
|
|
const skin *skin_get(int index);
|
|
|
|
int skin_find(const char *name);
|
2007-12-13 20:52:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
vec3 hsl_to_rgb(vec3 in);
|