#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),
	gsSP2Triangles(0, 1, 2, 0, 2, 1, 3, 0),
	gsSP2Triangles(3, 4, 2, 0, 2, 4, 0, 0),
	gsSP2Triangles(1, 0, 5, 0, 6, 3, 1, 0),
	gsSP2Triangles(5, 7, 1, 0, 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),
	gsSP2Triangles(0, 1, 2, 0, 2, 3, 0, 0),
	gsSP2Triangles(3, 4, 0, 0, 2, 1, 5, 0),
	gsSP2Triangles(5, 3, 2, 0, 5, 6, 3, 0),
	gsSP2Triangles(7, 4, 3, 0, 6, 7, 3, 0),
	gsSPEndDisplayList(),
}; /* o1 */ 

/* 16 vertices */
Vtx VS_Minislippy_body_v[]={
	{    17,   -12,    -1,     0,     0,   511,    53,   -85,   -65,     0},	/* 0 */
	{     4,     0,   -11,     0,   253,  -119,   -23,     0,  -118,     0},	/* 1 */
	{    20,     0,    -8,     0,   256,   537,    55,     0,  -107,     0},	/* 2 */
	{    17,    12,    -1,     0,   512,   511,    26,    72,   -92,     0},	/* 3 */
	{    23,     0,    -1,     0,   257,   747,   113,     0,    39,     0},	/* 4 */
	{     3,   -11,    -1,     0,    25,   -66,   -45,   -72,   -83,     0},	/* 5 */
	{     3,    11,    -1,     0,   481,   -66,    -6,    81,   -88,     0},	/* 6 */
	{    -2,     0,    -1,     0,   252,  -259,  -119,     0,    -8,     0},	/* 7 */
	{     3,    11,    -1,     0,  -172,   865,   -56,    80,    68,     0},	/* 8 */
	{    -2,     0,    -1,     0,   505,  1113,  -119,     0,    -8,     0},	/* 9 */
	{     3,     0,     7,     0,   506,   878,   -63,     0,   100,     0},	/* 10 */
	{    14,     0,     9,     0,   509,   320,    25,     0,   116,     0},	/* 11 */
	{    17,    12,    -1,     0,  -253,   128,    35,    66,    93,     0},	/* 12 */
	{     3,   -11,    -1,     0,  1184,   869,   -31,   -71,    89,     0},	/* 13 */
	{    17,   -12,    -1,     0,  1273,   132,    -6,   -77,    90,     0},	/* 14 */
	{    23,     0,    -1,     0,   511,  -169,   113,     0,    39,     0},	/* 15 */
};


/*   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, 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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