1.inc.c (10320B)
1 // 0x070056C0 - 0x070056D8 2 static const Lights1 wf_seg7_lights_070056C0 = gdSPDefLights1( 3 0x66, 0x66, 0x66, 4 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 5 ); 6 7 // 0x070056D8 - 0x070057C8 8 static const Vtx wf_seg7_vertex_070056D8[] = { 9 {{{ -153, 77, -255}, 0, { 2012, -4734}, {0x00, 0x7f, 0x00, 0xff}}}, 10 {{{ -204, 77, -255}, 0, { 2012, -4938}, {0x00, 0x7f, 0x00, 0xff}}}, 11 {{{ -153, 77, 256}, 0, { 0, -4734}, {0x00, 0x7f, 0x00, 0xff}}}, 12 {{{ -256, 102, 256}, 0, { 0, -5142}, {0x00, 0x7f, 0x00, 0xff}}}, 13 {{{ -204, 102, 256}, 0, { 0, -4938}, {0x00, 0x7f, 0x00, 0xff}}}, 14 {{{ -256, 102, -255}, 0, { 2012, -5142}, {0x00, 0x7f, 0x00, 0xff}}}, 15 {{{ -204, 102, -255}, 0, { 2012, -4938}, {0x00, 0x7f, 0x00, 0xff}}}, 16 {{{ 255, -127, -255}, 0, { 2012, -3098}, {0x00, 0x7f, 0x00, 0xff}}}, 17 {{{ 204, -127, -255}, 0, { 2012, -3302}, {0x00, 0x7f, 0x00, 0xff}}}, 18 {{{ 255, -127, 256}, 0, { 0, -3098}, {0x00, 0x7f, 0x00, 0xff}}}, 19 {{{ 204, -127, 256}, 0, { 0, -3302}, {0x00, 0x7f, 0x00, 0xff}}}, 20 {{{ -256, 128, 256}, 0, { 0, -2076}, {0x7f, 0x00, 0x00, 0xff}}}, 21 {{{ -256, 102, 256}, 0, { 0, -1872}, {0x7f, 0x00, 0x00, 0xff}}}, 22 {{{ -256, 128, -255}, 0, { 4056, -2076}, {0x7f, 0x00, 0x00, 0xff}}}, 23 {{{ -256, 102, -255}, 0, { 4056, -1872}, {0x7f, 0x00, 0x00, 0xff}}}, 24 }; 25 26 // 0x070057C8 - 0x070058B8 27 static const Vtx wf_seg7_vertex_070057C8[] = { 28 {{{ -102, 26, 256}, 0, { 0, -1258}, {0x7f, 0x00, 0x00, 0xff}}}, 29 {{{ -102, 51, -255}, 0, { 4056, -1462}, {0x7f, 0x00, 0x00, 0xff}}}, 30 {{{ -102, 51, 256}, 0, { 0, -1462}, {0x7f, 0x00, 0x00, 0xff}}}, 31 {{{ -153, 77, 256}, 0, { 0, -4734}, {0x00, 0x7f, 0x00, 0xff}}}, 32 {{{ -204, 77, -255}, 0, { 2012, -4938}, {0x00, 0x7f, 0x00, 0xff}}}, 33 {{{ -204, 77, 256}, 0, { 0, -4938}, {0x00, 0x7f, 0x00, 0xff}}}, 34 {{{ -204, 102, 256}, 0, { 0, -1872}, {0x7f, 0x00, 0x00, 0xff}}}, 35 {{{ -204, 77, 256}, 0, { 0, -1668}, {0x7f, 0x00, 0x00, 0xff}}}, 36 {{{ -204, 102, -255}, 0, { 4056, -1872}, {0x7f, 0x00, 0x00, 0xff}}}, 37 {{{ -204, 77, -255}, 0, { 4056, -1668}, {0x7f, 0x00, 0x00, 0xff}}}, 38 {{{ -153, 51, -255}, 0, { 4056, -1462}, {0x7f, 0x00, 0x00, 0xff}}}, 39 {{{ -153, 77, -255}, 0, { 4056, -1668}, {0x7f, 0x00, 0x00, 0xff}}}, 40 {{{ -153, 51, 256}, 0, { 0, -1462}, {0x7f, 0x00, 0x00, 0xff}}}, 41 {{{ -153, 77, 256}, 0, { 0, -1668}, {0x7f, 0x00, 0x00, 0xff}}}, 42 {{{ -102, 26, -255}, 0, { 4056, -1258}, {0x7f, 0x00, 0x00, 0xff}}}, 43 }; 44 45 // 0x070058B8 - 0x070059A8 46 static const Vtx wf_seg7_vertex_070058B8[] = { 47 {{{ 0, -25, -255}, 0, { 4056, -850}, {0x7f, 0x00, 0x00, 0xff}}}, 48 {{{ 0, 0, -255}, 0, { 4056, -1054}, {0x7f, 0x00, 0x00, 0xff}}}, 49 {{{ 0, -25, 256}, 0, { 0, -850}, {0x7f, 0x00, 0x00, 0xff}}}, 50 {{{ -153, 51, 256}, 0, { 0, -4734}, {0x00, 0x7f, 0x00, 0xff}}}, 51 {{{ -102, 51, 256}, 0, { 0, -4528}, {0x00, 0x7f, 0x00, 0xff}}}, 52 {{{ -153, 51, -255}, 0, { 2012, -4734}, {0x00, 0x7f, 0x00, 0xff}}}, 53 {{{ -102, 51, -255}, 0, { 2012, -4528}, {0x00, 0x7f, 0x00, 0xff}}}, 54 {{{ -51, 0, -255}, 0, { 4056, -1054}, {0x7f, 0x00, 0x00, 0xff}}}, 55 {{{ -51, 26, -255}, 0, { 4056, -1258}, {0x7f, 0x00, 0x00, 0xff}}}, 56 {{{ -51, 0, 256}, 0, { 0, -1054}, {0x7f, 0x00, 0x00, 0xff}}}, 57 {{{ -51, 26, 256}, 0, { 0, -1258}, {0x7f, 0x00, 0x00, 0xff}}}, 58 {{{ -102, 26, 256}, 0, { 0, -4528}, {0x00, 0x7f, 0x00, 0xff}}}, 59 {{{ -51, 26, 256}, 0, { 0, -4324}, {0x00, 0x7f, 0x00, 0xff}}}, 60 {{{ -102, 26, -255}, 0, { 2012, -4528}, {0x00, 0x7f, 0x00, 0xff}}}, 61 {{{ -51, 26, -255}, 0, { 2012, -4324}, {0x00, 0x7f, 0x00, 0xff}}}, 62 }; 63 64 // 0x070059A8 - 0x07005A98 65 static const Vtx wf_seg7_vertex_070059A8[] = { 66 {{{ 0, -25, -255}, 0, { 2012, -4120}, {0x00, 0x7f, 0x00, 0xff}}}, 67 {{{ 51, -25, 256}, 0, { 0, -3916}, {0x00, 0x7f, 0x00, 0xff}}}, 68 {{{ 51, -25, -255}, 0, { 2012, -3916}, {0x00, 0x7f, 0x00, 0xff}}}, 69 {{{ 0, 0, 256}, 0, { 0, -1054}, {0x7f, 0x00, 0x00, 0xff}}}, 70 {{{ 0, -25, 256}, 0, { 0, -850}, {0x7f, 0x00, 0x00, 0xff}}}, 71 {{{ 0, 0, -255}, 0, { 4056, -1054}, {0x7f, 0x00, 0x00, 0xff}}}, 72 {{{ -51, 0, 256}, 0, { 0, -4324}, {0x00, 0x7f, 0x00, 0xff}}}, 73 {{{ 0, 0, 256}, 0, { 0, -4120}, {0x00, 0x7f, 0x00, 0xff}}}, 74 {{{ -51, 0, -255}, 0, { 2012, -4324}, {0x00, 0x7f, 0x00, 0xff}}}, 75 {{{ 0, 0, -255}, 0, { 2012, -4120}, {0x00, 0x7f, 0x00, 0xff}}}, 76 {{{ 51, -50, -255}, 0, { 4056, -646}, {0x7f, 0x00, 0x00, 0xff}}}, 77 {{{ 51, -25, -255}, 0, { 4056, -850}, {0x7f, 0x00, 0x00, 0xff}}}, 78 {{{ 51, -50, 256}, 0, { 0, -646}, {0x7f, 0x00, 0x00, 0xff}}}, 79 {{{ 51, -25, 256}, 0, { 0, -850}, {0x7f, 0x00, 0x00, 0xff}}}, 80 {{{ 0, -25, 256}, 0, { 0, -4120}, {0x00, 0x7f, 0x00, 0xff}}}, 81 }; 82 83 // 0x07005A98 - 0x07005B88 84 static const Vtx wf_seg7_vertex_07005A98[] = { 85 {{{ 102, -76, 256}, 0, { 0, -3712}, {0x00, 0x7f, 0x00, 0xff}}}, 86 {{{ 153, -76, 256}, 0, { 0, -3506}, {0x00, 0x7f, 0x00, 0xff}}}, 87 {{{ 102, -76, -255}, 0, { 2012, -3712}, {0x00, 0x7f, 0x00, 0xff}}}, 88 {{{ 102, -76, -255}, 0, { 4056, -440}, {0x7f, 0x00, 0x00, 0xff}}}, 89 {{{ 102, -50, -255}, 0, { 4056, -646}, {0x7f, 0x00, 0x00, 0xff}}}, 90 {{{ 102, -76, 256}, 0, { 0, -440}, {0x7f, 0x00, 0x00, 0xff}}}, 91 {{{ 102, -50, 256}, 0, { 0, -646}, {0x7f, 0x00, 0x00, 0xff}}}, 92 {{{ 51, -50, 256}, 0, { 0, -3916}, {0x00, 0x7f, 0x00, 0xff}}}, 93 {{{ 102, -50, 256}, 0, { 0, -3712}, {0x00, 0x7f, 0x00, 0xff}}}, 94 {{{ 51, -50, -255}, 0, { 2012, -3916}, {0x00, 0x7f, 0x00, 0xff}}}, 95 {{{ 102, -50, -255}, 0, { 2012, -3712}, {0x00, 0x7f, 0x00, 0xff}}}, 96 {{{ 153, -101, -255}, 0, { 4056, -236}, {0x7f, 0x00, 0x00, 0xff}}}, 97 {{{ 153, -76, -255}, 0, { 4056, -440}, {0x7f, 0x00, 0x00, 0xff}}}, 98 {{{ 153, -101, 256}, 0, { 0, -236}, {0x7f, 0x00, 0x00, 0xff}}}, 99 {{{ 153, -76, 256}, 0, { 0, -440}, {0x7f, 0x00, 0x00, 0xff}}}, 100 }; 101 102 // 0x07005B88 - 0x07005C38 103 static const Vtx wf_seg7_vertex_07005B88[] = { 104 {{{ 153, -101, -255}, 0, { 2012, -3506}, {0x00, 0x7f, 0x00, 0xff}}}, 105 {{{ 204, -101, 256}, 0, { 0, -3302}, {0x00, 0x7f, 0x00, 0xff}}}, 106 {{{ 204, -101, -255}, 0, { 2012, -3302}, {0x00, 0x7f, 0x00, 0xff}}}, 107 {{{ 102, -76, -255}, 0, { 2012, -3712}, {0x00, 0x7f, 0x00, 0xff}}}, 108 {{{ 153, -76, 256}, 0, { 0, -3506}, {0x00, 0x7f, 0x00, 0xff}}}, 109 {{{ 153, -76, -255}, 0, { 2012, -3506}, {0x00, 0x7f, 0x00, 0xff}}}, 110 {{{ 204, -127, -255}, 0, { 4056, 0}, {0x7f, 0x00, 0x00, 0xff}}}, 111 {{{ 204, -101, -255}, 0, { 4056, -236}, {0x7f, 0x00, 0x00, 0xff}}}, 112 {{{ 204, -127, 256}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0xff}}}, 113 {{{ 204, -101, 256}, 0, { 0, -236}, {0x7f, 0x00, 0x00, 0xff}}}, 114 {{{ 153, -101, 256}, 0, { 0, -3506}, {0x00, 0x7f, 0x00, 0xff}}}, 115 }; 116 117 // 0x07005C38 - 0x07005DD8 118 static const Gfx wf_seg7_dl_07005C38[] = { 119 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09009800), 120 gsDPLoadSync(), 121 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 122 gsSPLight(&wf_seg7_lights_070056C0.l, 1), 123 gsSPLight(&wf_seg7_lights_070056C0.a, 2), 124 gsSPVertex(wf_seg7_vertex_070056D8, 15, 0), 125 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 126 gsSP2Triangles( 5, 4, 6, 0x0, 7, 8, 9, 0x0), 127 gsSP2Triangles(10, 9, 8, 0x0, 11, 12, 13, 0x0), 128 gsSP1Triangle(13, 12, 14, 0x0), 129 gsSPVertex(wf_seg7_vertex_070057C8, 15, 0), 130 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 131 gsSP2Triangles( 6, 7, 8, 0x0, 8, 7, 9, 0x0), 132 gsSP2Triangles(10, 11, 12, 0x0, 12, 11, 13, 0x0), 133 gsSP1Triangle(14, 1, 0, 0x0), 134 gsSPVertex(wf_seg7_vertex_070058B8, 15, 0), 135 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 136 gsSP2Triangles( 5, 4, 6, 0x0, 7, 8, 9, 0x0), 137 gsSP2Triangles( 9, 8, 10, 0x0, 11, 12, 13, 0x0), 138 gsSP1Triangle(13, 12, 14, 0x0), 139 gsSPVertex(wf_seg7_vertex_070059A8, 15, 0), 140 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 141 gsSP2Triangles( 6, 7, 8, 0x0, 8, 7, 9, 0x0), 142 gsSP2Triangles(10, 11, 12, 0x0, 12, 11, 13, 0x0), 143 gsSP1Triangle(14, 1, 0, 0x0), 144 gsSPVertex(wf_seg7_vertex_07005A98, 15, 0), 145 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 146 gsSP2Triangles( 5, 4, 6, 0x0, 7, 8, 9, 0x0), 147 gsSP2Triangles(10, 9, 8, 0x0, 11, 12, 13, 0x0), 148 gsSP1Triangle(14, 13, 12, 0x0), 149 gsSPVertex(wf_seg7_vertex_07005B88, 11, 0), 150 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 151 gsSP2Triangles( 6, 7, 8, 0x0, 8, 7, 9, 0x0), 152 gsSP1Triangle(10, 1, 0, 0x0), 153 gsSPEndDisplayList(), 154 }; 155 156 // 0x07005DD8 - 0x07005E48 157 const Gfx wf_seg7_dl_07005DD8[] = { 158 gsDPPipeSync(), 159 gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB), 160 gsSPClearGeometryMode(G_SHADING_SMOOTH), 161 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), 162 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON), 163 gsDPTileSync(), 164 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), 165 gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC), 166 gsSPDisplayList(wf_seg7_dl_07005C38), 167 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF), 168 gsDPPipeSync(), 169 gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), 170 gsSPSetGeometryMode(G_SHADING_SMOOTH), 171 gsSPEndDisplayList(), 172 };