model.inc.c (18516B)
1 // 0x07057380 - 0x07057398 2 static const Lights1 inside_castle_seg7_lights_07057380 = gdSPDefLights1( 3 0x51, 0x34, 0x42, 4 0xd8, 0x8c, 0xb2, 0x28, 0x28, 0x28 5 ); 6 7 // 0x07057398 - 0x070573B0 8 static const Lights1 inside_castle_seg7_lights_07057398 = gdSPDefLights1( 9 0x40, 0x24, 0x1e, 10 0xac, 0x61, 0x52, 0x28, 0x28, 0x28 11 ); 12 13 // 0x070573B0 - 0x070573F0 14 static const Vtx inside_castle_seg7_vertex_070573B0[] = { 15 {{{ 512, 4198, 3721}, 0, { -5140, -1692}, {0x00, 0x81, 0x00, 0xff}}}, 16 {{{ -921, 4198, 3721}, 0, { -5140, 1882}, {0x00, 0x81, 0x00, 0xff}}}, 17 {{{ -921, 4198, 2544}, 0, { -2202, 1882}, {0x00, 0x81, 0x00, 0xff}}}, 18 {{{ 512, 4198, 2544}, 0, { -2202, -1692}, {0x00, 0x81, 0x00, 0xff}}}, 19 }; 20 21 // 0x070573F0 - 0x070574B0 22 static const Vtx inside_castle_seg7_vertex_070573F0[] = { 23 {{{ 154, 3174, 2544}, 0, { -2074, -1820}, {0x00, 0x7f, 0x00, 0xff}}}, 24 {{{ 512, 3174, 3465}, 0, { 2524, -3610}, {0x00, 0x7f, 0x00, 0xff}}}, 25 {{{ 512, 3174, 2800}, 0, { -796, -3610}, {0x00, 0x7f, 0x00, 0xff}}}, 26 {{{ -921, 3174, 3465}, 0, { 2524, 3542}, {0x00, 0x7f, 0x00, 0xff}}}, 27 {{{ 358, 3174, 3721}, 0, { 3800, -2842}, {0x00, 0x7f, 0x00, 0xff}}}, 28 {{{ -767, 3174, 3721}, 0, { 3800, 2776}, {0x00, 0x7f, 0x00, 0xff}}}, 29 {{{ -357, 3174, 3772}, 0, { 4056, 734}, {0x00, 0x7f, 0x00, 0xff}}}, 30 {{{ -50, 3174, 3772}, 0, { 4056, -798}, {0x00, 0x7f, 0x00, 0xff}}}, 31 {{{ -50, 3174, 3721}, 0, { 3800, -798}, {0x00, 0x7f, 0x00, 0xff}}}, 32 {{{ -357, 3174, 3721}, 0, { 3800, 734}, {0x00, 0x7f, 0x00, 0xff}}}, 33 {{{ -562, 3174, 2544}, 0, { -2074, 1754}, {0x00, 0x7f, 0x00, 0xff}}}, 34 {{{ -921, 3174, 2851}, 0, { -542, 3542}, {0x00, 0x7f, 0x00, 0xff}}}, 35 }; 36 37 // 0x070574B0 - 0x070575A0 38 static const Vtx inside_castle_seg7_vertex_070574B0[] = { 39 {{{ 512, 4198, 2800}, 0, { 4056, -5142}, {0x81, 0x00, 0x00, 0xff}}}, 40 {{{ 512, 3174, 3465}, 0, { -2584, 5076}, {0x81, 0x00, 0x00, 0xff}}}, 41 {{{ 512, 4198, 3465}, 0, { -2584, -5142}, {0x81, 0x00, 0x00, 0xff}}}, 42 {{{ 512, 4198, 3465}, 0, { -6162, -3098}, {0x94, 0x00, 0xbf, 0xff}}}, 43 {{{ 512, 3174, 3465}, 0, { -6162, 7120}, {0x94, 0x00, 0xbf, 0xff}}}, 44 {{{ 358, 3174, 3721}, 0, { -4630, 7120}, {0x94, 0x00, 0xbf, 0xff}}}, 45 {{{ 358, 4198, 3721}, 0, { -4630, -3098}, {0x94, 0x00, 0xbf, 0xff}}}, 46 {{{ 358, 3174, 3721}, 0, { -4630, 7120}, {0x00, 0x00, 0x81, 0xff}}}, 47 {{{ -50, 3430, 3721}, 0, { -542, 4566}, {0x00, 0x00, 0x81, 0xff}}}, 48 {{{ 358, 4198, 3721}, 0, { -4630, -3098}, {0x00, 0x00, 0x81, 0xff}}}, 49 {{{ -50, 3174, 3721}, 0, { -542, 7120}, {0x00, 0x00, 0x81, 0xff}}}, 50 {{{ -767, 4198, 3721}, 0, { 6612, -3098}, {0x00, 0x00, 0x81, 0xff}}}, 51 {{{ -357, 3430, 3721}, 0, { 2524, 4566}, {0x00, 0x00, 0x81, 0xff}}}, 52 {{{ -767, 3174, 3721}, 0, { 6612, 7120}, {0x00, 0x00, 0x81, 0xff}}}, 53 {{{ 512, 3174, 2800}, 0, { 4056, 5076}, {0x81, 0x00, 0x00, 0xff}}}, 54 }; 55 56 // 0x070575A0 - 0x070576A0 57 static const Vtx inside_castle_seg7_vertex_070575A0[] = { 58 {{{ -767, 4198, 3721}, 0, { 6612, -3098}, {0x6c, 0x00, 0xbf, 0xff}}}, 59 {{{ -767, 3174, 3721}, 0, { 6612, 7120}, {0x6c, 0x00, 0xbf, 0xff}}}, 60 {{{ -921, 3174, 3465}, 0, { 8144, 7120}, {0x6c, 0x00, 0xbf, 0xff}}}, 61 {{{ 154, 4198, 2544}, 0, { 4566, -9230}, {0xb7, 0x00, 0x67, 0xff}}}, 62 {{{ 154, 3174, 2544}, 0, { 4566, 990}, {0xb7, 0x00, 0x67, 0xff}}}, 63 {{{ 512, 3174, 2800}, 0, { 8144, 990}, {0xb7, 0x00, 0x67, 0xff}}}, 64 {{{ 512, 4198, 2800}, 0, { 8144, -9230}, {0xb7, 0x00, 0x67, 0xff}}}, 65 {{{ 0, 4198, 2544}, 0, { 4056, -2076}, {0x00, 0x00, 0x7f, 0xff}}}, 66 {{{ -409, 4198, 2544}, 0, { 0, -2076}, {0x00, 0x00, 0x7f, 0xff}}}, 67 {{{ -409, 3891, 2544}, 0, { 0, 990}, {0x00, 0x00, 0x7f, 0xff}}}, 68 {{{ 0, 3891, 2544}, 0, { 4056, 990}, {0x00, 0x00, 0x7f, 0xff}}}, 69 {{{ -921, 4198, 2851}, 0, { -6162, -9230}, {0x52, 0x00, 0x60, 0xff}}}, 70 {{{ -921, 3174, 2851}, 0, { -6162, 990}, {0x52, 0x00, 0x60, 0xff}}}, 71 {{{ -562, 3174, 2544}, 0, { -2584, 990}, {0x52, 0x00, 0x60, 0xff}}}, 72 {{{ -562, 4198, 2544}, 0, { -2584, -9230}, {0x52, 0x00, 0x60, 0xff}}}, 73 {{{ -921, 4198, 3465}, 0, { 8144, -3098}, {0x6c, 0x00, 0xbf, 0xff}}}, 74 }; 75 76 // 0x070576A0 - 0x07057790 77 static const Vtx inside_castle_seg7_vertex_070576A0[] = { 78 {{{ -357, 3430, 3721}, 0, { 2524, 4566}, {0x00, 0x00, 0x81, 0xff}}}, 79 {{{ -357, 3174, 3721}, 0, { 2524, 7120}, {0x00, 0x00, 0x81, 0xff}}}, 80 {{{ -767, 3174, 3721}, 0, { 6612, 7120}, {0x00, 0x00, 0x81, 0xff}}}, 81 {{{ -50, 3174, 3772}, 0, { 480, 990}, {0x81, 0x00, 0x00, 0xff}}}, 82 {{{ -50, 3430, 3721}, 0, { 0, -1566}, {0x81, 0x00, 0x00, 0xff}}}, 83 {{{ -50, 3174, 3721}, 0, { 0, 990}, {0x81, 0x00, 0x00, 0xff}}}, 84 {{{ -50, 3430, 3772}, 0, { 480, -1566}, {0x81, 0x00, 0x00, 0xff}}}, 85 {{{ -357, 3430, 3772}, 0, { 480, -1566}, {0x7f, 0x00, 0x00, 0xff}}}, 86 {{{ -357, 3174, 3772}, 0, { 480, 990}, {0x7f, 0x00, 0x00, 0xff}}}, 87 {{{ -357, 3174, 3721}, 0, { 0, 990}, {0x7f, 0x00, 0x00, 0xff}}}, 88 {{{ -357, 3430, 3721}, 0, { 0, -1566}, {0x7f, 0x00, 0x00, 0xff}}}, 89 {{{ -50, 3430, 3772}, 0, { 480, -1566}, {0x00, 0x81, 0x00, 0xff}}}, 90 {{{ -357, 3430, 3772}, 0, { 480, -1566}, {0x00, 0x81, 0x00, 0xff}}}, 91 {{{ -357, 3430, 3721}, 0, { 0, -1566}, {0x00, 0x81, 0x00, 0xff}}}, 92 {{{ -50, 3430, 3721}, 0, { 0, -1566}, {0x00, 0x81, 0x00, 0xff}}}, 93 }; 94 95 // 0x07057790 - 0x070577D0 96 static const Vtx inside_castle_seg7_vertex_07057790[] = { 97 {{{ -921, 4198, 3465}, 0, { -2584, -5142}, {0x7f, 0x00, 0x00, 0xff}}}, 98 {{{ -921, 3174, 3465}, 0, { -2584, 5076}, {0x7f, 0x00, 0x00, 0xff}}}, 99 {{{ -921, 3174, 2851}, 0, { 3544, 5076}, {0x7f, 0x00, 0x00, 0xff}}}, 100 {{{ -921, 4198, 2851}, 0, { 3546, -5142}, {0x7f, 0x00, 0x00, 0xff}}}, 101 }; 102 103 // 0x070577D0 - 0x07057850 104 static const Vtx inside_castle_seg7_vertex_070577D0[] = { 105 {{{ 154, 3482, 3711}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}}, 106 {{{ 256, 3379, 3711}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}}, 107 {{{ 154, 3379, 3711}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}}, 108 {{{ 256, 3482, 3711}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 109 {{{ -562, 3482, 3711}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}}, 110 {{{ -460, 3379, 3711}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}}, 111 {{{ -562, 3379, 3711}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}}, 112 {{{ -460, 3482, 3711}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 113 }; 114 115 // 0x07057850 - 0x070578D0 116 static const Vtx inside_castle_seg7_vertex_07057850[] = { 117 {{{ 51, 3482, 3711}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}}, 118 {{{ 154, 3379, 3711}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}}, 119 {{{ 51, 3379, 3711}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}}, 120 {{{ 154, 3482, 3711}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 121 {{{ -665, 3482, 3711}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}}, 122 {{{ -562, 3379, 3711}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}}, 123 {{{ -665, 3379, 3711}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}}, 124 {{{ -562, 3482, 3711}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 125 }; 126 127 // 0x070578D0 - 0x07057950 128 static const Vtx inside_castle_seg7_vertex_070578D0[] = { 129 {{{ 154, 3379, 3711}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}}, 130 {{{ 256, 3277, 3711}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}}, 131 {{{ 154, 3277, 3711}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}}, 132 {{{ 256, 3379, 3711}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 133 {{{ -562, 3379, 3711}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}}, 134 {{{ -460, 3379, 3711}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 135 {{{ -460, 3277, 3711}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}}, 136 {{{ -562, 3277, 3711}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}}, 137 }; 138 139 // 0x07057950 - 0x070579D0 140 static const Vtx inside_castle_seg7_vertex_07057950[] = { 141 {{{ 51, 3379, 3711}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}}, 142 {{{ 154, 3277, 3711}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}}, 143 {{{ 51, 3277, 3711}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}}, 144 {{{ 154, 3379, 3711}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 145 {{{ -665, 3379, 3711}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}}, 146 {{{ -562, 3277, 3711}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}}, 147 {{{ -665, 3277, 3711}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}}, 148 {{{ -562, 3379, 3711}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 149 }; 150 151 // 0x070579D0 - 0x07057AC0 152 static const Vtx inside_castle_seg7_vertex_070579D0[] = { 153 {{{ -460, 3174, 2595}, 0, { 650, 2012}, {0x00, 0x00, 0x7f, 0xff}}}, 154 {{{ -460, 4198, 2595}, 0, { 650, 0}, {0x00, 0x00, 0x7f, 0xff}}}, 155 {{{ -511, 4198, 2595}, 0, { 308, 0}, {0x00, 0x00, 0x7f, 0xff}}}, 156 {{{ 102, 3174, 2595}, 0, { 650, 2012}, {0x00, 0x00, 0x7f, 0xff}}}, 157 {{{ 51, 4198, 2595}, 0, { 308, 0}, {0x00, 0x00, 0x7f, 0xff}}}, 158 {{{ 51, 3174, 2595}, 0, { 308, 2012}, {0x00, 0x00, 0x7f, 0xff}}}, 159 {{{ 51, 3174, 2595}, 0, { 308, 2012}, {0xa7, 0x00, 0x59, 0xff}}}, 160 {{{ 0, 4198, 2544}, 0, { 0, 0}, {0xa7, 0x00, 0x59, 0xff}}}, 161 {{{ 0, 3174, 2544}, 0, { 0, 2012}, {0xa7, 0x00, 0x59, 0xff}}}, 162 {{{ 51, 4198, 2595}, 0, { 308, 0}, {0xa7, 0x00, 0x59, 0xff}}}, 163 {{{ 102, 4198, 2595}, 0, { 650, 0}, {0x00, 0x00, 0x7f, 0xff}}}, 164 {{{ 154, 3174, 2544}, 0, { 990, 2012}, {0x58, 0x00, 0x5a, 0xff}}}, 165 {{{ 102, 4198, 2595}, 0, { 650, 0}, {0x58, 0x00, 0x5a, 0xff}}}, 166 {{{ 102, 3174, 2595}, 0, { 650, 2012}, {0x58, 0x00, 0x5a, 0xff}}}, 167 {{{ 154, 4198, 2544}, 0, { 990, 0}, {0x58, 0x00, 0x5a, 0xff}}}, 168 }; 169 170 // 0x07057AC0 - 0x07057B70 171 static const Vtx inside_castle_seg7_vertex_07057AC0[] = { 172 {{{ -409, 3174, 2544}, 0, { 990, 2012}, {0x59, 0x00, 0x59, 0xff}}}, 173 {{{ -460, 4198, 2595}, 0, { 650, 0}, {0x59, 0x00, 0x59, 0xff}}}, 174 {{{ -460, 3174, 2595}, 0, { 650, 2012}, {0x59, 0x00, 0x59, 0xff}}}, 175 {{{ -460, 3174, 2595}, 0, { 650, 2012}, {0x00, 0x00, 0x7f, 0xff}}}, 176 {{{ -511, 4198, 2595}, 0, { 308, 0}, {0x00, 0x00, 0x7f, 0xff}}}, 177 {{{ -511, 3174, 2595}, 0, { 308, 2012}, {0x00, 0x00, 0x7f, 0xff}}}, 178 {{{ -409, 4198, 2544}, 0, { 990, 0}, {0x59, 0x00, 0x59, 0xff}}}, 179 {{{ -511, 3174, 2595}, 0, { 308, 2012}, {0xa7, 0x00, 0x59, 0xff}}}, 180 {{{ -511, 4198, 2595}, 0, { 308, 0}, {0xa7, 0x00, 0x59, 0xff}}}, 181 {{{ -562, 4198, 2544}, 0, { 0, 0}, {0xa7, 0x00, 0x59, 0xff}}}, 182 {{{ -562, 3174, 2544}, 0, { 0, 2012}, {0xa7, 0x00, 0x59, 0xff}}}, 183 }; 184 185 // 0x07057B70 - 0x07057BB8 186 static const Gfx inside_castle_seg7_dl_07057B70[] = { 187 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_0900B000), 188 gsDPLoadSync(), 189 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 190 gsSPLight(&inside_castle_seg7_lights_07057380.l, 1), 191 gsSPLight(&inside_castle_seg7_lights_07057380.a, 2), 192 gsSPVertex(inside_castle_seg7_vertex_070573B0, 4, 0), 193 gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0), 194 gsSPEndDisplayList(), 195 }; 196 197 // 0x07057BB8 - 0x07057C20 198 static const Gfx inside_castle_seg7_dl_07057BB8[] = { 199 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09004000), 200 gsDPLoadSync(), 201 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 202 gsSPVertex(inside_castle_seg7_vertex_070573F0, 12, 0), 203 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 1, 0x0), 204 gsSP2Triangles( 3, 5, 4, 0x0, 6, 7, 8, 0x0), 205 gsSP2Triangles( 6, 8, 9, 0x0, 0, 10, 3, 0x0), 206 gsSP2Triangles( 0, 3, 1, 0x0, 10, 11, 3, 0x0), 207 gsSPEndDisplayList(), 208 }; 209 210 // 0x07057C20 - 0x07057D30 211 static const Gfx inside_castle_seg7_dl_07057C20[] = { 212 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09003000), 213 gsDPLoadSync(), 214 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 215 gsSPVertex(inside_castle_seg7_vertex_070574B0, 15, 0), 216 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 217 gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0), 218 gsSP2Triangles( 7, 10, 8, 0x0, 8, 11, 9, 0x0), 219 gsSP2Triangles( 8, 12, 11, 0x0, 12, 13, 11, 0x0), 220 gsSP1Triangle( 0, 14, 1, 0x0), 221 gsSPVertex(inside_castle_seg7_vertex_070575A0, 16, 0), 222 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 223 gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0), 224 gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0), 225 gsSP2Triangles(11, 13, 14, 0x0, 0, 2, 15, 0x0), 226 gsSPVertex(inside_castle_seg7_vertex_070576A0, 15, 0), 227 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 228 gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0), 229 gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0), 230 gsSP1Triangle(11, 13, 14, 0x0), 231 gsSPVertex(inside_castle_seg7_vertex_07057790, 4, 0), 232 gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0), 233 gsSPEndDisplayList(), 234 }; 235 236 // 0x07057D30 - 0x07057D88 237 static const Gfx inside_castle_seg7_dl_07057D30[] = { 238 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_07008000), 239 gsDPLoadSync(), 240 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 241 gsSPLight(&inside_castle_seg7_lights_07057398.l, 1), 242 gsSPLight(&inside_castle_seg7_lights_07057398.a, 2), 243 gsSPVertex(inside_castle_seg7_vertex_070577D0, 8, 0), 244 gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0), 245 gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0), 246 gsSPEndDisplayList(), 247 }; 248 249 // 0x07057D88 - 0x07057DD0 250 static const Gfx inside_castle_seg7_dl_07057D88[] = { 251 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_07008800), 252 gsDPLoadSync(), 253 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 254 gsSPVertex(inside_castle_seg7_vertex_07057850, 8, 0), 255 gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0), 256 gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0), 257 gsSPEndDisplayList(), 258 }; 259 260 // 0x07057DD0 - 0x07057E18 261 static const Gfx inside_castle_seg7_dl_07057DD0[] = { 262 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_07009000), 263 gsDPLoadSync(), 264 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 265 gsSPVertex(inside_castle_seg7_vertex_070578D0, 8, 0), 266 gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0), 267 gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0), 268 gsSPEndDisplayList(), 269 }; 270 271 // 0x07057E18 - 0x07057E60 272 static const Gfx inside_castle_seg7_dl_07057E18[] = { 273 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_07009800), 274 gsDPLoadSync(), 275 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 276 gsSPVertex(inside_castle_seg7_vertex_07057950, 8, 0), 277 gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0), 278 gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0), 279 gsSPEndDisplayList(), 280 }; 281 282 // 0x07057E60 - 0x07057F00 283 static const Gfx inside_castle_seg7_dl_07057E60[] = { 284 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09007000), 285 gsDPLoadSync(), 286 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 287 gsSPLight(&inside_castle_seg7_lights_07057380.l, 1), 288 gsSPLight(&inside_castle_seg7_lights_07057380.a, 2), 289 gsSPVertex(inside_castle_seg7_vertex_070579D0, 15, 0), 290 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 291 gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0), 292 gsSP2Triangles( 3, 10, 4, 0x0, 11, 12, 13, 0x0), 293 gsSP1Triangle(11, 14, 12, 0x0), 294 gsSPVertex(inside_castle_seg7_vertex_07057AC0, 11, 0), 295 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 296 gsSP2Triangles( 0, 6, 1, 0x0, 7, 8, 9, 0x0), 297 gsSP1Triangle( 7, 9, 10, 0x0), 298 gsSPEndDisplayList(), 299 }; 300 301 // 0x07057F00 - 0x07057FD8 302 const Gfx inside_castle_seg7_dl_07057F00[] = { 303 gsDPPipeSync(), 304 gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB), 305 gsSPClearGeometryMode(G_SHADING_SMOOTH), 306 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), 307 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON), 308 gsDPTileSync(), 309 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), 310 gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC), 311 gsSPDisplayList(inside_castle_seg7_dl_07057B70), 312 gsSPDisplayList(inside_castle_seg7_dl_07057BB8), 313 gsSPDisplayList(inside_castle_seg7_dl_07057C20), 314 gsDPTileSync(), 315 gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD), 316 gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC), 317 gsSPDisplayList(inside_castle_seg7_dl_07057D30), 318 gsSPDisplayList(inside_castle_seg7_dl_07057D88), 319 gsSPDisplayList(inside_castle_seg7_dl_07057DD0), 320 gsSPDisplayList(inside_castle_seg7_dl_07057E18), 321 gsDPTileSync(), 322 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), 323 gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC), 324 gsSPDisplayList(inside_castle_seg7_dl_07057E60), 325 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF), 326 gsDPPipeSync(), 327 gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), 328 gsSPSetGeometryMode(G_SHADING_SMOOTH), 329 gsSPEndDisplayList(), 330 };