model.inc.c (2354B)
1 // 0x0700B0D8 - 0x0700B0F0 2 static const Lights1 bbh_seg7_lights_0700B0D8 = gdSPDefLights1( 3 0x3f, 0x51, 0x66, 4 0x9e, 0xcc, 0xff, 0x28, 0x28, 0x28 5 ); 6 7 // 0x0700B0F0 - 0x0700B170 8 static const Vtx bbh_seg7_vertex_0700B0F0[] = { 9 {{{ 2662, 614, 2550}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}}, 10 {{{ 3072, 205, 2550}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}}, 11 {{{ 2662, 205, 2550}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}}, 12 {{{ 3072, 614, 2550}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 13 {{{ 2662, 1536, 2550}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}}, 14 {{{ 3072, 1126, 2550}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}}, 15 {{{ 2662, 1126, 2550}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}}, 16 {{{ 3072, 1536, 2550}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}}, 17 }; 18 19 // 0x0700B170 - 0x0700B1C8 20 static const Gfx bbh_seg7_dl_0700B170[] = { 21 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09006000), 22 gsDPLoadSync(), 23 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 24 gsSPLight(&bbh_seg7_lights_0700B0D8.l, 1), 25 gsSPLight(&bbh_seg7_lights_0700B0D8.a, 2), 26 gsSPVertex(bbh_seg7_vertex_0700B0F0, 8, 0), 27 gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0), 28 gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0), 29 gsSPEndDisplayList(), 30 }; 31 32 // 0x0700B1C8 - 0x0700B238 33 const Gfx bbh_seg7_dl_0700B1C8[] = { 34 gsDPPipeSync(), 35 gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB), 36 gsSPClearGeometryMode(G_SHADING_SMOOTH), 37 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), 38 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON), 39 gsDPTileSync(), 40 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_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD), 41 gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC), 42 gsSPDisplayList(bbh_seg7_dl_0700B170), 43 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF), 44 gsDPPipeSync(), 45 gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), 46 gsSPSetGeometryMode(G_SHADING_SMOOTH), 47 gsSPEndDisplayList(), 48 };