model.inc.c (12533B)
1 // 0x07050A78 - 0x07050A90 2 static const Lights1 inside_castle_seg7_lights_07050A78 = gdSPDefLights1( 3 0x40, 0x2f, 0x1e, 4 0xac, 0x7f, 0x52, 0x28, 0x28, 0x28 5 ); 6 7 // 0x07050A90 - 0x07050AA8 8 static const Lights1 inside_castle_seg7_lights_07050A90 = gdSPDefLights1( 9 0x40, 0x3a, 0x1e, 10 0xac, 0x9d, 0x52, 0x28, 0x28, 0x28 11 ); 12 13 // 0x07050AA8 - 0x07050B68 14 static const Vtx inside_castle_seg7_vertex_07050AA8[] = { 15 {{{ -9, -183, -9}, 0, { 932, 2012}, {0x81, 0x00, 0x00, 0xff}}}, 16 {{{ -9, 10, 10}, 0, { 450, 0}, {0x81, 0x00, 0x00, 0xff}}}, 17 {{{ -9, 10, -9}, 0, { 932, 0}, {0x81, 0x00, 0x00, 0xff}}}, 18 {{{ -9, -183, 10}, 0, { 450, 2012}, {0x81, 0x00, 0x00, 0xff}}}, 19 {{{ -9, 10, -9}, 0, { 932, 0}, {0x00, 0x00, 0x81, 0xff}}}, 20 {{{ 10, -183, -9}, 0, { 450, 2012}, {0x00, 0x00, 0x81, 0xff}}}, 21 {{{ -9, -183, -9}, 0, { 932, 2012}, {0x00, 0x00, 0x81, 0xff}}}, 22 {{{ 10, 10, -9}, 0, { 450, 0}, {0x00, 0x00, 0x81, 0xff}}}, 23 {{{ 10, 10, -9}, 0, { 450, 0}, {0x7f, 0x00, 0x00, 0xff}}}, 24 {{{ 10, 10, 10}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0xff}}}, 25 {{{ 10, -183, 10}, 0, { 0, 2012}, {0x7f, 0x00, 0x00, 0xff}}}, 26 {{{ 10, -183, -9}, 0, { 450, 2012}, {0x7f, 0x00, 0x00, 0xff}}}, 27 }; 28 29 // 0x07050B68 - 0x07050C58 30 static const Vtx inside_castle_seg7_vertex_07050B68[] = { 31 {{{ -19, -286, -50}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 32 {{{ -40, -265, -50}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 33 {{{ -40, -224, -50}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 34 {{{ -19, -286, -50}, 0, { 0, 0}, {0x00, 0xa7, 0xa7, 0xff}}}, 35 {{{ 20, -286, -50}, 0, { 0, 0}, {0x00, 0xa7, 0xa7, 0xff}}}, 36 {{{ 31, -306, -30}, 0, { 0, 0}, {0x00, 0xa7, 0xa7, 0xff}}}, 37 {{{ 41, -265, -50}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 38 {{{ 20, -286, -50}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 39 {{{ -19, -204, -50}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 40 {{{ 20, -204, -50}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 41 {{{ 41, -224, -50}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 42 {{{ -30, -306, -30}, 0, { 0, 0}, {0x00, 0xa7, 0xa7, 0xff}}}, 43 {{{ -19, -286, -50}, 0, { 0, 0}, {0xc3, 0xc5, 0xa3, 0xff}}}, 44 {{{ -30, -306, -30}, 0, { 0, 0}, {0xc3, 0xc5, 0xa3, 0xff}}}, 45 {{{ -60, -275, -30}, 0, { 0, 0}, {0xc3, 0xc5, 0xa3, 0xff}}}, 46 }; 47 48 // 0x07050C58 - 0x07050D58 49 static const Vtx inside_castle_seg7_vertex_07050C58[] = { 50 {{{ -40, -265, -50}, 0, { 0, 0}, {0xc3, 0xc3, 0xa4, 0xff}}}, 51 {{{ -19, -286, -50}, 0, { 0, 0}, {0xc3, 0xc3, 0xa4, 0xff}}}, 52 {{{ -60, -275, -30}, 0, { 0, 0}, {0xc3, 0xc3, 0xa4, 0xff}}}, 53 {{{ -40, -224, -50}, 0, { 0, 0}, {0xa7, 0x00, 0xa7, 0xff}}}, 54 {{{ -40, -265, -50}, 0, { 0, 0}, {0xa7, 0x00, 0xa7, 0xff}}}, 55 {{{ -60, -275, -30}, 0, { 0, 0}, {0xa7, 0x00, 0xa7, 0xff}}}, 56 {{{ -60, -214, -30}, 0, { 0, 0}, {0xa7, 0x00, 0xa7, 0xff}}}, 57 {{{ -19, -204, -50}, 0, { 0, 0}, {0xc4, 0x3f, 0xa4, 0xff}}}, 58 {{{ -40, -224, -50}, 0, { 0, 0}, {0xc4, 0x3f, 0xa4, 0xff}}}, 59 {{{ -60, -214, -30}, 0, { 0, 0}, {0xc4, 0x3f, 0xa4, 0xff}}}, 60 {{{ 20, -204, -50}, 0, { 0, 0}, {0x00, 0x57, 0xa5, 0xff}}}, 61 {{{ -19, -204, -50}, 0, { 0, 0}, {0x00, 0x57, 0xa5, 0xff}}}, 62 {{{ -30, -183, -30}, 0, { 0, 0}, {0x00, 0x57, 0xa5, 0xff}}}, 63 {{{ -19, -204, -50}, 0, { 0, 0}, {0xc4, 0x3a, 0xa2, 0xff}}}, 64 {{{ -60, -214, -30}, 0, { 0, 0}, {0xc4, 0x3a, 0xa2, 0xff}}}, 65 {{{ -30, -183, -30}, 0, { 0, 0}, {0xc4, 0x3a, 0xa2, 0xff}}}, 66 }; 67 68 // 0x07050D58 - 0x07050E58 69 static const Vtx inside_castle_seg7_vertex_07050D58[] = { 70 {{{ 20, -286, -50}, 0, { 0, 0}, {0x3c, 0xc4, 0xa3, 0xff}}}, 71 {{{ 41, -265, -50}, 0, { 0, 0}, {0x3c, 0xc4, 0xa3, 0xff}}}, 72 {{{ 31, -306, -30}, 0, { 0, 0}, {0x3c, 0xc4, 0xa3, 0xff}}}, 73 {{{ 31, -183, -30}, 0, { 0, 0}, {0x5b, 0x58, 0x00, 0xff}}}, 74 {{{ 31, -183, 31}, 0, { 0, 0}, {0x5b, 0x58, 0x00, 0xff}}}, 75 {{{ 61, -214, 31}, 0, { 0, 0}, {0x5b, 0x58, 0x00, 0xff}}}, 76 {{{ 20, -204, -50}, 0, { 0, 0}, {0x00, 0x57, 0xa5, 0xff}}}, 77 {{{ -30, -183, -30}, 0, { 0, 0}, {0x00, 0x57, 0xa5, 0xff}}}, 78 {{{ 31, -183, -30}, 0, { 0, 0}, {0x00, 0x57, 0xa5, 0xff}}}, 79 {{{ 41, -224, -50}, 0, { 0, 0}, {0x39, 0x3c, 0xa1, 0xff}}}, 80 {{{ 20, -204, -50}, 0, { 0, 0}, {0x39, 0x3c, 0xa1, 0xff}}}, 81 {{{ 31, -183, -30}, 0, { 0, 0}, {0x39, 0x3c, 0xa1, 0xff}}}, 82 {{{ 61, -275, -30}, 0, { 0, 0}, {0x59, 0x00, 0xa7, 0xff}}}, 83 {{{ 41, -265, -50}, 0, { 0, 0}, {0x59, 0x00, 0xa7, 0xff}}}, 84 {{{ 41, -224, -50}, 0, { 0, 0}, {0x59, 0x00, 0xa7, 0xff}}}, 85 {{{ 61, -214, -30}, 0, { 0, 0}, {0x59, 0x00, 0xa7, 0xff}}}, 86 }; 87 88 // 0x07050E58 - 0x07050F58 89 static const Vtx inside_castle_seg7_vertex_07050E58[] = { 90 {{{ 61, -214, -30}, 0, { 0, 0}, {0x3e, 0x3c, 0xa4, 0xff}}}, 91 {{{ 41, -224, -50}, 0, { 0, 0}, {0x3e, 0x3c, 0xa4, 0xff}}}, 92 {{{ 31, -183, -30}, 0, { 0, 0}, {0x3e, 0x3c, 0xa4, 0xff}}}, 93 {{{ 41, -265, -50}, 0, { 0, 0}, {0x3e, 0xc4, 0xa4, 0xff}}}, 94 {{{ 61, -275, -30}, 0, { 0, 0}, {0x3e, 0xc4, 0xa4, 0xff}}}, 95 {{{ 31, -306, -30}, 0, { 0, 0}, {0x3e, 0xc4, 0xa4, 0xff}}}, 96 {{{ -30, -183, -30}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0xff}}}, 97 {{{ 31, -183, 31}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0xff}}}, 98 {{{ 31, -183, -30}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0xff}}}, 99 {{{ 31, -183, -30}, 0, { 0, 0}, {0x5b, 0x58, 0x00, 0xff}}}, 100 {{{ 61, -214, 31}, 0, { 0, 0}, {0x5b, 0x58, 0x00, 0xff}}}, 101 {{{ 61, -214, -30}, 0, { 0, 0}, {0x5b, 0x58, 0x00, 0xff}}}, 102 {{{ -30, -306, -30}, 0, { 0, 0}, {0xa5, 0xa8, 0x00, 0xff}}}, 103 {{{ -30, -306, 31}, 0, { 0, 0}, {0xa5, 0xa8, 0x00, 0xff}}}, 104 {{{ -60, -275, 31}, 0, { 0, 0}, {0xa5, 0xa8, 0x00, 0xff}}}, 105 {{{ -30, -183, 31}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0xff}}}, 106 }; 107 108 // 0x07050F58 - 0x07051048 109 static const Vtx inside_castle_seg7_vertex_07050F58[] = { 110 {{{ 61, -214, -30}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0xff}}}, 111 {{{ 61, -214, 31}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0xff}}}, 112 {{{ 61, -275, 31}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0xff}}}, 113 {{{ 61, -275, -30}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0xff}}}, 114 {{{ -60, -214, 31}, 0, { 0, 0}, {0xa5, 0x58, 0x00, 0xff}}}, 115 {{{ -30, -183, 31}, 0, { 0, 0}, {0xa5, 0x58, 0x00, 0xff}}}, 116 {{{ -30, -183, -30}, 0, { 0, 0}, {0xa5, 0x58, 0x00, 0xff}}}, 117 {{{ -60, -214, -30}, 0, { 0, 0}, {0xa5, 0x58, 0x00, 0xff}}}, 118 {{{ -60, -275, -30}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}}, 119 {{{ -60, -275, 31}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}}, 120 {{{ -60, -214, 31}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}}, 121 {{{ -60, -214, -30}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}}, 122 {{{ -30, -306, -30}, 0, { 0, 0}, {0xa5, 0xa8, 0x00, 0xff}}}, 123 {{{ -60, -275, 31}, 0, { 0, 0}, {0xa5, 0xa8, 0x00, 0xff}}}, 124 {{{ -60, -275, -30}, 0, { 0, 0}, {0xa5, 0xa8, 0x00, 0xff}}}, 125 }; 126 127 // 0x07051048 - 0x07051108 128 static const Vtx inside_castle_seg7_vertex_07051048[] = { 129 {{{ 31, -306, -30}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0xff}}}, 130 {{{ -30, -306, 31}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0xff}}}, 131 {{{ -30, -306, -30}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0xff}}}, 132 {{{ 31, -306, 31}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0xff}}}, 133 {{{ 61, -275, -30}, 0, { 0, 0}, {0x5b, 0xa8, 0x00, 0xff}}}, 134 {{{ 31, -306, 31}, 0, { 0, 0}, {0x5b, 0xa8, 0x00, 0xff}}}, 135 {{{ 31, -306, -30}, 0, { 0, 0}, {0x5b, 0xa8, 0x00, 0xff}}}, 136 {{{ 61, -275, 31}, 0, { 0, 0}, {0x5b, 0xa8, 0x00, 0xff}}}, 137 {{{ 10, -183, -9}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0xff}}}, 138 {{{ -9, -183, 10}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0xff}}}, 139 {{{ -9, -183, -9}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0xff}}}, 140 {{{ 10, -183, 10}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0xff}}}, 141 }; 142 143 // 0x07051108 - 0x07051170 144 static const Gfx inside_castle_seg7_dl_07051108[] = { 145 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09007000), 146 gsDPLoadSync(), 147 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 148 gsSPLight(&inside_castle_seg7_lights_07050A78.l, 1), 149 gsSPLight(&inside_castle_seg7_lights_07050A78.a, 2), 150 gsSPVertex(inside_castle_seg7_vertex_07050AA8, 12, 0), 151 gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0), 152 gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0), 153 gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0), 154 gsSPEndDisplayList(), 155 }; 156 157 // 0x07051170 - 0x070512F8 158 static const Gfx inside_castle_seg7_dl_07051170[] = { 159 gsSPLight(&inside_castle_seg7_lights_07050A90.l, 1), 160 gsSPLight(&inside_castle_seg7_lights_07050A90.a, 2), 161 gsSPVertex(inside_castle_seg7_vertex_07050B68, 15, 0), 162 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 163 gsSP2Triangles( 0, 6, 7, 0x0, 0, 2, 8, 0x0), 164 gsSP2Triangles( 0, 8, 9, 0x0, 0, 9, 10, 0x0), 165 gsSP2Triangles( 0, 10, 6, 0x0, 3, 5, 11, 0x0), 166 gsSP1Triangle(12, 13, 14, 0x0), 167 gsSPVertex(inside_castle_seg7_vertex_07050C58, 16, 0), 168 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 169 gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0), 170 gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0), 171 gsSPVertex(inside_castle_seg7_vertex_07050D58, 16, 0), 172 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 173 gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0), 174 gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0), 175 gsSPVertex(inside_castle_seg7_vertex_07050E58, 16, 0), 176 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 177 gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0), 178 gsSP2Triangles(12, 13, 14, 0x0, 6, 15, 7, 0x0), 179 gsSPVertex(inside_castle_seg7_vertex_07050F58, 15, 0), 180 gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0), 181 gsSP2Triangles( 4, 5, 6, 0x0, 7, 4, 6, 0x0), 182 gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0), 183 gsSP1Triangle(12, 13, 14, 0x0), 184 gsSPVertex(inside_castle_seg7_vertex_07051048, 12, 0), 185 gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0), 186 gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0), 187 gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0), 188 gsSPEndDisplayList(), 189 }; 190 191 // 0x070512F8 - 0x07051370 192 const Gfx inside_castle_seg7_dl_070512F8[] = { 193 gsDPPipeSync(), 194 gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB), 195 gsSPClearGeometryMode(G_SHADING_SMOOTH), 196 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), 197 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON), 198 gsDPTileSync(), 199 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), 200 gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC), 201 gsSPDisplayList(inside_castle_seg7_dl_07051108), 202 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF), 203 gsDPPipeSync(), 204 gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), 205 gsSPDisplayList(inside_castle_seg7_dl_07051170), 206 gsSPSetGeometryMode(G_SHADING_SMOOTH), 207 gsSPEndDisplayList(), 208 };