Path: blob/master/levels/bowser_2/tilting_platform/model.inc.c
7861 views
// 0x07000800 - 0x070009001static const Vtx bowser_2_seg7_vertex_07000800[] = {2{{{ 1176, 784, -2837}, 0, { 6612, 678}, {0xff, 0xff, 0xff, 0xff}}},3{{{ 2838, 1229, -1175}, 0, { 7634, 990}, {0xff, 0xff, 0xff, 0xff}}},4{{{ 2838, 784, -1175}, 0, { 7634, 678}, {0xff, 0xff, 0xff, 0xff}}},5{{{ 1176, 784, 2838}, 0, { 1502, 678}, {0xff, 0xff, 0xff, 0xff}}},6{{{ 1176, 1229, 2838}, 0, { 1502, 990}, {0xff, 0xff, 0xff, 0xff}}},7{{{ -1175, 1229, 2838}, 0, { 2524, 990}, {0xff, 0xff, 0xff, 0xff}}},8{{{ 2838, 784, 1176}, 0, { 480, 678}, {0xff, 0xff, 0xff, 0xff}}},9{{{ -1175, 784, 2838}, 0, { 2524, 678}, {0xff, 0xff, 0xff, 0xff}}},10{{{ 2838, 1229, 1176}, 0, { 480, 990}, {0xff, 0xff, 0xff, 0xff}}},11{{{ -2837, 1229, 1176}, 0, { 3546, 990}, {0xff, 0xff, 0xff, 0xff}}},12{{{ -2837, 784, 1176}, 0, { 3546, 678}, {0xff, 0xff, 0xff, 0xff}}},13{{{ 2838, 1229, 1176}, 0, { 8656, 990}, {0xff, 0xff, 0xff, 0xff}}},14{{{ 2838, 784, 1176}, 0, { 8656, 678}, {0xff, 0xff, 0xff, 0xff}}},15{{{ 0, -306, 0}, 0, { 1502, 552}, {0xff, 0xff, 0xff, 0xff}}},16{{{ -1175, 784, 2838}, 0, { 1246, 812}, {0xff, 0xff, 0xff, 0xff}}},17{{{ -2837, 784, 1176}, 0, { 1756, 812}, {0xff, 0xff, 0xff, 0xff}}},18};1920// 0x07000900 - 0x07000A0021static const Vtx bowser_2_seg7_vertex_07000900[] = {22{{{ 1176, 784, -2837}, 0, { 6612, 678}, {0xff, 0xff, 0xff, 0xff}}},23{{{ 1176, 1229, -2837}, 0, { 6612, 990}, {0xff, 0xff, 0xff, 0xff}}},24{{{ 2838, 1229, -1175}, 0, { 7634, 990}, {0xff, 0xff, 0xff, 0xff}}},25{{{ -1175, 784, -2837}, 0, { 5590, 678}, {0xff, 0xff, 0xff, 0xff}}},26{{{ -1175, 1229, -2837}, 0, { 5590, 990}, {0xff, 0xff, 0xff, 0xff}}},27{{{ -2837, 784, -1175}, 0, { 4568, 678}, {0xff, 0xff, 0xff, 0xff}}},28{{{ -2837, 1229, -1175}, 0, { 4568, 990}, {0xff, 0xff, 0xff, 0xff}}},29{{{ -2837, 784, 1176}, 0, { 3546, 678}, {0xff, 0xff, 0xff, 0xff}}},30{{{ -2837, 1229, 1176}, 0, { 3546, 990}, {0xff, 0xff, 0xff, 0xff}}},31{{{ -2837, 784, 1176}, 0, { 1756, 812}, {0xff, 0xff, 0xff, 0xff}}},32{{{ -2837, 784, -1175}, 0, { 2268, 812}, {0xff, 0xff, 0xff, 0xff}}},33{{{ 0, -306, 0}, 0, { 2012, 552}, {0xff, 0xff, 0xff, 0xff}}},34{{{ -1175, 784, -2837}, 0, { 2778, 812}, {0xff, 0xff, 0xff, 0xff}}},35{{{ 0, -306, 0}, 0, { 2524, 552}, {0xff, 0xff, 0xff, 0xff}}},36{{{ 1176, 784, -2837}, 0, { 3290, 812}, {0xff, 0xff, 0xff, 0xff}}},37{{{ 0, -306, 0}, 0, { 3034, 552}, {0xff, 0xff, 0xff, 0xff}}},38};3940// 0x07000A00 - 0x07000AA041static const Vtx bowser_2_seg7_vertex_07000A00[] = {42{{{ 1176, 784, -2837}, 0, { 3290, 812}, {0xff, 0xff, 0xff, 0xff}}},43{{{ 2838, 784, -1175}, 0, { 3800, 812}, {0xff, 0xff, 0xff, 0xff}}},44{{{ 0, -306, 0}, 0, { 3546, 552}, {0xff, 0xff, 0xff, 0xff}}},45{{{ 2838, 784, 1176}, 0, { 4312, 812}, {0xff, 0xff, 0xff, 0xff}}},46{{{ 0, -306, 0}, 0, { 4056, 552}, {0xff, 0xff, 0xff, 0xff}}},47{{{ 2838, 784, 1176}, 0, { 224, 812}, {0xff, 0xff, 0xff, 0xff}}},48{{{ 1176, 784, 2838}, 0, { 734, 812}, {0xff, 0xff, 0xff, 0xff}}},49{{{ 0, -306, 0}, 0, { 480, 552}, {0xff, 0xff, 0xff, 0xff}}},50{{{ -1175, 784, 2838}, 0, { 1246, 812}, {0xff, 0xff, 0xff, 0xff}}},51{{{ 0, -306, 0}, 0, { 990, 552}, {0xff, 0xff, 0xff, 0xff}}},52};5354// 0x07000AA0 - 0x07000BA055static const Vtx bowser_2_seg7_vertex_07000AA0[] = {56{{{ 2838, 1229, -1175}, 0, { 5298, -4574}, {0xad, 0x10, 0x16, 0xff}}},57{{{ 1703, 1229, 705}, 0, { 3210, -1892}, {0xad, 0x10, 0x16, 0xff}}},58{{{ 2838, 1229, 1176}, 0, { 4460, -1222}, {0xad, 0x10, 0x16, 0xff}}},59{{{ -2837, 1229, -1175}, 0, { -1782, -4574}, {0xad, 0x10, 0x16, 0xff}}},60{{{ -704, 1229, -1702}, 0, { 1064, -5326}, {0xad, 0x10, 0x16, 0xff}}},61{{{ -1175, 1229, -2837}, 0, { 882, -6944}, {0xad, 0x10, 0x16, 0xff}}},62{{{ -2837, 1229, 1176}, 0, { -2620, -1222}, {0xad, 0x10, 0x16, 0xff}}},63{{{ -1702, 1229, -704}, 0, { -534, -3904}, {0xad, 0x10, 0x16, 0xff}}},64{{{ -1702, 1229, 705}, 0, { -1036, -1892}, {0xad, 0x10, 0x16, 0xff}}},65{{{ 705, 1229, -1702}, 0, { 2824, -5326}, {0xad, 0x10, 0x16, 0xff}}},66{{{ 1176, 1229, -2837}, 0, { 3816, -6944}, {0xad, 0x10, 0x16, 0xff}}},67{{{ -1175, 1229, 2838}, 0, { -1138, 1146}, {0xad, 0x10, 0x16, 0xff}}},68{{{ -704, 1229, 1703}, 0, { -148, -470}, {0xad, 0x10, 0x16, 0xff}}},69{{{ 1176, 1229, 2838}, 0, { 1792, 1146}, {0xad, 0x10, 0x16, 0xff}}},70{{{ 705, 1229, 1703}, 0, { 1610, -470}, {0xad, 0x10, 0x16, 0xff}}},71{{{ 1703, 1229, -704}, 0, { 3714, -3904}, {0xad, 0x10, 0x16, 0xff}}},72};7374// 0x07000BA0 - 0x07000C3075static const Vtx bowser_2_seg7_vertex_07000BA0[] = {76{{{ -1418, 1229, 588}, 0, { 3034, -2076}, {0xfd, 0x42, 0x34, 0xff}}},77{{{ -587, 1229, 1419}, 0, { 5202, -1178}, {0xfd, 0x42, 0x34, 0xff}}},78{{{ 0, 1229, 0}, 0, { 3034, 990}, {0xfd, 0x42, 0x34, 0xff}}},79{{{ 588, 1229, 1419}, 0, { 6100, 990}, {0xfd, 0x42, 0x34, 0xff}}},80{{{ 1419, 1229, 588}, 0, { 5202, 3156}, {0xfd, 0x42, 0x34, 0xff}}},81{{{ -1418, 1229, -587}, 0, { 866, -1178}, {0xfd, 0x42, 0x34, 0xff}}},82{{{ 1419, 1229, -587}, 0, { 3034, 4054}, {0xfd, 0x42, 0x34, 0xff}}},83{{{ 588, 1229, -1418}, 0, { 866, 3156}, {0xfd, 0x42, 0x34, 0xff}}},84{{{ -587, 1229, -1418}, 0, { 0, 990}, {0xfd, 0x42, 0x34, 0xff}}},85};8687// 0x07000C30 - 0x07000D3088static const Vtx bowser_2_seg7_vertex_07000C30[] = {89{{{ -704, 1229, 1703}, 0, { 0, 850}, {0xfd, 0x42, 0x34, 0xff}}},90{{{ 705, 1229, 1703}, 0, { 4568, -1054}, {0xfd, 0x42, 0x34, 0xff}}},91{{{ 588, 1229, 1419}, 0, { 3800, -1820}, {0xfd, 0x42, 0x34, 0xff}}},92{{{ -1702, 1229, 705}, 0, { -4630, -1054}, {0xfd, 0x42, 0x34, 0xff}}},93{{{ -1418, 1229, -587}, 0, { -5450, -5654}, {0xfd, 0x42, 0x34, 0xff}}},94{{{ -1702, 1229, -704}, 0, { -6534, -5654}, {0xfd, 0x42, 0x34, 0xff}}},95{{{ -587, 1229, -1418}, 0, { -3862, -9486}, {0xfd, 0x42, 0x34, 0xff}}},96{{{ -704, 1229, -1702}, 0, { -4628, -10252}, {0xfd, 0x42, 0x34, 0xff}}},97{{{ -1418, 1229, 588}, 0, { -3862, -1820}, {0xfd, 0x42, 0x34, 0xff}}},98{{{ 588, 1229, -1418}, 0, { 0, -11072}, {0xfd, 0x42, 0x34, 0xff}}},99{{{ 705, 1229, -1702}, 0, { 0, -12156}, {0xfd, 0x42, 0x34, 0xff}}},100{{{ -587, 1229, 1419}, 0, { 0, -234}, {0xfd, 0x42, 0x34, 0xff}}},101{{{ 1703, 1229, 705}, 0, { 6472, -5652}, {0xfd, 0x42, 0x34, 0xff}}},102{{{ 1419, 1229, 588}, 0, { 5388, -5652}, {0xfd, 0x42, 0x34, 0xff}}},103{{{ 1703, 1229, -704}, 0, { 4568, -10252}, {0xfd, 0x42, 0x34, 0xff}}},104{{{ 1419, 1229, -587}, 0, { 3800, -9486}, {0xfd, 0x42, 0x34, 0xff}}},105};106107// 0x07000D30 - 0x07000E28108const Gfx bowser_2_seg7_dl_07000D30[] = {109gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09009800),110gsDPLoadSync(),111gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),112gsSPVertex(bowser_2_seg7_vertex_07000800, 16, 0),113gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),114gsSP2Triangles( 6, 4, 3, 0x0, 3, 5, 7, 0x0),115gsSP2Triangles( 6, 8, 4, 0x0, 7, 5, 9, 0x0),116gsSP2Triangles( 7, 9, 10, 0x0, 2, 11, 12, 0x0),117gsSP2Triangles( 2, 1, 11, 0x0, 13, 14, 15, 0x0),118gsSPVertex(bowser_2_seg7_vertex_07000900, 16, 0),119gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),120gsSP2Triangles( 3, 4, 1, 0x0, 5, 4, 3, 0x0),121gsSP2Triangles( 5, 6, 4, 0x0, 7, 6, 5, 0x0),122gsSP2Triangles( 7, 8, 6, 0x0, 9, 10, 11, 0x0),123gsSP2Triangles(10, 12, 13, 0x0, 12, 14, 15, 0x0),124gsSPVertex(bowser_2_seg7_vertex_07000A00, 10, 0),125gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 4, 0x0),126gsSP2Triangles( 5, 6, 7, 0x0, 6, 8, 9, 0x0),127gsSPEndDisplayList(),128};129130// 0x07000E28 - 0x07000ED0131static const Gfx bowser_2_seg7_dl_07000E28[] = {132gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09003000),133gsDPLoadSync(),134gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),135gsSPVertex(bowser_2_seg7_vertex_07000AA0, 16, 0),136gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),137gsSP2Triangles( 6, 7, 3, 0x0, 3, 7, 4, 0x0),138gsSP2Triangles( 6, 8, 7, 0x0, 5, 4, 9, 0x0),139gsSP2Triangles( 5, 9, 10, 0x0, 11, 8, 6, 0x0),140gsSP2Triangles(11, 12, 8, 0x0, 11, 13, 14, 0x0),141gsSP2Triangles(11, 14, 12, 0x0, 10, 9, 15, 0x0),142gsSP2Triangles( 2, 1, 14, 0x0, 0, 15, 1, 0x0),143gsSP2Triangles( 2, 14, 13, 0x0, 10, 15, 0, 0x0),144gsSPEndDisplayList(),145};146147// 0x07000ED0 - 0x07000F38148static const Gfx bowser_2_seg7_dl_07000ED0[] = {149gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09005800),150gsDPLoadSync(),151gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),152gsSPVertex(bowser_2_seg7_vertex_07000BA0, 9, 0),153gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),154gsSP2Triangles( 3, 4, 2, 0x0, 5, 0, 2, 0x0),155gsSP2Triangles( 6, 7, 2, 0x0, 4, 6, 2, 0x0),156gsSP2Triangles( 8, 5, 2, 0x0, 7, 8, 2, 0x0),157gsSPEndDisplayList(),158};159160// 0x07000F38 - 0x07000FE0161static const Gfx bowser_2_seg7_dl_07000F38[] = {162gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09005000),163gsDPLoadSync(),164gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),165gsSPVertex(bowser_2_seg7_vertex_07000C30, 16, 0),166gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),167gsSP2Triangles( 5, 4, 6, 0x0, 5, 6, 7, 0x0),168gsSP2Triangles( 3, 8, 4, 0x0, 7, 6, 9, 0x0),169gsSP2Triangles( 7, 9, 10, 0x0, 0, 8, 3, 0x0),170gsSP2Triangles( 0, 11, 8, 0x0, 12, 13, 2, 0x0),171gsSP2Triangles(14, 13, 12, 0x0, 12, 2, 1, 0x0),172gsSP2Triangles( 0, 2, 11, 0x0, 10, 9, 15, 0x0),173gsSP2Triangles(14, 15, 13, 0x0, 10, 15, 14, 0x0),174gsSPEndDisplayList(),175};176177// 0x07000FE0 - 0x070010B0178const Gfx bowser_2_seg7_dl_07000FE0[] = {179gsDPPipeSync(),180gsDPSetCycleType(G_CYC_2CYCLE),181gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),182gsDPSetDepthSource(G_ZS_PIXEL),183gsDPSetFogColor(200, 50, 0, 255),184gsSPFogPosition(960, 1000),185gsSPSetGeometryMode(G_FOG),186gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_PASS2),187gsSPClearGeometryMode(G_LIGHTING),188gsDPSetTile(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),189gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),190gsDPTileSync(),191gsDPSetTile(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),192gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),193gsSPDisplayList(bowser_2_seg7_dl_07000D30),194gsSPDisplayList(bowser_2_seg7_dl_07000E28),195gsSPDisplayList(bowser_2_seg7_dl_07000ED0),196gsSPDisplayList(bowser_2_seg7_dl_07000F38),197gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),198gsDPPipeSync(),199gsDPSetCycleType(G_CYC_1CYCLE),200gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2),201gsSPClearGeometryMode(G_FOG),202gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),203gsSPSetGeometryMode(G_LIGHTING),204gsSPEndDisplayList(),205};206207208