#include<ultra64.h>
extern Vtx ManHair1_1_v[];
extern Vtx ManHair1_1_vmcur[];
extern Tri ManHair1_1_tri[];
extern Lights1 ManHair1_1_material[];
extern Mtx ManHair1_1_matrix[];
extern unsigned char  tmp_best_back_txt[];
extern unsigned char  tmp_best_front_txt[];
extern unsigned char  tmp_best_side_txt[];
extern unsigned char  tmp_best_top_txt[];
extern unsigned char  tmp_black_txt[];
extern unsigned char  tmp_neck_txt[];
extern unsigned char  tmp_shoes_bottom_txt[];
extern unsigned char  tmp_t1farm_back_txt[];
extern unsigned char  tmp_t1farm_front_txt[];
extern unsigned char  tmp_t1hand_back_txt[];
extern unsigned char  tmp_t1hand_front_txt[];
extern unsigned char  tmp_t1hand_side_txt[];
extern unsigned char  tmp_t1hand_top_txt[];
extern unsigned char  tmp_t1hara_txt[];
extern unsigned char  tmp_t1leg_txt[];
extern unsigned char  tmp_t1met_back_txt[];
extern unsigned char  tmp_t1met_front_txt[];
extern unsigned char  tmp_t1met_glass_txt[];
extern unsigned char  tmp_t1met_mouth_txt[];
extern unsigned char  tmp_t1met_side1_txt[];
extern unsigned char  tmp_t1met_side2_txt[];
extern unsigned char  tmp_t1met_top_txt[];
extern unsigned char  tmp_t1shin_back_txt[];
extern unsigned char  tmp_t1shin_front_txt[];
extern unsigned char  tmp_t1shose_txt[];
extern unsigned char  tmp_t1shose_heel_txt[];
extern unsigned char  tmp_t1thigh_back_txt[];
extern unsigned char  tmp_t1thigh_front_txt[];
extern unsigned char  tmp_t1uarm_back_txt[];
extern unsigned char  tmp_t1uarm_front_txt[];
extern unsigned char  tmp_t1waist_back_txt[];
extern unsigned char  tmp_t1waist_front_txt[];
extern unsigned char  tmp_t1waist_side_txt[];
extern unsigned char  tmp_t1hair_txt[];
extern unsigned char  tmp_t1ribon_txt[];
extern Vtx ManHair2_1_v[];
extern Vtx ManHair2_1_vmcur[];
extern Tri ManHair2_1_tri[];
extern Lights1 ManHair2_1_material[];
extern Mtx ManHair2_1_matrix[];
extern Vtx ManHair3_1_v[];
extern Vtx ManHair3_1_vmcur[];
extern Tri ManHair3_1_tri[];
extern Lights1 ManHair3_1_material[];
extern Mtx ManHair3_1_matrix[];
extern unsigned short  tmp_tlut[];

/*---------------------------------------------------------------------------*/

static Vtx ManHair1_1_v[]={
	{ 0,6,-14,0, 897, 50, 0,31,-115,255 },   /* v0 p19/V1 used 2 times */ 
	{ -23,-22,-2,0, 91, 74, -68,-76,-59,255 },   /* v1 p19/V2 used 2 times */ 
	{ -28,4,1,0, 844, 230, -100,54,-34,255 },   /* v2 p19/V3 used 2 times */ 
	{ 28,4,1,0, 844, 230, 101,54,-34,255 },   /* v3 p21/V2 used 2 times */ 
	{ 23,-22,-2,0, 91, 74, 69,-76,-59,255 },   /* v4 p21/V3 used 2 times */ 
	{ 0,-5,69,0, 570, 1003, 0,8,120,255 },   /* v5 p14/V3 used 2 times */ 
	{ 0,22,4,0, 512, 253, 0,118,-22,255 },   /* v6 p20/V2 used 4 times */ 
	{ -28,4,1,0, 107, 213, -100,54,-34,255 },   /* v7 p20/V1 used 2 times */ 
	{ 0,-5,69,0, 511, 1134, 0,8,120,255 },   /* v8 p22/V1 used 2 times */ 
	{ 0,6,-14,0, 512, 0, 0,31,-115,255 },   /* v9 p20/V3 used 2 times */ 
	{ 28,4,1,0, 916, 213, 101,54,-34,255 },   /* v10 p22/V2 used 2 times */ 
	{ 23,-22,-2,0, 974, 93, 69,-76,-59,255 },   /* v11 p18/V1 used 2 times */ 
	{ 0,-5,69,0, 512, 1000, 0,8,120,255 },   /* v12 p15/V2 used 1 times */ 
	{ -23,-22,-2,0, 49, 93, -68,-76,-59,255 },   /* v13 p18/V2 used 2 times */ 
	{ 0,6,-14,0, 511, 26, 0,31,-115,255 },   /* v14 p18/V3 used 1 times */ 
};
static Vtx ManHair2_1_v[]={
	{ 0,-1,59,0, 511, 7, 0,-8,120,255 },   /* v0 p19/V1 used 3 times */ 
	{ 28,3,43,0, 916, 190, 104,40,45,255 },   /* v1 p19/V2 used 2 times */ 
	{ 0,22,45,0, 512, 168, 0,109,51,255 },   /* v2 p19/V3 used 4 times */ 
	{ -22,-22,38,0, 183, 246, -66,-93,34,255 },   /* v3 p20/V2 used 2 times */ 
	{ 22,-22,38,0, 840, 246, 67,-93,34,255 },   /* v4 p20/V3 used 2 times */ 
	{ -28,3,43,0, 107, 190, -103,40,45,255 },   /* v5 p21/V2 used 2 times */ 
	{ 0,7,-23,0, 511, 947, 0,35,-114,255 },   /* v6 p22/V1 used 3 times */ 
	{ 0,7,-23,0, 533, 1027, 0,35,-114,255 },   /* v7 p14/V1 used 2 times */ 
	{ -22,-22,38,0, 795, 66, -66,-93,34,255 },   /* v8 p18/V2 used 2 times */ 
	{ -28,3,43,0, 85, 242, -103,40,45,255 },   /* v9 p18/V1 used 2 times */ 
	{ 0,-1,59,0, 47, 28, 0,-8,120,255 },   /* v10 p18/V3 used 2 times */ 
	{ 22,-22,38,0, 795, 66, 67,-93,34,255 },   /* v11 p16/V1 used 2 times */ 
	{ 28,3,43,0, 85, 242, 104,40,45,255 },   /* v12 p16/V2 used 2 times */ 
};
static Vtx ManHair3_1_v[]={
	{ 22,-11,39,0, 1008, -67, 88,-70,42,255 },   /* v0 p23/V1 used 1 times */ 
	{ 22,10,31,0, 1007, 0, 72,94,19,255 },   /* v1 p23/V2 used 2 times */ 
	{ -22,10,31,0, 16, 0, -71,94,19,255 },   /* v2 p23/V3 used 2 times */ 
	{ -22,-11,39,0, 15, -67, -87,-70,42,255 },   /* v3 p23/V4 used 1 times */ 
	{ 0,1,-6,0, 512, 984, 0,-35,-113,255 },   /* v4 p21/V1 used 1 times */ 
	{ 0,-23,27,0, 512, 174, 0,-118,-13,255 },   /* v5 p22/V3 used 3 times */ 
	{ -22,-11,39,0, 15, 0, -87,-70,42,255 },   /* v6 p19/V2 used 2 times */ 
	{ 0,1,-6,0, 512, 965, 0,-35,-113,255 },   /* v7 p22/V1 used 2 times */ 
	{ 22,-11,39,0, 1008, 0, 88,-70,42,255 },   /* v8 p22/V2 used 2 times */ 
	{ 22,10,31,0, 84, 44, 72,94,19,255 },   /* v9 p20/V1 used 1 times */ 
	{ 22,-11,39,0, 977, 10, 88,-70,42,255 },   /* v10 p20/V2 used 1 times */ 
	{ 0,1,-6,0, 462, 908, 0,-35,-113,255 },   /* v11 p20/V3 used 2 times */ 
	{ -22,-11,39,0, 977, 10, -87,-70,42,255 },   /* v12 p17/V2 used 1 times */ 
	{ -22,10,31,0, 84, 44, -71,94,19,255 },   /* v13 p17/V3 used 1 times */ 
};
static unsigned char tmp_t1hair_txt[] = {
	0x04, 0x03, 0x27, 0x0b, 0x01, 0x04, 0x12, 0x02, 0x0f, 0x02, 0x02, 0x0b, 0x11, 0x01, 0x04, 0x01, 0x07, 0x04, 0x0a, 0x02, 0x10, 0x0e, 0x0d, 0x08, 0x03, 0x01, 0x20, 0x02, 0x0a, 0x03, 0x08, 0x07, 
	0x1f, 0x03, 0x01, 0x2e, 0x01, 0x07, 0x28, 0x01, 0x0f, 0x02, 0x02, 0x0b, 0x1a, 0x01, 0x04, 0x01, 0x07, 0x04, 0x07, 0x02, 0x0a, 0x15, 0x05, 0x02, 0x03, 0x01, 0x0b, 0x01, 0x13, 0x02, 0x08, 0x1c, 
	0x14, 0x0a, 0x03, 0x0b, 0x08, 0x0c, 0x1e, 0x07, 0x0f, 0x08, 0x02, 0x0b, 0x0d, 0x01, 0x04, 0x01, 0x07, 0x04, 0x07, 0x02, 0x13, 0x04, 0x05, 0x01, 0x0c, 0x02, 0x05, 0x07, 0x09, 0x08, 0x1d, 0x14, 
	0x06, 0x1e, 0x03, 0x02, 0x0b, 0x01, 0x0e, 0x04, 0x05, 0x05, 0x24, 0x05, 0x0d, 0x01, 0x04, 0x01, 0x07, 0x04, 0x0c, 0x01, 0x04, 0x10, 0x0b, 0x36, 0x0c, 0x05, 0x08, 0x0a, 0x03, 0x08, 0x0e, 0x06, 
	0x06, 0x16, 0x07, 0x01, 0x0b, 0x02, 0x0a, 0x12, 0x02, 0x0f, 0x32, 0x05, 0x0d, 0x11, 0x04, 0x01, 0x07, 0x04, 0x03, 0x01, 0x15, 0x09, 0x05, 0x0c, 0x01, 0x35, 0x01, 0x0a, 0x02, 0x02, 0x16, 0x06, 
	0x00, 0x3a, 0x0e, 0x03, 0x20, 0x08, 0x0c, 0x1e, 0x01, 0x0f, 0x02, 0x08, 0x0d, 0x1a, 0x04, 0x03, 0x07, 0x04, 0x03, 0x01, 0x0e, 0x18, 0x08, 0x0c, 0x01, 0x0b, 0x0c, 0x09, 0x08, 0x0a, 0x06, 0x00, 
	0x00, 0x06, 0x17, 0x03, 0x02, 0x0b, 0x01, 0x12, 0x07, 0x0f, 0x27, 0x08, 0x05, 0x11, 0x0a, 0x03, 0x07, 0x04, 0x22, 0x22, 0x0e, 0x0d, 0x02, 0x0c, 0x02, 0x05, 0x0a, 0x01, 0x08, 0x1f, 0x06, 0x00, 
	0x00, 0x00, 0x00, 0x04, 0x01, 0x0b, 0x02, 0x04, 0x04, 0x0f, 0x08, 0x02, 0x0b, 0x11, 0x0a, 0x03, 0x07, 0x04, 0x01, 0x03, 0x15, 0x0d, 0x01, 0x0c, 0x05, 0x02, 0x0a, 0x02, 0x0c, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x06, 0x1c, 0x03, 0x08, 0x08, 0x07, 0x21, 0x05, 0x05, 0x02, 0x0b, 0x01, 0x09, 0x09, 0x07, 0x04, 0x01, 0x09, 0x04, 0x05, 0x1d, 0x01, 0x05, 0x03, 0x09, 0x08, 0x21, 0x06, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x19, 0x29, 0x02, 0x0b, 0x03, 0x12, 0x01, 0x0f, 0x24, 0x05, 0x1a, 0x09, 0x09, 0x09, 0x04, 0x02, 0x0a, 0x10, 0x0b, 0x0c, 0x01, 0x05, 0x0a, 0x01, 0x02, 0x16, 0x06, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x06, 0x12, 0x01, 0x0b, 0x01, 0x0e, 0x09, 0x0f, 0x02, 0x02, 0x05, 0x09, 0x09, 0x1b, 0x04, 0x02, 0x13, 0x09, 0x08, 0x0c, 0x05, 0x02, 0x0a, 0x08, 0x0a, 0x06, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x06, 0x16, 0x07, 0x08, 0x08, 0x04, 0x04, 0x0f, 0x02, 0x05, 0x05, 0x10, 0x09, 0x1b, 0x04, 0x02, 0x13, 0x18, 0x02, 0x03, 0x05, 0x01, 0x09, 0x08, 0x23, 0x06, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x02, 0x20, 0x03, 0x12, 0x0b, 0x02, 0x0b, 0x05, 0x10, 0x09, 0x03, 0x04, 0x01, 0x04, 0x11, 0x02, 0x01, 0x0b, 0x07, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x06, 0x23, 0x03, 0x0b, 0x01, 0x0e, 0x01, 0x05, 0x30, 0x0d, 0x2a, 0x09, 0x03, 0x04, 0x03, 0x04, 0x01, 0x01, 0x01, 0x08, 0x07, 0x08, 0x2c, 0x06, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a, 0x02, 0x08, 0x0e, 0x09, 0x0f, 0x01, 0x1a, 0x03, 0x09, 0x03, 0x0a, 0x03, 0x34, 0x05, 0x07, 0x05, 0x01, 0x03, 0x02, 0x19, 0x06, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x1c, 0x01, 0x05, 0x07, 0x10, 0x05, 0x08, 0x05, 0x0d, 0x09, 0x03, 0x07, 0x01, 0x04, 0x05, 0x01, 0x02, 0x1b, 0x02, 0x13, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x14, 0x07, 0x0b, 0x03, 0x12, 0x33, 0x05, 0x05, 0x05, 0x09, 0x03, 0x09, 0x01, 0x10, 0x01, 0x01, 0x05, 0x07, 0x08, 0x17, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x12, 0x08, 0x08, 0x04, 0x0d, 0x02, 0x08, 0x11, 0x09, 0x01, 0x07, 0x03, 0x18, 0x02, 0x01, 0x01, 0x03, 0x37, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x38, 0x01, 0x05, 0x04, 0x09, 0x05, 0x0b, 0x10, 0x1b, 0x01, 0x29, 0x0a, 0x03, 0x02, 0x05, 0x03, 0x02, 0x2c, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x05, 0x03, 0x10, 0x0f, 0x0b, 0x25, 0x03, 0x01, 0x07, 0x04, 0x01, 0x03, 0x02, 0x03, 0x01, 0x14, 0x2d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x31, 0x02, 0x02, 0x04, 0x02, 0x01, 0x03, 0x01, 0x03, 0x22, 0x25, 0x05, 0x02, 0x02, 0x01, 0x04, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x08, 0x04, 0x39, 0x02, 0x2e, 0x02, 0x07, 0x02, 0x2a, 0x01, 0x01, 0x03, 0x01, 0x17, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x26, 0x05, 0x09, 0x09, 0x2b, 0x2f, 0x02, 0x07, 0x02, 0x03, 0x1d, 0x02, 0x01, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x19, 0x01, 0x01, 0x0a, 0x0b, 0x11, 0x01, 0x0a, 0x07, 0x11, 0x02, 0x01, 0x01, 0x26, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x15, 0x08, 0x09, 0x11, 0x07, 0x07, 0x0a, 0x04, 0x10, 0x02, 0x01, 0x03, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x17, 0x08, 0x0a, 0x02, 0x2b, 0x0a, 0x15, 0x0a, 0x0c, 0x02, 0x02, 0x21, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x13, 0x01, 0x18, 0x2f, 0x09, 0x0e, 0x01, 0x0d, 0x01, 0x01, 0x17, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x1c, 0x02, 0x0a, 0x05, 0x18, 0x04, 0x03, 0x01, 0x02, 0x13, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x14, 0x01, 0x03, 0x05, 0x04, 0x0a, 0x0a, 0x01, 0x02, 0x1f, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x28, 0x03, 0x02, 0x07, 0x0a, 0x03, 0x0d, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x16, 0x01, 0x01, 0x0b, 0x07, 0x01, 0x02, 0x0e, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x13, 0x11, 0x01, 0x07, 0x07, 0x01, 0x19, 0x2d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
};
static unsigned short tmp_tlut[] = {
	0x7bc7, 0xdf0d, 0xe74d, 0xd6cd, 0xbe0b, 0xef8f, 0x7387, 0xce8b, 
	0xef8d, 0xce8d, 0xc64b, 0xf7cf, 0xd6cb, 0xe74f, 0xb5cb, 0xf7d1, 
	0xc64d, 0xdf0f, 0xad8b, 0xc60b, 0x8407, 0xbdcb, 0x8c49, 0x9489, 
	0xd6cf, 0x8409, 0xe70f, 0xd68d, 0xa509, 0xdf0b, 0xad4b, 0x9d09, 
	0xefcf, 0xb58b, 0xdecd, 0x9cc9, 0xe74b, 0xc60d, 0xa549, 0xe78d, 
	0xa54b, 0xce4b, 0xce4d, 0xf7cd, 0xad49, 0x7b87, 0xffcf, 0xffd1, 
	0xef4d, 0x94c9, 0xdf4b, 0xef91, 0xbe0d, 0xf78f, 0xdecb, 0xd68b, 
	0x8c89, 0xe751, 0x73c7, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
};

/*---------------------------------------------------------------------------*/






#define gs_Nin_LoadTextureImage(timg,fmt,siz,width,height,tmem,tt)	\
	gsDPSetTextureImage(fmt,siz,1,timg),	\
	gsDPTileSync(),	\
	gsDPSetTile(fmt,siz,0,tmem,tt,0,0,0,0,0,0,0),	\
	gsDPLoadSync(),	\
	gsDPLoadBlock(tt,0,0,width*height-1,CALC_DXT(width,siz##_BYTES))

#define gs_Nin_SetUpTileDescrip(fmt,siz,width,height,tmem,tt,cs,ms,ss,ct,mt,st)	\
	gsDPTileSync(),	\
	gsDPSetTile(fmt,siz,((((width)*siz##_LINE_BYTES)+7)>>3),tmem,tt,0,ct,mt,st,cs,ms,ss),	\
	gsDPSetTileSize(tt,0,0,(width-1)<<G_TEXTURE_IMAGE_FRAC,(height-1)<<G_TEXTURE_IMAGE_FRAC)

#define G_CC_PRIMSHADE PRIMITIVE,0,SHADE,0,0,0,0,SHADE

/******************************************************************************
	main display list
******************************************************************************/

Gfx ManHair1_1_model[]={
	gsDPPipeSync(),
	gsDPLoadTLUT_pal256(tmp_tlut),

	gsSPTexture(65535, 65535,0, 0, 1),
	gsDPPipeSync(),

	gs_Nin_SetUpTileDescrip(G_IM_FMT_CI,G_IM_SIZ_8b,32,32,0,0,G_TX_CLAMP,5,0,G_TX_CLAMP,5,0),
	gs_Nin_LoadTextureImage(tmp_t1hair_txt,G_IM_FMT_CI,G_IM_SIZ_8b,32,32,0,7),

	gsSPVertex(&ManHair1_1_v[0], 15, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(0, 3, 4, 0),
	gsSP1Triangle(2, 1, 5, 0),
	gsSP1Triangle(6, 7, 8, 0),
	gsSP1Triangle(7, 6, 9, 0),
	gsSP1Triangle(6, 10, 9, 0),
	gsSP1Triangle(8, 10, 6, 0),
	gsSP1Triangle(5, 4, 3, 0),
	gsSP1Triangle(11, 12, 13, 0),
	gsSP1Triangle(11, 13, 14, 0),
	gsSPEndDisplayList(),
};

Gfx *ManHair1_1_modelT = NULL;

#undef G_CC_PRIMSHADE

#undef gs_Nin_LoadTextureImage

#undef gs_Nin_SetUpTileDescrip

/* 15 vertices */

/******************************************************************************
	vertex & texture
******************************************************************************/



/*   0 vertices */
/* 32 x 32  G_IM_SIZ_16b G_IM_FMT_RGBA  */






#define gs_Nin_LoadTextureImage(timg,fmt,siz,width,height,tmem,tt)	\
	gsDPSetTextureImage(fmt,siz,1,timg),	\
	gsDPTileSync(),	\
	gsDPSetTile(fmt,siz,0,tmem,tt,0,0,0,0,0,0,0),	\
	gsDPLoadSync(),	\
	gsDPLoadBlock(tt,0,0,width*height-1,CALC_DXT(width,siz##_BYTES))

#define gs_Nin_SetUpTileDescrip(fmt,siz,width,height,tmem,tt,cs,ms,ss,ct,mt,st)	\
	gsDPTileSync(),	\
	gsDPSetTile(fmt,siz,((((width)*siz##_LINE_BYTES)+7)>>3),tmem,tt,0,ct,mt,st,cs,ms,ss),	\
	gsDPSetTileSize(tt,0,0,(width-1)<<G_TEXTURE_IMAGE_FRAC,(height-1)<<G_TEXTURE_IMAGE_FRAC)

#define G_CC_PRIMSHADE PRIMITIVE,0,SHADE,0,0,0,0,SHADE

/******************************************************************************
	main display list
******************************************************************************/

Gfx ManHair2_1_model[]={
	gsDPPipeSync(),
	gsDPLoadTLUT_pal256(tmp_tlut),

	gsSPTexture(65535, 65535,0, 0, 1),
	gsDPPipeSync(),

	gs_Nin_SetUpTileDescrip(G_IM_FMT_CI,G_IM_SIZ_8b,32,32,0,0,G_TX_CLAMP,5,0,G_TX_CLAMP,5,0),
	gs_Nin_LoadTextureImage(tmp_t1hair_txt,G_IM_FMT_CI,G_IM_SIZ_8b,32,32,0,7),

	gsSPVertex(&ManHair2_1_v[0], 13, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(0, 3, 4, 0),
	gsSP1Triangle(2, 5, 0, 0),
	gsSP1Triangle(2, 1, 6, 0),
	gsSP1Triangle(6, 5, 2, 0),
	gsSP1Triangle(4, 3, 6, 0),
	gsSP1Triangle(7, 8, 9, 0),
	gsSP1Triangle(9, 8, 10, 0),
	gsSP1Triangle(11, 12, 10, 0),
	gsSP1Triangle(12, 11, 7, 0),
	gsSPEndDisplayList(),
};

Gfx *ManHair2_1_modelT = NULL;

#undef G_CC_PRIMSHADE

#undef gs_Nin_LoadTextureImage

#undef gs_Nin_SetUpTileDescrip

/* 13 vertices */

/******************************************************************************
	vertex & texture
******************************************************************************/



/*   0 vertices */
/* 32 x 32  G_IM_SIZ_16b G_IM_FMT_RGBA  */






#define gs_Nin_LoadTextureImage(timg,fmt,siz,width,height,tmem,tt)	\
	gsDPSetTextureImage(fmt,siz,1,timg),	\
	gsDPTileSync(),	\
	gsDPSetTile(fmt,siz,0,tmem,tt,0,0,0,0,0,0,0),	\
	gsDPLoadSync(),	\
	gsDPLoadBlock(tt,0,0,width*height-1,CALC_DXT(width,siz##_BYTES))

#define gs_Nin_SetUpTileDescrip(fmt,siz,width,height,tmem,tt,cs,ms,ss,ct,mt,st)	\
	gsDPTileSync(),	\
	gsDPSetTile(fmt,siz,((((width)*siz##_LINE_BYTES)+7)>>3),tmem,tt,0,ct,mt,st,cs,ms,ss),	\
	gsDPSetTileSize(tt,0,0,(width-1)<<G_TEXTURE_IMAGE_FRAC,(height-1)<<G_TEXTURE_IMAGE_FRAC)

#define G_CC_PRIMSHADE PRIMITIVE,0,SHADE,0,0,0,0,SHADE

/******************************************************************************
	main display list
******************************************************************************/

Gfx ManHair3_1_model[]={
	gsDPPipeSync(),
	gsDPLoadTLUT_pal256(tmp_tlut),

	gsSPTexture(65535, 65535,0, 0, 1),
	gsDPPipeSync(),

	gs_Nin_SetUpTileDescrip(G_IM_FMT_CI,G_IM_SIZ_8b,32,32,0,0,G_TX_CLAMP,5,0,G_TX_CLAMP,5,0),
	gs_Nin_LoadTextureImage(tmp_t1hair_txt,G_IM_FMT_CI,G_IM_SIZ_8b,32,32,0,7),

	gsSPVertex(&ManHair3_1_v[0], 14, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(0, 2, 3, 0),
	gsSP1Triangle(4, 2, 1, 0),
	gsSP1Triangle(5, 6, 7, 0),
	gsSP1Triangle(7, 8, 5, 0),
	gsSP1Triangle(6, 5, 8, 0),
	gsSP1Triangle(9, 10, 11, 0),
	gsSP1Triangle(11, 12, 13, 0),
	gsSPEndDisplayList(),
};

Gfx *ManHair3_1_modelT = NULL;

#undef G_CC_PRIMSHADE

#undef gs_Nin_LoadTextureImage

#undef gs_Nin_SetUpTileDescrip

/* 14 vertices */

/******************************************************************************
	vertex & texture
******************************************************************************/



/*   0 vertices */
/* 32 x 32  G_IM_SIZ_16b G_IM_FMT_RGBA  */


