model.inc.c (2730B)
1 // 0x0700AD38 - 0x0700AD50 2 static const Lights1 jrb_seg7_lights_0700AD38 = gdSPDefLights1( 3 0x3f, 0x3f, 0x3f, 4 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 5 ); 6 7 // 0x0700AD50 - 0x0700ADD0 8 static const Vtx jrb_seg7_vertex_0700AD50[] = { 9 {{{ -153, 922, 154}, 0, { -796, -2076}, {0xa7, 0x0e, 0x59, 0xff}}}, 10 {{{ -153, 922, -153}, 0, { 736, -2076}, {0xa7, 0x0e, 0xa7, 0xff}}}, 11 {{{ 0, 0, 0}, 0, { 0, 990}, {0x00, 0x82, 0x00, 0xff}}}, 12 {{{ 154, 922, 154}, 0, { 736, -2076}, {0x59, 0x0e, 0x59, 0xff}}}, 13 {{{ 0, 1382, 0}, 0, { 0, -3610}, {0x00, 0x7e, 0x00, 0xff}}}, 14 {{{ -153, 922, -153}, 0, { -796, -2076}, {0xa7, 0x0e, 0xa7, 0xff}}}, 15 {{{ 154, 922, -153}, 0, { 736, -2076}, {0x59, 0x0e, 0xa7, 0xff}}}, 16 {{{ 154, 922, 154}, 0, { -796, -2076}, {0x59, 0x0e, 0x59, 0xff}}}, 17 }; 18 19 // 0x0700ADD0 - 0x0700AE48 20 static const Gfx jrb_seg7_dl_0700ADD0[] = { 21 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_09001800), 22 gsDPLoadSync(), 23 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)), 24 gsSPLight(&jrb_seg7_lights_0700AD38.l, 1), 25 gsSPLight(&jrb_seg7_lights_0700AD38.a, 2), 26 gsSPVertex(jrb_seg7_vertex_0700AD50, 8, 0), 27 gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 0, 0x0), 28 gsSP2Triangles( 5, 4, 6, 0x0, 6, 4, 7, 0x0), 29 gsSP2Triangles( 4, 1, 0, 0x0, 2, 5, 6, 0x0), 30 gsSP2Triangles( 7, 2, 6, 0x0, 3, 0, 2, 0x0), 31 gsSPEndDisplayList(), 32 }; 33 34 // 0x0700AE48 - 0x0700AEF0 35 const Gfx jrb_seg7_dl_0700AE48[] = { 36 gsDPPipeSync(), 37 gsDPSetCycleType(G_CYC_2CYCLE), 38 gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2), 39 gsDPSetDepthSource(G_ZS_PIXEL), 40 gsDPSetFogColor(5, 80, 75, 255), 41 gsSPFogPosition(900, 1000), 42 gsSPSetGeometryMode(G_FOG), 43 gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_PASS2), 44 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), 45 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON), 46 gsDPTileSync(), 47 gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD), 48 gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC), 49 gsSPDisplayList(jrb_seg7_dl_0700ADD0), 50 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF), 51 gsDPPipeSync(), 52 gsDPSetCycleType(G_CYC_1CYCLE), 53 gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2), 54 gsSPClearGeometryMode(G_FOG), 55 gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), 56 gsSPEndDisplayList(), 57 };