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