Path: blob/master/levels/castle_inside/areas/1/3/model.inc.c
7862 views
// 0x07029078 - 0x070291681static const Vtx inside_castle_seg7_vertex_07029078[] = {2{{{ -13, 614, -1037}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},3{{{ 0, 717, -1043}, 0, { 114, 0}, {0xff, 0xff, 0xff, 0xff}}},4{{{ -13, 717, -1037}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},5{{{ 0, 614, -1043}, 0, { 114, 990}, {0xff, 0xff, 0xff, 0xff}}},6{{{ 606, 717, -1043}, 0, { 6160, 0}, {0xff, 0xff, 0xff, 0xff}}},7{{{ 606, 614, -1043}, 0, { 6160, 990}, {0xff, 0xff, 0xff, 0xff}}},8{{{ 532, 307, -1023}, 0, { 9166, 0}, {0xff, 0xff, 0xff, 0xff}}},9{{{ 532, 205, -1023}, 0, { 9166, 990}, {0xff, 0xff, 0xff, 0xff}}},10{{{ 532, 307, -93}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},11{{{ 532, 205, -93}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},12{{{ 424, 205, 14}, 0, { -1052, 990}, {0xff, 0xff, 0xff, 0xff}}},13{{{ 424, 307, 14}, 0, { -1052, 0}, {0xff, 0xff, 0xff, 0xff}}},14{{{ -2579, 307, -93}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},15{{{ -2579, 205, -1023}, 0, { 9166, 990}, {0xff, 0xff, 0xff, 0xff}}},16{{{ -2579, 307, -1023}, 0, { 9166, 0}, {0xff, 0xff, 0xff, 0xff}}},17};1819// 0x07029168 - 0x0702926820static const Vtx inside_castle_seg7_vertex_07029168[] = {21{{{ 171, 26, 268}, 0, { -2584, 990}, {0xff, 0xff, 0xff, 0xff}}},22{{{ 171, 128, 268}, 0, { -2584, 0}, {0xff, 0xff, 0xff, 0xff}}},23{{{ 424, 307, 14}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},24{{{ 424, 205, 14}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},25{{{ -2471, 307, 14}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},26{{{ -2218, 128, 268}, 0, { -2584, 0}, {0xff, 0xff, 0xff, 0xff}}},27{{{ -2218, 26, 268}, 0, { -2586, 990}, {0xff, 0xff, 0xff, 0xff}}},28{{{ -2471, 205, 14}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},29{{{ -2579, 307, -93}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},30{{{ -2471, 307, 14}, 0, { -1052, 0}, {0xff, 0xff, 0xff, 0xff}}},31{{{ -2471, 205, 14}, 0, { -1052, 990}, {0xff, 0xff, 0xff, 0xff}}},32{{{ -2579, 205, -93}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},33{{{ -269, 614, -781}, 0, { 8656, 0}, {0xff, 0xff, 0xff, 0xff}}},34{{{ -622, 614, -429}, 0, { 5078, 0}, {0xff, 0xff, 0xff, 0xff}}},35{{{ -622, 512, -429}, 0, { 5078, 990}, {0xff, 0xff, 0xff, 0xff}}},36{{{ -2579, 205, -1023}, 0, { 9166, 990}, {0xff, 0xff, 0xff, 0xff}}},37};3839// 0x07029268 - 0x0702934840static const Vtx inside_castle_seg7_vertex_07029268[] = {41{{{ 606, 614, -1043}, 0, { 6100, 990}, {0xff, 0xff, 0xff, 0xff}}},42{{{ 805, 717, -1242}, 0, { 8144, 0}, {0xff, 0xff, 0xff, 0xff}}},43{{{ 606, 717, -1043}, 0, { 6100, 0}, {0xff, 0xff, 0xff, 0xff}}},44{{{ 805, 614, -1242}, 0, { 8144, 990}, {0xff, 0xff, 0xff, 0xff}}},45{{{ -13, 717, -1037}, 0, { 3570, 0}, {0xff, 0xff, 0xff, 0xff}}},46{{{ -269, 512, -781}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},47{{{ -13, 614, -1037}, 0, { 3572, 990}, {0xff, 0xff, 0xff, 0xff}}},48{{{ -269, 614, -781}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},49{{{ -269, 614, -781}, 0, { 8656, 0}, {0xff, 0xff, 0xff, 0xff}}},50{{{ -622, 512, -429}, 0, { 5078, 990}, {0xff, 0xff, 0xff, 0xff}}},51{{{ -269, 512, -781}, 0, { 8656, 990}, {0xff, 0xff, 0xff, 0xff}}},52{{{ -1424, 512, -429}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},53{{{ -1228, 512, -429}, 0, { 1928, 990}, {0xff, 0xff, 0xff, 0xff}}},54{{{ -1424, 614, -429}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},55};5657// 0x07029348 - 0x0702943858static const Vtx inside_castle_seg7_vertex_07029348[] = {59{{{ -622, 614, -429}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},60{{{ -818, 512, -429}, 0, { -966, 990}, {0xff, 0xff, 0xff, 0xff}}},61{{{ -622, 512, -429}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},62{{{ -818, 614, -429}, 0, { -966, 0}, {0xff, 0xff, 0xff, 0xff}}},63{{{ -1424, 614, -429}, 0, { -3096, 0}, {0xff, 0xff, 0xff, 0xff}}},64{{{ -2039, 614, -1044}, 0, { -9228, 0}, {0xff, 0xff, 0xff, 0xff}}},65{{{ -2039, 512, -1044}, 0, { -9228, 990}, {0xff, 0xff, 0xff, 0xff}}},66{{{ -1424, 512, -429}, 0, { -3096, 990}, {0xff, 0xff, 0xff, 0xff}}},67{{{ -2653, 512, -1043}, 0, {-15360, 990}, {0xff, 0xff, 0xff, 0xff}}},68{{{ -2653, 614, -1043}, 0, {-15360, 0}, {0xff, 0xff, 0xff, 0xff}}},69{{{ -2852, 512, -1242}, 0, {-17404, 990}, {0xff, 0xff, 0xff, 0xff}}},70{{{ -2852, 614, -1242}, 0, {-17404, 0}, {0xff, 0xff, 0xff, 0xff}}},71{{{ -1228, 512, -429}, 0, { 1928, 990}, {0xff, 0xff, 0xff, 0xff}}},72{{{ -1228, 614, -429}, 0, { 1928, 0}, {0xff, 0xff, 0xff, 0xff}}},73{{{ -1424, 614, -429}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},74};7576// 0x07029438 - 0x0702957877static const Gfx inside_castle_seg7_dl_07029438[] = {78gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09008800),79gsDPLoadSync(),80gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),81gsSPVertex(inside_castle_seg7_vertex_07029078, 15, 0),82gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),83gsSP2Triangles( 4, 3, 5, 0x0, 4, 1, 3, 0x0),84gsSP2Triangles( 6, 7, 8, 0x0, 7, 9, 8, 0x0),85gsSP2Triangles( 9, 10, 8, 0x0, 10, 11, 8, 0x0),86gsSP1Triangle(12, 13, 14, 0x0),87gsSPVertex(inside_castle_seg7_vertex_07029168, 16, 0),88gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),89gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),90gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),91gsSP2Triangles(12, 13, 14, 0x0, 8, 11, 15, 0x0),92gsSPVertex(inside_castle_seg7_vertex_07029268, 14, 0),93gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),94gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),95gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),96gsSPVertex(inside_castle_seg7_vertex_07029348, 15, 0),97gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),98gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),99gsSP2Triangles( 5, 8, 6, 0x0, 5, 9, 8, 0x0),100gsSP2Triangles( 9, 10, 8, 0x0, 9, 11, 10, 0x0),101gsSP1Triangle(12, 13, 14, 0x0),102gsSPEndDisplayList(),103};104105// 0x07029578 - 0x070295E8106const Gfx inside_castle_seg7_dl_07029578[] = {107gsDPPipeSync(),108gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),109gsSPClearGeometryMode(G_LIGHTING | G_CULL_BACK),110gsDPSetTile(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),111gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),112gsDPTileSync(),113gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD),114gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),115gsSPDisplayList(inside_castle_seg7_dl_07029438),116gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),117gsDPPipeSync(),118gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),119gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),120gsSPEndDisplayList(),121};122123124