model.inc.c (3333B)
1 // 0x07023C70 - 0x07023C88 2 static const Lights1 hmc_seg7_lights_07023C70 = gdSPDefLights1( 3 0x79, 0x79, 0x79, 4 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 5 ); 6 7 // 0x07023C88 - 0x07023D48 8 static const Vtx hmc_seg7_vertex_07023C88[] = { 9 {{{ -91, 0, -45}, 0, { -22, 4380}, {0x8a, 0x17, 0xd8, 0xff}}}, 10 {{{ -73, -53, 46}, 0, { 158, 3308}, {0x9f, 0xc9, 0x3c, 0xff}}}, 11 {{{ -32, 24, 51}, 0, { -194, 2768}, {0xad, 0x5e, 0x11, 0xff}}}, 12 {{{ 0, 0, -101}, 0, { 426, 5632}, {0xf6, 0x1d, 0x85, 0xff}}}, 13 {{{ 74, 54, -45}, 0, { 1058, 4388}, {0x3e, 0x52, 0xb7, 0xff}}}, 14 {{{ -32, 24, 51}, 0, { 1634, 2768}, {0xad, 0x5e, 0x11, 0xff}}}, 15 {{{ 28, 87, 46}, 0, { 1246, 3284}, {0x05, 0x70, 0x3a, 0xff}}}, 16 {{{ 92, 0, 46}, 0, { 874, 3300}, {0x72, 0xf9, 0x36, 0xff}}}, 17 {{{ -41, -67, -45}, 0, { 272, 4428}, {0xdc, 0x95, 0xc7, 0xff}}}, 18 {{{ 37, -80, 29}, 0, { 546, 3484}, {0x21, 0x8f, 0x2c, 0xff}}}, 19 {{{ 66, -59, -28}, 0, { 660, 4196}, {0x53, 0xb3, 0xc9, 0xff}}}, 20 {{{ 0, 0, 102}, 0, { 426, 2044}, {0xf3, 0x03, 0x7e, 0xff}}}, 21 }; 22 23 // 0x07023D48 - 0x07023E10 24 static const Gfx hmc_seg7_dl_07023D48[] = { 25 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, hmc_seg7_texture_07004800), 26 gsDPLoadSync(), 27 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 28 gsSPLight(&hmc_seg7_lights_07023C70.l, 1), 29 gsSPLight(&hmc_seg7_lights_07023C70.a, 2), 30 gsSPVertex(hmc_seg7_vertex_07023C88, 12, 0), 31 gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0), 32 gsSP2Triangles( 2, 4, 3, 0x0, 5, 6, 4, 0x0), 33 gsSP2Triangles( 4, 6, 7, 0x0, 3, 8, 0, 0x0), 34 gsSP2Triangles( 8, 9, 1, 0x0, 10, 7, 9, 0x0), 35 gsSP2Triangles( 1, 0, 8, 0x0, 3, 10, 8, 0x0), 36 gsSP2Triangles( 3, 4, 10, 0x0, 9, 8, 10, 0x0), 37 gsSP2Triangles(11, 9, 7, 0x0, 11, 7, 6, 0x0), 38 gsSP2Triangles(11, 1, 9, 0x0, 11, 2, 1, 0x0), 39 gsSP2Triangles(11, 6, 2, 0x0, 7, 10, 4, 0x0), 40 gsSPEndDisplayList(), 41 }; 42 43 // 0x07023E10 - 0x07023EB8 44 const Gfx hmc_seg7_dl_07023E10[] = { 45 gsDPPipeSync(), 46 gsDPSetCycleType(G_CYC_2CYCLE), 47 gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2), 48 gsDPSetDepthSource(G_ZS_PIXEL), 49 gsDPSetFogColor(0, 0, 0, 255), 50 gsSPFogPosition(960, 1000), 51 gsSPSetGeometryMode(G_FOG), 52 gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_PASS2), 53 gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD), 54 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON), 55 gsDPTileSync(), 56 gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD), 57 gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC), 58 gsSPDisplayList(hmc_seg7_dl_07023D48), 59 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF), 60 gsDPPipeSync(), 61 gsDPSetCycleType(G_CYC_1CYCLE), 62 gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2), 63 gsSPClearGeometryMode(G_FOG), 64 gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), 65 gsSPEndDisplayList(), 66 };