saku.h 5.72 KB
/* 00_saku_bmp */
unsigned char saku_mdl_tex0[] = {
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 
	0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40, 
	0x01, 0x52, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 
	0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x25, 0x40, 
	0x66, 0x51, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 
	0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x15, 0x66, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 
	0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 
	0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 
	0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 
};

unsigned short saku_mdl_lut0[] = {
	0xa3d3, 0xc4db, 0x6a49, 0x0000, 0x8b0d, 0x7315, 0x520f, 0x9b01, 
};

Vtx saku_mdl_vtx0[] = {
	{ -1650, -62, -3300, 0, 228 << 6, 0 << 6, 127, 0, 0, 255 },	/* 0 */
	{ -1650, 63, -3300, 0, 228 << 6, 16 << 6, 127, 0, 0, 255 },	/* 1 */
	{ -1650, 63, 0, 0, -212 << 6, 16 << 6, 127, 0, 0, 255 },	/* 2 */
	{ -1650, -62, 0, 0, -212 << 6, 0 << 6, 127, 0, 0, 255 },	/* 3 */
	{ 1650, 63, 0, 0, -212 << 6, 16 << 6, -127, 0, 0, 255 },	/* 4 */
	{ 1650, 63, -3300, 0, 228 << 6, 16 << 6, -127, 0, 0, 255 },	/* 5 */
	{ 1650, -62, -3300, 0, 228 << 6, 0 << 6, -127, 0, 0, 255 },	/* 6 */
	{ 1650, -62, 0, 0, -212 << 6, 0 << 6, -127, 0, 0, 255 },	/* 7 */
	{ 1650, -62, -3300, 0, 228 << 6, 0 << 6, 0, 0, 127, 255 },	/* 8 */
	{ 1650, 63, -3300, 0, 228 << 6, 16 << 6, 0, 0, 127, 255 },	/* 9 */
	{ -1650, 63, -3300, 0, -212 << 6, 16 << 6, 0, 0, 127, 255 },	/* 10 */
	{ -1650, -62, -3300, 0, -212 << 6, 0 << 6, 0, 0, 127, 255 },	/* 11 */
	{ 1650, -62, 0, 0, 228 << 6, 0 << 6, 0, 0, 127, 255 },	/* 12 */
	{ 1650, 63, 0, 0, 228 << 6, 16 << 6, 0, 0, 127, 255 },	/* 13 */
	{ -1650, 63, 0, 0, -212 << 6, 16 << 6, 0, 0, 127, 255 },	/* 14 */
	{ -1650, -62, 0, 0, -212 << 6, 0 << 6, 0, 0, 127, 255 },	/* 15 */
	{ -1650, 63, -3300, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 },	/* 16 */
	{ -1650, 63, 0, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 },	/* 17 */
	{ 1650, 63, 0, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 },	/* 18 */
	{ 1650, 63, -3300, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 },	/* 19 */
	{ -1650, -62, -3300, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 },	/* 20 */
	{ -1650, -62, 0, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 },	/* 21 */
	{ 1650, -62, 0, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 },	/* 22 */
	{ 1650, -62, -3300, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 },	/* 23 */
};

Gfx saku_mdl_model0[] = {
	gsSPVertex(saku_mdl_vtx0 + 16, 8, 0),
	gsSPCullDisplayList(0, 7),
	gsSPTexture(0xffff, 0xffff, 0, G_TX_RENDERTILE, G_ON),
	gsDPSetCombineMode(G_CC_MODULATERGBDECALA, G_CC_MODULATERGBDECALA),
	gsSPLightColor(LIGHT_2, 0xc7637c00),
	gsSPLightColor(LIGHT_3, 0x63313e00),
	gsSPVertex(saku_mdl_vtx0 + 0, 8, 0),
	gsDPSetTextureLUT(G_TT_RGBA16),
	gsDPLoadTLUT_pal16(0, saku_mdl_lut0),
	gsDPLoadTextureBlock_4b(saku_mdl_tex0,
		G_IM_FMT_CI,
		32, 32,
		0, G_TX_WRAP, G_TX_WRAP,
		5, 5, G_TX_NOLOD, G_TX_NOLOD),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(2, 3, 0, 0),
	gsSP1Triangle(4, 5, 6, 0),
	gsSP1Triangle(6, 7, 4, 0),
	gsSPLightColor(LIGHT_2, 0xb0799400),
	gsSPLightColor(LIGHT_3, 0x583c4a00),
	gsSPVertex(saku_mdl_vtx0 + 8, 8, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(2, 3, 0, 0),
	gsSP1Triangle(4, 5, 6, 0),
	gsSP1Triangle(6, 7, 4, 0),
	gsSPEndDisplayList(),
};