/***** This file was created by MOURI's TOOL version 1.0 *****/


#include<ultra64.h>
/*   1 Materials */

extern Vtx bill01_v[];

extern unsigned short bill01_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

extern	Gfx bill01_model[]={
  gsSPVertex(&bill01_v[0],20,0),
  gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
  gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
  gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
  gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
  gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
  gsSPEndDisplayList(),
}; /* db */ 

#undef G_CC_PRIMSHADE
#undef gs_Nin_LoadTextureImage
#undef gs_Nin_SetUpTileDescrip
/*  20 vertices */
Vtx bill01_v[]={
	{   300,     0,  -300,     0,  2046,  1024,   255,   255,   255,   255},	/* 0 */
	{   300,  2400,  -300,     0,  2046, -7158,   255,   255,   255,   255},	/* 1 */
	{   300,  2400,   300,     0,     0, -7158,   255,   255,   255,   255},	/* 2 */
	{   300,     0,   300,     0,     0,  1024,   255,   255,   255,   255},	/* 3 */
	{   300,     0,   300,     0,  2049,  1024,   255,   255,   255,   255},	/* 4 */
	{   300,  2400,   300,     0,  2049, -7172,   255,   255,   255,   255},	/* 5 */
	{  -300,  2400,   300,     0,     0, -7172,   255,   255,   255,   255},	/* 6 */
	{  -300,     0,   300,     0,     0,  1024,   255,   255,   255,   255},	/* 7 */
	{  -300,     0,   300,     0,  2048,  1024,   255,   255,   255,   255},	/* 8 */
	{  -300,  2400,   300,     0,  2048, -7167,   255,   255,   255,   255},	/* 9 */
	{  -300,  2400,  -300,     0,     0, -7167,   255,   255,   255,   255},	/* 10 */
	{  -300,     0,  -300,     0,     0,  1024,   255,   255,   255,   255},	/* 11 */
	{  -300,     0,  -300,     0,  2048,  1024,   255,   255,   255,   255},	/* 12 */
	{  -300,  2400,  -300,     0,  2048, -7167,   255,   255,   255,   255},	/* 13 */
	{   300,  2400,  -300,     0,     0, -7167,   255,   255,   255,   255},	/* 14 */
	{   300,     0,  -300,     0,     0,  1024,   255,   255,   255,   255},	/* 15 */
	{   300,  2400,  -300,     0,     0,  1536,   255,   255,   255,   255},	/* 16 */
	{  -300,  2400,  -300,     0,     0,  1024,   255,   255,   255,   255},	/* 17 */
	{  -300,  2400,   300,     0,  1024,  1024,   255,   255,   255,   255},	/* 18 */
	{   300,  2400,   300,     0,  1024,  1536,   255,   255,   255,   255},	/* 19 */
};


