model.inc.c (4900B)
1 // 0x07011428 - 0x07011440 2 static const Lights1 ttc_seg7_lights_07011428 = gdSPDefLights1( 3 0x7f, 0x7f, 0x7f, 4 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 5 ); 6 7 // 0x07011440 - 0x07011530 8 static const Vtx ttc_seg7_vertex_07011440[] = { 9 {{{ 256, -153, -127}, 0, { 3034, 990}, {0x54, 0xd6, 0xac, 0xff}}}, 10 {{{ 256, 0, 128}, 0, { -2074, 0}, {0x54, 0x2a, 0x54, 0xff}}}, 11 {{{ 256, -153, 128}, 0, { -2074, 990}, {0x33, 0x99, 0x33, 0xff}}}, 12 {{{ 256, -153, 128}, 0, { 0, 990}, {0x33, 0x99, 0x33, 0xff}}}, 13 {{{ -255, -153, 128}, 0, { 0, 990}, {0xac, 0xd6, 0x54, 0xff}}}, 14 {{{ -255, -153, -127}, 0, { 4056, 990}, {0xcd, 0x99, 0xcd, 0xff}}}, 15 {{{ 256, -153, -127}, 0, { 4056, 990}, {0x54, 0xd6, 0xac, 0xff}}}, 16 {{{ 256, 0, 128}, 0, { 6100, 0}, {0x54, 0x2a, 0x54, 0xff}}}, 17 {{{ -255, -153, 128}, 0, { -4118, 990}, {0xac, 0xd6, 0x54, 0xff}}}, 18 {{{ 256, -153, 128}, 0, { 6100, 990}, {0x33, 0x99, 0x33, 0xff}}}, 19 {{{ -255, 0, 128}, 0, { -4118, 0}, {0xcd, 0x67, 0x33, 0xff}}}, 20 {{{ 256, -153, -127}, 0, { -5140, 990}, {0x54, 0xd6, 0xac, 0xff}}}, 21 {{{ -255, -153, -127}, 0, { 5078, 990}, {0xcd, 0x99, 0xcd, 0xff}}}, 22 {{{ -255, 0, -127}, 0, { 5078, 0}, {0xac, 0x2a, 0xac, 0xff}}}, 23 {{{ 256, 0, -127}, 0, { -5140, 0}, {0x33, 0x67, 0xcd, 0xff}}}, 24 }; 25 26 // 0x07011530 - 0x070115A0 27 static const Vtx ttc_seg7_vertex_07011530[] = { 28 {{{ -255, -153, 128}, 0, { 3034, 990}, {0xac, 0xd6, 0x54, 0xff}}}, 29 {{{ -255, 0, 128}, 0, { 3034, 0}, {0xcd, 0x67, 0x33, 0xff}}}, 30 {{{ -255, 0, -127}, 0, { -2074, 0}, {0xac, 0x2a, 0xac, 0xff}}}, 31 {{{ 256, -153, -127}, 0, { 3034, 990}, {0x54, 0xd6, 0xac, 0xff}}}, 32 {{{ 256, 0, -127}, 0, { 3034, 0}, {0x33, 0x67, 0xcd, 0xff}}}, 33 {{{ 256, 0, 128}, 0, { -2074, 0}, {0x54, 0x2a, 0x54, 0xff}}}, 34 {{{ -255, -153, -127}, 0, { -2074, 990}, {0xcd, 0x99, 0xcd, 0xff}}}, 35 }; 36 37 // 0x070115A0 - 0x070115E0 38 static const Vtx ttc_seg7_vertex_070115A0[] = { 39 {{{ 256, 0, -127}, 0, { 990, 0}, {0x33, 0x67, 0xcd, 0xff}}}, 40 {{{ -255, 0, 128}, 0, { 0, 990}, {0xcd, 0x67, 0x33, 0xff}}}, 41 {{{ 256, 0, 128}, 0, { 990, 990}, {0x54, 0x2a, 0x54, 0xff}}}, 42 {{{ -255, 0, -127}, 0, { 0, 0}, {0xac, 0x2a, 0xac, 0xff}}}, 43 }; 44 45 // 0x070115E0 - 0x07011670 46 static const Gfx ttc_seg7_dl_070115E0[] = { 47 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09003800), 48 gsDPLoadSync(), 49 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 50 gsSPLight(&ttc_seg7_lights_07011428.l, 1), 51 gsSPLight(&ttc_seg7_lights_07011428.a, 2), 52 gsSPVertex(ttc_seg7_vertex_07011440, 15, 0), 53 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 54 gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0), 55 gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0), 56 gsSP1Triangle(11, 13, 14, 0x0), 57 gsSPVertex(ttc_seg7_vertex_07011530, 7, 0), 58 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 59 gsSP1Triangle( 0, 2, 6, 0x0), 60 gsSPEndDisplayList(), 61 }; 62 63 // 0x07011670 - 0x070116A8 64 static const Gfx ttc_seg7_dl_07011670[] = { 65 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09005000), 66 gsDPLoadSync(), 67 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 68 gsSPVertex(ttc_seg7_vertex_070115A0, 4, 0), 69 gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0), 70 gsSPEndDisplayList(), 71 }; 72 73 // 0x070116A8 - 0x07011758 74 const Gfx ttc_seg7_dl_070116A8[] = { 75 gsDPPipeSync(), 76 gsDPSetCycleType(G_CYC_2CYCLE), 77 gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2), 78 gsDPSetDepthSource(G_ZS_PIXEL), 79 gsDPSetFogColor(200, 255, 255, 255), 80 gsSPFogPosition(900, 1000), 81 gsSPSetGeometryMode(G_FOG), 82 gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_PASS2), 83 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), 84 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON), 85 gsDPTileSync(), 86 gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD), 87 gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC), 88 gsSPDisplayList(ttc_seg7_dl_070115E0), 89 gsSPDisplayList(ttc_seg7_dl_07011670), 90 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF), 91 gsDPPipeSync(), 92 gsDPSetCycleType(G_CYC_1CYCLE), 93 gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2), 94 gsSPClearGeometryMode(G_FOG), 95 gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), 96 gsSPEndDisplayList(), 97 };