model.inc.c (5677B)
1 // 0x07017578 - 0x07017590 2 static const Lights1 lll_seg7_lights_07017578 = gdSPDefLights1( 3 0x3f, 0x3f, 0x3f, 4 0xfe, 0xff, 0xff, 0x28, 0x28, 0x28 5 ); 6 7 // 0x07017590 - 0x07017650 8 static const Vtx lll_seg7_vertex_07017590[] = { 9 {{{ -511, 154, 128}, 0, { 0, 224}, {0x00, 0x7f, 0x00, 0xff}}}, 10 {{{ -511, 154, 512}, 0, { 0, 990}, {0x00, 0x7f, 0x00, 0xff}}}, 11 {{{ 512, 154, 512}, 0, { 990, 990}, {0x00, 0x7f, 0x00, 0xff}}}, 12 {{{ 512, 154, 128}, 0, { 990, 224}, {0x00, 0x7f, 0x00, 0xff}}}, 13 {{{ -511, 307, -127}, 0, { -30, 732}, {0x00, 0x6c, 0x41, 0xff}}}, 14 {{{ -511, 154, 128}, 0, { 0, 1232}, {0x00, 0x6c, 0x41, 0xff}}}, 15 {{{ 512, 154, 128}, 0, { 988, 1246}, {0x00, 0x6c, 0x41, 0xff}}}, 16 {{{ 512, 307, -127}, 0, { 992, 746}, {0x00, 0x6c, 0x41, 0xff}}}, 17 {{{ -511, 307, -511}, 0, { 0, -1054}, {0x00, 0x7f, 0x00, 0xff}}}, 18 {{{ -511, 307, -127}, 0, { 0, -288}, {0x00, 0x7f, 0x00, 0xff}}}, 19 {{{ 512, 307, -127}, 0, { 990, -288}, {0x00, 0x7f, 0x00, 0xff}}}, 20 {{{ 512, 307, -511}, 0, { 990, -1054}, {0x00, 0x7f, 0x00, 0xff}}}, 21 }; 22 23 // 0x07017650 - 0x07017740 24 static const Vtx lll_seg7_vertex_07017650[] = { 25 {{{ -511, 0, -511}, 0, { 4056, 990}, {0x00, 0x00, 0x81, 0xff}}}, 26 {{{ 512, 307, -511}, 0, { 650, 0}, {0x00, 0x00, 0x81, 0xff}}}, 27 {{{ 512, 0, -511}, 0, { 650, 990}, {0x00, 0x00, 0x81, 0xff}}}, 28 {{{ 512, 0, -511}, 0, { 2352, 990}, {0x7f, 0x00, 0x00, 0xff}}}, 29 {{{ 512, 307, -511}, 0, { 2352, 0}, {0x7f, 0x00, 0x00, 0xff}}}, 30 {{{ 512, 307, -127}, 0, { 1076, 0}, {0x7f, 0x00, 0x00, 0xff}}}, 31 {{{ 512, 154, 128}, 0, { 224, 480}, {0x7f, 0x00, 0x00, 0xff}}}, 32 {{{ 512, 0, 512}, 0, { -1052, 990}, {0x7f, 0x00, 0x00, 0xff}}}, 33 {{{ 512, 154, 512}, 0, { -1052, 480}, {0x7f, 0x00, 0x00, 0xff}}}, 34 {{{ -511, 154, 128}, 0, { 2098, 480}, {0x81, 0x00, 0x00, 0xff}}}, 35 {{{ -511, 307, -127}, 0, { 1246, 0}, {0x81, 0x00, 0x00, 0xff}}}, 36 {{{ -511, 0, -511}, 0, { 0, 990}, {0x81, 0x00, 0x00, 0xff}}}, 37 {{{ -511, 0, 512}, 0, { 3374, 990}, {0x81, 0x00, 0x00, 0xff}}}, 38 {{{ -511, 154, 512}, 0, { 3374, 480}, {0x81, 0x00, 0x00, 0xff}}}, 39 {{{ -511, 307, -511}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}}, 40 }; 41 42 // 0x07017740 - 0x070177B0 43 static const Vtx lll_seg7_vertex_07017740[] = { 44 {{{ 512, 0, 512}, 0, { 3374, 990}, {0x00, 0x00, 0x7f, 0xff}}}, 45 {{{ -511, 154, 512}, 0, { 0, 478}, {0x00, 0x00, 0x7f, 0xff}}}, 46 {{{ -511, 0, 512}, 0, { 0, 990}, {0x00, 0x00, 0x7f, 0xff}}}, 47 {{{ -511, 0, -511}, 0, { 4056, 990}, {0x00, 0x00, 0x81, 0xff}}}, 48 {{{ -511, 307, -511}, 0, { 4056, 0}, {0x00, 0x00, 0x81, 0xff}}}, 49 {{{ 512, 307, -511}, 0, { 650, 0}, {0x00, 0x00, 0x81, 0xff}}}, 50 {{{ 512, 154, 512}, 0, { 3374, 478}, {0x00, 0x00, 0x7f, 0xff}}}, 51 }; 52 53 // 0x070177B0 - 0x07017818 54 static const Gfx lll_seg7_dl_070177B0[] = { 55 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_0900B800), 56 gsDPLoadSync(), 57 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 58 gsSPLight(&lll_seg7_lights_07017578.l, 1), 59 gsSPLight(&lll_seg7_lights_07017578.a, 2), 60 gsSPVertex(lll_seg7_vertex_07017590, 12, 0), 61 gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0), 62 gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0), 63 gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0), 64 gsSPEndDisplayList(), 65 }; 66 67 // 0x07017818 - 0x070178A8 68 static const Gfx lll_seg7_dl_07017818[] = { 69 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09007800), 70 gsDPLoadSync(), 71 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 72 gsSPVertex(lll_seg7_vertex_07017650, 15, 0), 73 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 74 gsSP2Triangles( 3, 5, 6, 0x0, 3, 6, 7, 0x0), 75 gsSP2Triangles( 6, 8, 7, 0x0, 9, 10, 11, 0x0), 76 gsSP2Triangles(12, 13, 9, 0x0, 12, 9, 11, 0x0), 77 gsSP1Triangle(10, 14, 11, 0x0), 78 gsSPVertex(lll_seg7_vertex_07017740, 7, 0), 79 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), 80 gsSP1Triangle( 0, 6, 1, 0x0), 81 gsSPEndDisplayList(), 82 }; 83 84 // 0x070178A8 - 0x07017938 85 const Gfx lll_seg7_dl_070178A8[] = { 86 gsDPPipeSync(), 87 gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB), 88 gsSPClearGeometryMode(G_SHADING_SMOOTH), 89 gsDPSetTile(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), 90 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON), 91 gsDPTileSync(), 92 gsDPSetTile(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_CLAMP, 5, G_TX_NOLOD), 93 gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC), 94 gsSPDisplayList(lll_seg7_dl_070177B0), 95 gsDPTileSync(), 96 gsDPSetTile(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), 97 gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC), 98 gsSPDisplayList(lll_seg7_dl_07017818), 99 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF), 100 gsDPPipeSync(), 101 gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), 102 gsSPSetGeometryMode(G_SHADING_SMOOTH), 103 gsSPEndDisplayList(), 104 };