Path: blob/master/levels/castle_grounds/areas/1/4/model.inc.c
7862 views
// 0x0700A328 - 0x0700A4181static const Vtx castle_grounds_seg7_vertex_0700A328[] = {2{{{ -4817, 405, -1601}, 0, { 18906, 2012}, {0xff, 0xff, 0xff, 0xff}}},3{{{ -4817, 508, -1601}, 0, { 18872, 0}, {0xff, 0xff, 0xff, 0xff}}},4{{{ -4692, 524, -2546}, 0, { -154, 0}, {0xff, 0xff, 0xff, 0xff}}},5{{{ -5856, 543, -4352}, 0, { 0, 2012}, {0xff, 0xff, 0xff, 0xff}}},6{{{ -4942, 540, -4175}, 0, { 18556, 2012}, {0xff, 0xff, 0xff, 0xff}}},7{{{ -5856, 646, -4352}, 0, { -38, 0}, {0xff, 0xff, 0xff, 0xff}}},8{{{ -4942, 642, -4175}, 0, { 18550, 0}, {0xff, 0xff, 0xff, 0xff}}},9{{{ -4942, 540, -4175}, 0, { 0, 2012}, {0xff, 0xff, 0xff, 0xff}}},10{{{ -4723, 645, -3663}, 0, { 11102, 0}, {0xff, 0xff, 0xff, 0xff}}},11{{{ -4942, 642, -4175}, 0, { -20, 0}, {0xff, 0xff, 0xff, 0xff}}},12{{{ -4723, 543, -3663}, 0, { 11090, 2012}, {0xff, 0xff, 0xff, 0xff}}},13{{{ -4723, 543, -3663}, 0, { 0, 2012}, {0xff, 0xff, 0xff, 0xff}}},14{{{ -4692, 422, -2546}, 0, { 22390, 2012}, {0xff, 0xff, 0xff, 0xff}}},15{{{ -4692, 524, -2546}, 0, { 22168, -20}, {0xff, 0xff, 0xff, 0xff}}},16{{{ -4723, 645, -3663}, 0, { -250, -20}, {0xff, 0xff, 0xff, 0xff}}},17};1819// 0x0700A418 - 0x0700A50820static const Vtx castle_grounds_seg7_vertex_0700A418[] = {21{{{ -4817, 405, -1601}, 0, { 500, 2012}, {0xff, 0xff, 0xff, 0xff}}},22{{{ -4144, 370, -544}, 0, { 25534, 2012}, {0xff, 0xff, 0xff, 0xff}}},23{{{ -4144, 473, -544}, 0, { 25476, 0}, {0xff, 0xff, 0xff, 0xff}}},24{{{ -4692, 422, -2546}, 0, { -118, 2012}, {0xff, 0xff, 0xff, 0xff}}},25{{{ -4817, 405, -1601}, 0, { 18906, 2012}, {0xff, 0xff, 0xff, 0xff}}},26{{{ -4692, 524, -2546}, 0, { -154, 0}, {0xff, 0xff, 0xff, 0xff}}},27{{{ -4144, 370, -544}, 0, { 0, 2012}, {0xff, 0xff, 0xff, 0xff}}},28{{{ -3098, 444, -343}, 0, { 21296, 2012}, {0xff, 0xff, 0xff, 0xff}}},29{{{ -3098, 547, -343}, 0, { 21438, -28}, {0xff, 0xff, 0xff, 0xff}}},30{{{ -4144, 473, -544}, 0, { 110, -28}, {0xff, 0xff, 0xff, 0xff}}},31{{{ -3098, 444, -343}, 0, { -38, 2008}, {0xff, 0xff, 0xff, 0xff}}},32{{{ -2051, 518, -142}, 0, { 21288, 2008}, {0xff, 0xff, 0xff, 0xff}}},33{{{ -2051, 621, -142}, 0, { 21430, 0}, {0xff, 0xff, 0xff, 0xff}}},34{{{ -3098, 547, -343}, 0, { 102, 0}, {0xff, 0xff, 0xff, 0xff}}},35{{{ -4817, 508, -1601}, 0, { 442, 0}, {0xff, 0xff, 0xff, 0xff}}},36};3738// 0x0700A508 - 0x0700A5F839static const Vtx castle_grounds_seg7_vertex_0700A508[] = {40{{{ 5231, 387, -651}, 0, { -8206, 2012}, {0xff, 0xff, 0xff, 0xff}}},41{{{ 4795, 394, -508}, 0, { 956, 2012}, {0xff, 0xff, 0xff, 0xff}}},42{{{ 4795, 497, -508}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},43{{{ -1305, 767, -142}, 0, { 15460, 0}, {0xff, 0xff, 0xff, 0xff}}},44{{{ -2051, 518, -142}, 0, { -98, 1972}, {0xff, 0xff, 0xff, 0xff}}},45{{{ -1295, 667, -142}, 0, { 15266, 1972}, {0xff, 0xff, 0xff, 0xff}}},46{{{ -2051, 621, -142}, 0, { 294, 0}, {0xff, 0xff, 0xff, 0xff}}},47{{{ -612, 903, -141}, 0, { 14240, 0}, {0xff, 0xff, 0xff, 0xff}}},48{{{ -1295, 667, -142}, 0, { -62, 1972}, {0xff, 0xff, 0xff, 0xff}}},49{{{ -592, 805, -141}, 0, { 14236, 1972}, {0xff, 0xff, 0xff, 0xff}}},50{{{ -1305, 767, -142}, 0, { 130, 0}, {0xff, 0xff, 0xff, 0xff}}},51{{{ 4616, 404, -1008}, 0, { 0, 2012}, {0xff, 0xff, 0xff, 0xff}}},52{{{ 5070, 473, -2042}, 0, { 22452, 0}, {0xff, 0xff, 0xff, 0xff}}},53{{{ 4617, 507, -1011}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},54{{{ 5068, 371, -2039}, 0, { 22452, 2012}, {0xff, 0xff, 0xff, 0xff}}},55};5657// 0x0700A5F8 - 0x0700A6E858static const Vtx castle_grounds_seg7_vertex_0700A5F8[] = {59{{{ 2316, 371, -141}, 0, { 0, 2012}, {0xff, 0xff, 0xff, 0xff}}},60{{{ 3323, 403, -530}, 0, { 21430, 2012}, {0xff, 0xff, 0xff, 0xff}}},61{{{ 3323, 506, -530}, 0, { 21430, 0}, {0xff, 0xff, 0xff, 0xff}}},62{{{ 5231, 387, -651}, 0, { -8206, 2012}, {0xff, 0xff, 0xff, 0xff}}},63{{{ 4795, 497, -508}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},64{{{ 5232, 489, -652}, 0, { -8206, 0}, {0xff, 0xff, 0xff, 0xff}}},65{{{ 2316, 473, -141}, 0, { 17278, 32}, {0xff, 0xff, 0xff, 0xff}}},66{{{ 1459, 584, -141}, 0, { 192, 2012}, {0xff, 0xff, 0xff, 0xff}}},67{{{ 2316, 371, -141}, 0, { 17790, 2012}, {0xff, 0xff, 0xff, 0xff}}},68{{{ 1471, 684, -141}, 0, { -54, 32}, {0xff, 0xff, 0xff, 0xff}}},69{{{ 1471, 684, -141}, 0, { 17318, 32}, {0xff, 0xff, 0xff, 0xff}}},70{{{ 603, 798, -141}, 0, { 0, 2012}, {0xff, 0xff, 0xff, 0xff}}},71{{{ 1459, 584, -141}, 0, { 17566, 2012}, {0xff, 0xff, 0xff, 0xff}}},72{{{ 628, 894, -141}, 0, { -16, 32}, {0xff, 0xff, 0xff, 0xff}}},73{{{ 2316, 473, -141}, 0, { 16, 0}, {0xff, 0xff, 0xff, 0xff}}},74};7576// 0x0700A6E8 - 0x0700A72877static const Vtx castle_grounds_seg7_vertex_0700A6E8[] = {78{{{ -5856, 543, -4352}, 0, { 18364, 2012}, {0xff, 0xff, 0xff, 0xff}}},79{{{ -5856, 646, -4352}, 0, { 18364, 0}, {0xff, 0xff, 0xff, 0xff}}},80{{{ -6620, 646, -3837}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},81{{{ -6620, 543, -3837}, 0, { 0, 2012}, {0xff, 0xff, 0xff, 0xff}}},82};8384// 0x0700A728 - 0x0700A86085static const Gfx castle_grounds_seg7_dl_0700A728[] = {86gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, castle_grounds_seg7_texture_07000000),87gsDPLoadSync(),88gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),89gsSPVertex(castle_grounds_seg7_vertex_0700A328, 15, 0),90gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),91gsSP2Triangles( 4, 6, 5, 0x0, 7, 8, 9, 0x0),92gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),93gsSP1Triangle(11, 13, 14, 0x0),94gsSPVertex(castle_grounds_seg7_vertex_0700A418, 15, 0),95gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),96gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),97gsSP2Triangles(10, 11, 12, 0x0, 10, 12, 13, 0x0),98gsSP1Triangle( 0, 2, 14, 0x0),99gsSPVertex(castle_grounds_seg7_vertex_0700A508, 15, 0),100gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),101gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),102gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),103gsSP1Triangle(11, 14, 12, 0x0),104gsSPVertex(castle_grounds_seg7_vertex_0700A5F8, 15, 0),105gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),106gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),107gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),108gsSP1Triangle( 0, 2, 14, 0x0),109gsSPVertex(castle_grounds_seg7_vertex_0700A6E8, 4, 0),110gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),111gsSPEndDisplayList(),112};113114// 0x0700A860 - 0x0700A8D0115const Gfx castle_grounds_seg7_dl_0700A860[] = {116gsDPPipeSync(),117gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),118gsSPClearGeometryMode(G_LIGHTING | G_CULL_BACK),119gsDPSetTile(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),120gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),121gsDPTileSync(),122gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 6, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD),123gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),124gsSPDisplayList(castle_grounds_seg7_dl_0700A728),125gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),126gsDPPipeSync(),127gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),128gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),129gsSPEndDisplayList(),130};131132133