Path: blob/master/levels/bits/areas/1/22/model.inc.c
7862 views
// 0x07012DB0 - 0x07012DC81static const Lights1 bits_seg7_lights_07012DB0 = gdSPDefLights1(20x58, 0x5f, 0x7d,30xb1, 0xbf, 0xfa, 0x28, 0x28, 0x284);56// 0x07012DC8 - 0x07012DE07static const Lights1 bits_seg7_lights_07012DC8 = gdSPDefLights1(80x4c, 0x46, 0x6c,90x98, 0x8c, 0xd8, 0x28, 0x28, 0x2810);1112// 0x07012DE0 - 0x07012DF813static const Lights1 bits_seg7_lights_07012DE0 = gdSPDefLights1(140x59, 0x32, 0x7f,150xb2, 0x65, 0xff, 0x28, 0x28, 0x2816);1718// 0x07012DF8 - 0x07012E7819static const Vtx bits_seg7_vertex_07012DF8[] = {20{{{ -349, 307, -767}, 0, { 2524, 3542}, {0x00, 0x7f, 0x00, 0xff}}},21{{{ -759, 307, 358}, 0, { 0, 2350}, {0x00, 0x7f, 0x00, 0xff}}},22{{{ -349, 307, 768}, 0, { 0, 990}, {0x00, 0x7f, 0x00, 0xff}}},23{{{ 367, 307, 768}, 0, { 1160, -202}, {0x00, 0x7f, 0x00, 0xff}}},24{{{ 776, 307, 358}, 0, { 2522, -202}, {0x00, 0x7f, 0x00, 0xff}}},25{{{ 776, 307, -357}, 0, { 3716, 990}, {0x00, 0x7f, 0x00, 0xff}}},26{{{ 367, 307, -767}, 0, { 3716, 2350}, {0x00, 0x7f, 0x00, 0xff}}},27{{{ -759, 307, -357}, 0, { 1160, 3542}, {0x00, 0x7f, 0x00, 0xff}}},28};2930// 0x07012E78 - 0x07012F5831static const Vtx bits_seg7_vertex_07012E78[] = {32{{{ -759, 102, 358}, 0, { 0, 2350}, {0xa7, 0x00, 0x59, 0xff}}},33{{{ -349, 307, 768}, 0, { 0, 990}, {0xa7, 0x00, 0x59, 0xff}}},34{{{ -759, 307, 358}, 0, { 0, 2350}, {0xa7, 0x00, 0x59, 0xff}}},35{{{ 367, 102, -767}, 0, { 3716, 2350}, {0x00, 0x00, 0x81, 0xff}}},36{{{ -349, 102, -767}, 0, { 2524, 3542}, {0x00, 0x00, 0x81, 0xff}}},37{{{ -349, 307, -767}, 0, { 2524, 3542}, {0x00, 0x00, 0x81, 0xff}}},38{{{ 776, 102, -357}, 0, { 3716, 990}, {0x59, 0x00, 0xa7, 0xff}}},39{{{ 367, 102, -767}, 0, { 3716, 2350}, {0x59, 0x00, 0xa7, 0xff}}},40{{{ 367, 307, -767}, 0, { 3716, 2350}, {0x59, 0x00, 0xa7, 0xff}}},41{{{ 367, 307, -767}, 0, { 3716, 2350}, {0x00, 0x00, 0x81, 0xff}}},42{{{ -349, 307, -767}, 0, { 2524, 3542}, {0xa7, 0x00, 0xa7, 0xff}}},43{{{ -349, 102, -767}, 0, { 2524, 3542}, {0xa7, 0x00, 0xa7, 0xff}}},44{{{ -759, 102, -357}, 0, { 1160, 3542}, {0xa7, 0x00, 0xa7, 0xff}}},45{{{ -759, 307, -357}, 0, { 1160, 3542}, {0xa7, 0x00, 0xa7, 0xff}}},46};4748// 0x07012F58 - 0x0701305849static const Vtx bits_seg7_vertex_07012F58[] = {50{{{ -759, 102, 358}, 0, { 0, 2350}, {0x81, 0x00, 0x00, 0xff}}},51{{{ -759, 307, 358}, 0, { 0, 2350}, {0x81, 0x00, 0x00, 0xff}}},52{{{ -759, 307, -357}, 0, { 1160, 3542}, {0x81, 0x00, 0x00, 0xff}}},53{{{ -759, 102, -357}, 0, { 1160, 3542}, {0x81, 0x00, 0x00, 0xff}}},54{{{ -759, 102, 358}, 0, { 0, 2350}, {0xa7, 0x00, 0x59, 0xff}}},55{{{ -349, 102, 768}, 0, { 0, 990}, {0xa7, 0x00, 0x59, 0xff}}},56{{{ -349, 307, 768}, 0, { 0, 990}, {0xa7, 0x00, 0x59, 0xff}}},57{{{ 776, 307, 358}, 0, { 2522, -202}, {0x59, 0x00, 0x59, 0xff}}},58{{{ 367, 102, 768}, 0, { 1160, -202}, {0x59, 0x00, 0x59, 0xff}}},59{{{ 776, 102, 358}, 0, { 2522, -202}, {0x59, 0x00, 0x59, 0xff}}},60{{{ 776, 102, -357}, 0, { 3716, 990}, {0x59, 0x00, 0xa7, 0xff}}},61{{{ 367, 307, -767}, 0, { 3716, 2350}, {0x59, 0x00, 0xa7, 0xff}}},62{{{ 776, 307, -357}, 0, { 3716, 990}, {0x59, 0x00, 0xa7, 0xff}}},63{{{ 776, 102, -357}, 0, { 3716, 990}, {0x7f, 0x00, 0x00, 0xff}}},64{{{ 776, 307, -357}, 0, { 3716, 990}, {0x7f, 0x00, 0x00, 0xff}}},65{{{ 776, 307, 358}, 0, { 2522, -202}, {0x7f, 0x00, 0x00, 0xff}}},66};6768// 0x07013058 - 0x070130F869static const Vtx bits_seg7_vertex_07013058[] = {70{{{ 776, 102, -357}, 0, { 3716, 990}, {0x7f, 0x00, 0x00, 0xff}}},71{{{ 776, 307, 358}, 0, { 2522, -202}, {0x7f, 0x00, 0x00, 0xff}}},72{{{ 776, 102, 358}, 0, { 2522, -202}, {0x7f, 0x00, 0x00, 0xff}}},73{{{ 776, 307, 358}, 0, { 2522, -202}, {0x59, 0x00, 0x59, 0xff}}},74{{{ 367, 307, 768}, 0, { 1160, -202}, {0x59, 0x00, 0x59, 0xff}}},75{{{ 367, 102, 768}, 0, { 1160, -202}, {0x59, 0x00, 0x59, 0xff}}},76{{{ 367, 307, 768}, 0, { 1160, -202}, {0x00, 0x00, 0x7f, 0xff}}},77{{{ -349, 307, 768}, 0, { 0, 990}, {0x00, 0x00, 0x7f, 0xff}}},78{{{ -349, 102, 768}, 0, { 0, 990}, {0x00, 0x00, 0x7f, 0xff}}},79{{{ 367, 102, 768}, 0, { 1160, -202}, {0x00, 0x00, 0x7f, 0xff}}},80};8182// 0x070130F8 - 0x070131E883static const Vtx bits_seg7_vertex_070130F8[] = {84{{{ 776, 102, 358}, 0, { 2522, -202}, {0x5b, 0xa8, 0x00, 0xff}}},85{{{ 382, -306, 179}, 0, { 2164, 752}, {0x5b, 0xa8, 0x00, 0xff}}},86{{{ 382, -306, -178}, 0, { 2762, 1346}, {0x5b, 0xa8, 0x00, 0xff}}},87{{{ -385, -306, 179}, 0, { 888, 2028}, {0xc0, 0xa9, 0x40, 0xff}}},88{{{ -180, -306, 384}, 0, { 888, 1346}, {0xc0, 0xa9, 0x40, 0xff}}},89{{{ -349, 102, 768}, 0, { 0, 990}, {0xc0, 0xa9, 0x40, 0xff}}},90{{{ -759, 102, 358}, 0, { 0, 2350}, {0xc0, 0xa9, 0x40, 0xff}}},91{{{ -385, -306, 179}, 0, { 888, 2028}, {0x00, 0x81, 0x00, 0xff}}},92{{{ -180, -306, -383}, 0, { 2164, 2624}, {0x00, 0x81, 0x00, 0xff}}},93{{{ 177, -306, -383}, 0, { 2762, 2028}, {0x00, 0x81, 0x00, 0xff}}},94{{{ 382, -306, -178}, 0, { 2762, 1346}, {0x00, 0x81, 0x00, 0xff}}},95{{{ 382, -306, 179}, 0, { 2164, 752}, {0x00, 0x81, 0x00, 0xff}}},96{{{ 177, -306, 384}, 0, { 1484, 752}, {0x00, 0x81, 0x00, 0xff}}},97{{{ -180, -306, 384}, 0, { 888, 1346}, {0x00, 0x81, 0x00, 0xff}}},98{{{ -385, -306, -178}, 0, { 1484, 2624}, {0x00, 0x81, 0x00, 0xff}}},99};100101// 0x070131E8 - 0x070132D8102static const Vtx bits_seg7_vertex_070131E8[] = {103{{{ -759, 102, -357}, 0, { 1160, 3542}, {0xa3, 0xab, 0x00, 0xff}}},104{{{ -385, -306, -178}, 0, { 1484, 2624}, {0xa3, 0xab, 0x00, 0xff}}},105{{{ -385, -306, 179}, 0, { 888, 2028}, {0xa3, 0xab, 0x00, 0xff}}},106{{{ -759, 102, 358}, 0, { 0, 2350}, {0xa3, 0xab, 0x00, 0xff}}},107{{{ -349, 102, 768}, 0, { 0, 990}, {0x00, 0xa9, 0x5c, 0xff}}},108{{{ -180, -306, 384}, 0, { 888, 1346}, {0x00, 0xa9, 0x5c, 0xff}}},109{{{ 177, -306, 384}, 0, { 1484, 752}, {0x00, 0xa9, 0x5c, 0xff}}},110{{{ 367, 102, 768}, 0, { 1160, -202}, {0x00, 0xa9, 0x5c, 0xff}}},111{{{ 367, 102, 768}, 0, { 1160, -202}, {0x3f, 0xa7, 0x3f, 0xff}}},112{{{ 177, -306, 384}, 0, { 1484, 752}, {0x3f, 0xa7, 0x3f, 0xff}}},113{{{ 382, -306, 179}, 0, { 2164, 752}, {0x3f, 0xa7, 0x3f, 0xff}}},114{{{ 776, 102, 358}, 0, { 2522, -202}, {0x3f, 0xa7, 0x3f, 0xff}}},115{{{ -349, 102, -767}, 0, { 2524, 3542}, {0xc0, 0xa9, 0xc0, 0xff}}},116{{{ -385, -306, -178}, 0, { 1484, 2624}, {0xc0, 0xa9, 0xc0, 0xff}}},117{{{ -759, 102, -357}, 0, { 1160, 3542}, {0xc0, 0xa9, 0xc0, 0xff}}},118};119120// 0x070132D8 - 0x070133B8121static const Vtx bits_seg7_vertex_070132D8[] = {122{{{ 776, 102, 358}, 0, { 2522, -202}, {0x5b, 0xa8, 0x00, 0xff}}},123{{{ 382, -306, -178}, 0, { 2762, 1346}, {0x5b, 0xa8, 0x00, 0xff}}},124{{{ 776, 102, -357}, 0, { 3716, 990}, {0x5b, 0xa8, 0x00, 0xff}}},125{{{ 382, -306, -178}, 0, { 2762, 1346}, {0x3f, 0xa7, 0xc1, 0xff}}},126{{{ 177, -306, -383}, 0, { 2762, 2028}, {0x3f, 0xa7, 0xc1, 0xff}}},127{{{ 367, 102, -767}, 0, { 3716, 2350}, {0x3f, 0xa7, 0xc1, 0xff}}},128{{{ 776, 102, -357}, 0, { 3716, 990}, {0x3f, 0xa7, 0xc1, 0xff}}},129{{{ 367, 102, -767}, 0, { 3716, 2350}, {0x00, 0xa9, 0xa4, 0xff}}},130{{{ 177, -306, -383}, 0, { 2762, 2028}, {0x00, 0xa9, 0xa4, 0xff}}},131{{{ -180, -306, -383}, 0, { 2164, 2624}, {0x00, 0xa9, 0xa4, 0xff}}},132{{{ -349, 102, -767}, 0, { 2524, 3542}, {0x00, 0xa9, 0xa4, 0xff}}},133{{{ -349, 102, -767}, 0, { 2524, 3542}, {0xc0, 0xa9, 0xc0, 0xff}}},134{{{ -180, -306, -383}, 0, { 2164, 2624}, {0xc0, 0xa9, 0xc0, 0xff}}},135{{{ -385, -306, -178}, 0, { 1484, 2624}, {0xc0, 0xa9, 0xc0, 0xff}}},136};137138// 0x070133B8 - 0x070135A0139static const Gfx bits_seg7_dl_070133B8[] = {140gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800),141gsDPLoadSync(),142gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),143gsSPLight(&bits_seg7_lights_07012DB0.l, 1),144gsSPLight(&bits_seg7_lights_07012DB0.a, 2),145gsSPVertex(bits_seg7_vertex_07012DF8, 8, 0),146gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),147gsSP2Triangles( 0, 3, 4, 0x0, 0, 5, 6, 0x0),148gsSP2Triangles( 0, 7, 1, 0x0, 0, 4, 5, 0x0),149gsSPLight(&bits_seg7_lights_07012DC8.l, 1),150gsSPLight(&bits_seg7_lights_07012DC8.a, 2),151gsSPVertex(bits_seg7_vertex_07012E78, 14, 0),152gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),153gsSP2Triangles( 6, 7, 8, 0x0, 3, 5, 9, 0x0),154gsSP2Triangles(10, 11, 12, 0x0, 13, 10, 12, 0x0),155gsSPVertex(bits_seg7_vertex_07012F58, 16, 0),156gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),157gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),158gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),159gsSPVertex(bits_seg7_vertex_07013058, 10, 0),160gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),161gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),162gsSPLight(&bits_seg7_lights_07012DE0.l, 1),163gsSPLight(&bits_seg7_lights_07012DE0.a, 2),164gsSPVertex(bits_seg7_vertex_070130F8, 15, 0),165gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),166gsSP2Triangles( 6, 3, 5, 0x0, 7, 8, 9, 0x0),167gsSP2Triangles( 7, 9, 10, 0x0, 7, 10, 11, 0x0),168gsSP2Triangles( 7, 11, 12, 0x0, 7, 12, 13, 0x0),169gsSP1Triangle( 7, 14, 8, 0x0),170gsSPVertex(bits_seg7_vertex_070131E8, 15, 0),171gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),172gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),173gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),174gsSP1Triangle(12, 13, 14, 0x0),175gsSPVertex(bits_seg7_vertex_070132D8, 14, 0),176gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),177gsSP2Triangles( 6, 3, 5, 0x0, 7, 8, 9, 0x0),178gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),179gsSPEndDisplayList(),180};181182// 0x070135A0 - 0x07013610183const Gfx bits_seg7_dl_070135A0[] = {184gsDPPipeSync(),185gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),186gsSPClearGeometryMode(G_SHADING_SMOOTH),187gsDPSetTile(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),188gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),189gsDPTileSync(),190gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD),191gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),192gsSPDisplayList(bits_seg7_dl_070133B8),193gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),194gsDPPipeSync(),195gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),196gsSPSetGeometryMode(G_SHADING_SMOOTH),197gsSPEndDisplayList(),198};199200201