#include<ultra64.h>

extern Vtx ManLfoot_3c_v[];
extern Vtx ManLfoot_3c_vmcur[];
extern Tri ManLfoot_3c_tri[];
extern Lights1 ManLfoot_3c_material[];
extern Mtx ManLfoot_3c_matrix[];

extern unsigned short Sshoes_bottom_txt[];
extern unsigned short St3_hand_txt[];
extern unsigned short St3best_b_txt[];
extern unsigned short St3best_f_txt[];
extern unsigned short St3best_s_txt[];
extern unsigned short St3best_t_txt[];
extern unsigned short St3farm_txt[];
extern unsigned short St3hara_txt[];
extern unsigned short St3met_b_txt[];
extern unsigned short St3met_f_txt[];
extern unsigned short St3met_gl_txt[];
extern unsigned short St3met_s_txt[];
extern unsigned short St3neck_txt[];
extern unsigned short St3shin_txt[];
extern unsigned short St3shoe_txt[];
extern unsigned short St3shoe_b_txt[];
extern unsigned short St3thigh_b_txt[];
extern unsigned short St3thigh_f_txt[];
extern unsigned short St3uarm_b_txt[];
extern unsigned short St3uarm_f_txt[];
extern unsigned short St3waist_b_txt[];
extern unsigned short St3waist_f_txt[];
extern unsigned short St3waist_s_txt[];
extern unsigned short black_txt[];



#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 */


/* ======== g2 ======== */


/* ======== g1 ======== */


/* ======== db ======== */

Gfx ManLfoot_3c_model[]={

	gsDPPipeSync(),
	gsDPSetCombineMode(G_CC_PRIMSHADE,G_CC_PASS2),
	gsSPTexture(1, 1,0, 0, 0),
	gsDPSetPrimColor(0,0,255,255,255,255),
	gsSPVertex(&ManLfoot_3c_v[0], 4, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(0, 2, 3, 0),
	gsSP1Triangle(3, 1, 0, 0),
	gsSP1Triangle(3, 2, 1, 0),
	gsSPEndDisplayList(),
}; /* db */ 

Gfx ManLfoot_3c_modelT[] = {
	gsSPEndDisplayList()
};

#undef G_CC_PRIMSHADE

#undef gs_Nin_LoadTextureImage

#undef gs_Nin_SetUpTileDescrip

/* 4 vertices */
Vtx ManLfoot_3c_v[]={
	{ 39,-28,-39,0, 0, 0,  80,-45,-75,255 },   /* v0 used p8/V1 3 times */
	{ 10,-28,94,0, 0, 0,  3,-8,120,255 },   /* v1 used p8/V2 3 times */
	{ -23,-26,-40,0, 0, 0,  -82,-40,-76,255 },   /* v2 used p8/V3 3 times */
	{ 11,26,-36,0, 0, 0,  4,103,-59,255 },   /* v3 used p7/V3 3 times */
};


/*   0 vertices */
