Path: blob/master/levels/castle_inside/areas/2/10/model.inc.c
7862 views
// 0x07051370 - 0x070514601static const Vtx inside_castle_seg7_vertex_07051370[] = {2{{{ 1384, 2765, 7197}, 0, { 2012, 990}, {0xff, 0xff, 0xff, 0xff}}},3{{{ 1384, 2867, 6992}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},4{{{ 1384, 2765, 6992}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},5{{{ -760, 3174, 4792}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},6{{{ 352, 3277, 4792}, 0, { 11210, 0}, {0xff, 0xff, 0xff, 0xff}}},7{{{ -760, 3277, 4792}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},8{{{ 352, 3174, 4792}, 0, { 11210, 990}, {0xff, 0xff, 0xff, 0xff}}},9{{{ -809, 3174, 4610}, 0, { -896, 990}, {0xff, 0xff, 0xff, 0xff}}},10{{{ -760, 3277, 4792}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},11{{{ -809, 3277, 4610}, 0, { -896, 0}, {0xff, 0xff, 0xff, 0xff}}},12{{{ -760, 3174, 4792}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},13{{{ 352, 3174, 4792}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},14{{{ 401, 3174, 4610}, 0, { 1856, 990}, {0xff, 0xff, 0xff, 0xff}}},15{{{ 401, 3277, 4610}, 0, { 1856, 0}, {0xff, 0xff, 0xff, 0xff}}},16{{{ 352, 3277, 4792}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},17};1819// 0x07051460 - 0x0705156020static const Vtx inside_castle_seg7_vertex_07051460[] = {21{{{ -1992, 2867, 6310}, 0, { -2074, 0}, {0xff, 0xff, 0xff, 0xff}}},22{{{ -1793, 2867, 6509}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},23{{{ -1793, 2765, 6509}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},24{{{ 1384, 2765, 7197}, 0, { 2012, 990}, {0xff, 0xff, 0xff, 0xff}}},25{{{ 1384, 2867, 7197}, 0, { 2012, 0}, {0xff, 0xff, 0xff, 0xff}}},26{{{ 1384, 2867, 6992}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},27{{{ -1793, 2765, 6992}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},28{{{ -1793, 2867, 7197}, 0, { -1052, 0}, {0xff, 0xff, 0xff, 0xff}}},29{{{ -1793, 2765, 7197}, 0, { -1052, 990}, {0xff, 0xff, 0xff, 0xff}}},30{{{ -1793, 2867, 6992}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},31{{{ -1793, 2867, 6603}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},32{{{ -1793, 2765, 6603}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},33{{{ -1992, 2765, 6310}, 0, { -2074, 990}, {0xff, 0xff, 0xff, 0xff}}},34{{{ 1384, 2765, 6603}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},35{{{ 1384, 2867, 6603}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},36{{{ 1384, 2867, 6509}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},37};3839// 0x07051560 - 0x070515B040static const Vtx inside_castle_seg7_vertex_07051560[] = {41{{{ 1384, 2765, 6603}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},42{{{ 1384, 2867, 6509}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},43{{{ 1384, 2765, 6509}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},44{{{ 1583, 2765, 6310}, 0, { -2074, 990}, {0xff, 0xff, 0xff, 0xff}}},45{{{ 1583, 2867, 6310}, 0, { -2074, 0}, {0xff, 0xff, 0xff, 0xff}}},46};4748// 0x070515B0 - 0x0705167849static const Gfx inside_castle_seg7_dl_070515B0[] = {50gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09008800),51gsDPLoadSync(),52gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),53gsSPVertex(inside_castle_seg7_vertex_07051370, 15, 0),54gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),55gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),56gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),57gsSP1Triangle(11, 13, 14, 0x0),58gsSPVertex(inside_castle_seg7_vertex_07051460, 16, 0),59gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),60gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),61gsSP2Triangles( 2, 1, 10, 0x0, 2, 10, 11, 0x0),62gsSP2Triangles( 0, 2, 12, 0x0, 13, 14, 15, 0x0),63gsSPVertex(inside_castle_seg7_vertex_07051560, 5, 0),64gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 4, 0x0),65gsSP1Triangle( 3, 2, 1, 0x0),66gsSPEndDisplayList(),67};6869// 0x07051678 - 0x070516E870const Gfx inside_castle_seg7_dl_07051678[] = {71gsDPPipeSync(),72gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),73gsSPClearGeometryMode(G_LIGHTING | G_CULL_BACK),74gsDPSetTile(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),75gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),76gsDPTileSync(),77gsDPSetTile(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),78gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),79gsSPDisplayList(inside_castle_seg7_dl_070515B0),80gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),81gsDPPipeSync(),82gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),83gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),84gsSPEndDisplayList(),85};868788