/*************************************************************************************************** Convert from NINGEN (corn) ****************************************************************************************************/ static Vtx vtx_corn_0[] = { { 196, 17, 114, 0, 325, 310, -1, -1, -1, 255}, { 259, 2, 106, 0, 422, 7, -1, -1, -1, 255}, { 184, -14, 137, 0, 399, 416, -1, -1, -1, 255}, { 196, 17, -113, 0, 105, 286, -1, -1, -1, 255}, { 259, 2, -105, 0, 69, -34, -1, -1, -1, 255}, { 171, 17, -157, 0, -107, 540, -1, -1, -1, 255}, { 184, -14, -136, 0, -34, 392, -1, -1, -1, 255}, { 91, 42, -114, 0, 236, 784, -1, -1, -1, 255}, { 140, 42, -34, 0, 621, 305, -1, -1, -1, 255}, { 116, -38, -75, 0, 344, 489, -1, -1, -1, 255}, { 171, 17, 158, 0, 417, 557, -1, -1, -1, 255}, { 116, -38, 76, 0, 111, 499, -1, -1, -1, 255}, { 91, 42, 115, 0, 120, 778, -1, -1, -1, 255}, { 140, 42, 35, 0, -40, 311, -1, -1, -1, 255}, }; static unsigned short otos_corn_txt[] = { 0xdcc1, 0xdd01, 0xdd01, 0xdd01, 0xdd01, 0xdcc1, 0xdd01, 0xdd01, 0xdcc1, 0xdd01, 0xdd01, 0xdcc1, 0xdcc1, 0xdd01, 0xdd01, 0xdcc1, 0xe501, 0xe501, 0xe501, 0xe501, 0xe501, 0xe501, 0xe501, 0xe501, 0xe501, 0xe501, 0xe501, 0xe501, 0xe501, 0xe501, 0xe501, 0xe501, 0xed41, 0xed41, 0xed41, 0xed41, 0xed41, 0xed41, 0xed41, 0xed41, 0xed41, 0xed41, 0xed41, 0xed41, 0xed41, 0xed41, 0xed41, 0xed41, 0xf581, 0xf581, 0xf581, 0xf581, 0xf581, 0xf581, 0xf581, 0xf581, 0xf581, 0xf581, 0xf581, 0xf581, 0xf581, 0xf581, 0xf581, 0xf581, 0xf5c1, 0xf5c1, 0xf5c1, 0xf5c1, 0xf5c1, 0xf5c1, 0xf5c1, 0xfdc1, 0xfdc1, 0xfdc1, 0xf5c1, 0xf5c1, 0xf5c1, 0xfdc1, 0xf5c1, 0xf5c1, 0xfe01, 0xfe01, 0xfe01, 0xfe01, 0xfe01, 0xfe01, 0xf601, 0xfe01, 0xfe01, 0xfe01, 0xfe01, 0xf601, 0xfe01, 0xfe01, 0xfe01, 0xfe01, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe81, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe41, 0xfe81, 0xfe81, 0xfe41, 0xfe41, 0xfe81, 0xfe81, 0xfe81, 0xfec1, 0xfe81, 0xf681, 0xfe81, 0xfe81, 0xfe81, 0xfe81, 0xfe81, 0xfe81, 0xfe81, 0xfe81, 0xfe81, 0xfe81, 0xfe81, 0xfec1, 0xfec1, 0xfec1, 0xfec1, 0xf6c1, 0xfec1, 0xfec1, 0xfec1, 0xfec1, 0xfec1, 0xfec1, 0xfec1, 0xfec1, 0xfec1, 0xfec1, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff41, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff01, 0xff01, 0xff01, 0xff01, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff01, 0xff01, 0xff01, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff41, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xff01, 0xee41, 0xee41, 0xf641, 0xf641, 0xf641, 0xf641, 0xf641, 0xf641, 0xf641, 0xf641, 0xf681, 0xf681, 0xf681, 0xf681, 0xee41, 0xee41, 0xdcc1, 0xdcc1, 0xdcc1, 0xdcc1, 0xdcc1, 0xdcc1, 0xdcc1, 0xdcc1, 0xdcc1, 0xdcc1, 0xdcc1, 0xdcc1, 0xdcc1, 0xdcc1, 0xdcc1, 0xdcc1, }; static Gfx gfx_corn_0[] = { gs_Tani_LoadTextureImage2(otos_corn_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, 7), gsSPVertex(&vtx_corn_0[0], 14, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSP1Triangle( 5, 4, 6, 0), gsSP1Triangle( 6, 7, 5, 0), gsSP1Triangle( 5, 7, 8, 0), gsSP1Triangle( 5, 8, 3, 0), gsSP1Triangle( 3, 8, 9, 0), gsSP1Triangle( 3, 9, 6, 0), gsSP1Triangle( 6, 4, 3, 0), gsSP1Triangle( 6, 9, 7, 0), gsSP1Triangle(10,11, 2, 0), gsSP1Triangle( 0,12,10, 0), gsSP1Triangle(10,12,11, 0), gsSP1Triangle( 2, 1,10, 0), gsSP1Triangle(10, 1, 0, 0), gsSP1Triangle( 2,11,13, 0), gsSP1Triangle( 0,13,12, 0), gsSP1Triangle( 2,13, 0, 0), gsSPEndDisplayList() }; Gfx gfx_corn[] = { gsDPPipeSync(), gsDPSetCombineMode(G_CC_DECALRGB, G_CC_DECALRGB), gsSPClearGeometryMode(G_LIGHTING), gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, 7, 0, 0,0,0, 0,0,0), gsSPTexture(0xffff,0xffff, 0, 0, G_ON), gs_Tani_SetUpTileDescrip(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, 0, G_TX_WRAP|G_TX_NOMIRROR, 4, G_TX_NOLOD, G_TX_WRAP|G_TX_NOMIRROR, 4, G_TX_NOLOD), gsSPDisplayList(gfx_corn_0), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPSetGeometryMode(G_LIGHTING), gsSPEndDisplayList() };