#include<ultra64.h>

extern Vtx VS_Minislippy_body_v[];
extern Vtx VS_Minislippy_body_vmcur[];
extern Tri VS_Minislippy_body_tri[];
extern Mtx VS_Minislippy_body_matrix[];

extern unsigned short VS_Minislippy_body_txt[];
extern unsigned short VS_Minislippy_cap_txt[];
extern unsigned short VS_Minislippy_eye_txt[];
extern unsigned short VS_Minislippy_green_txt[];
extern unsigned short VS_MinifoxTX_03_txt[];
extern unsigned short VS_Minifox_jacket_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)

/* main display list */


/* ======== o1 ======== */

Gfx VS_Minislippy_body[]={

	gs_Nin_SetUpTileDescrip(G_IM_FMT_RGBA,G_IM_SIZ_16b,16,16,0,0,G_TX_MIRROR,4,0,G_TX_MIRROR,4,0),
	gs_Nin_LoadTextureImage(VS_Minifox_jacket_txt,G_IM_FMT_RGBA,G_IM_SIZ_16b,16,16,0,7),

	gsSPVertex(&VS_Minislippy_body_v[0], 8, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(2, 1, 3, 0),
	gsSP1Triangle(3, 4, 2, 0),
	gsSP1Triangle(2, 4, 0, 0),
	gsSP1Triangle(1, 0, 5, 0),
	gsSP1Triangle(6, 3, 1, 0),
	gsSP1Triangle(5, 7, 1, 0),
	gsSP1Triangle(1, 7, 6, 0),

	gs_Nin_SetUpTileDescrip(G_IM_FMT_RGBA,G_IM_SIZ_16b,32,32,0,0,G_TX_CLAMP,5,0,G_TX_CLAMP,5,0),
	gs_Nin_LoadTextureImage(VS_Minislippy_body_txt,G_IM_FMT_RGBA,G_IM_SIZ_16b,32,32,0,7),

	gsSPVertex(&VS_Minislippy_body_v[8], 8, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(2, 3, 0, 0),
	gsSP1Triangle(3, 4, 0, 0),
	gsSP1Triangle(2, 1, 5, 0),
	gsSP1Triangle(5, 3, 2, 0),
	gsSP1Triangle(5, 6, 3, 0),
	gsSP1Triangle(7, 4, 3, 0),
	gsSP1Triangle(6, 7, 3, 0),
	gsSPEndDisplayList(),
}; /* o1 */ 

/* 16 vertices */
Vtx VS_Minislippy_body_v[]={
	{ 17,-12,-1,0, 0, 511, 53, -85, -65, 0 },   /* v0 p16/V3 used 3 times */ 
	{ 4,0,-11,0, 253, -119, -23, 0, -118, 0 },   /* v1 p2/V2 used 6 times */ 
	{ 20,0,-8,0, 256, 537, 55, 0, -107, 0 },   /* v2 p16/V1 used 4 times */ 
	{ 17,12,-1,0, 512, 511, 26, 72, -92, 0 },   /* v3 p15/V3 used 3 times */ 
	{ 23,0,-1,0, 257, 747, 113, 0, 39, 0 },   /* v4 p16/V2 used 2 times */ 
	{ 3,-11,-1,0, 25, -66, -45, -72, -83, 0 },   /* v5 p11/V3 used 2 times */ 
	{ 3,11,-1,0, 481, -66, -6, 81, -88, 0 },   /* v6 p8/V1 used 2 times */ 
	{ -2,0,-1,0, 252, -259, -119, 0, -8, 0 },   /* v7 p4/V2 used 2 times */ 
	{ 3,11,-1,0, -172, 865, -56, 80, 68, 0 },   /* v8 p7/V1 used 3 times */ 
	{ -2,0,-1,0, 505, 1113, -119, 0, -8, 0 },   /* v9 p7/V2 used 2 times */ 
	{ 3,0,7,0, 506, 878, -63, 0, 100, 0 },   /* v10 p7/V3 used 4 times */ 
	{ 14,0,9,0, 509, 320, 25, 0, 116, 0 },   /* v11 p13/V2 used 6 times */ 
	{ 17,12,-1,0, -253, 128, 35, 66, 93, 0 },   /* v12 p9/V2 used 2 times */ 
	{ 3,-11,-1,0, 1184, 869, -31, -71, 89, 0 },   /* v13 p12/V3 used 3 times */ 
	{ 17,-12,-1,0, 1273, 132, -6, -77, 90, 0 },   /* v14 p3/V2 used 2 times */ 
	{ 23,0,-1,0, 511, -169, 113, 0, 39, 0 },   /* v15 p1/V2 used 2 times */ 
};


/*   0 vertices */
/*   1 Materials */

#define	LDIRX	0
#define	LDIRY	0
#define	LDIRZ	120
#define	AMBDIV	1
/* 32 x 32  G_IM_SIZ_16b G_IM_FMT_RGBA  */
unsigned short VS_Minislippy_body_txt[] = {
	0x9ce7, 0x6b5b, 0xbdef, 0x9ce7, 0x9ce7, 0x9ce7, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x9ce7, 0x9ce7, 0x9ce7, 0xbdef, 0x6b5b, 0x9ce7, 0x9ce7, 
	0x9ce7, 0x6b5b, 0xbdef, 0x9ce7, 0x9ce7, 0x9ce7, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x9ce7, 0x9ce7, 0x9ce7, 0xbdef, 0x6b5b, 0x9ce7, 0x9ce7, 
	0x9ce7, 0x6b5b, 0xbdef, 0x9ce7, 0x9ce7, 0x9ce7, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x9ce7, 0x9ce7, 0x9ce7, 0xbdef, 0x6b5b, 0x9ce7, 0x9ce7, 
	0x9ce7, 0x6b5b,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