model.inc.c (2426B)
1 // 0x07033068 - 0x07033080 2 static const Lights1 inside_castle_seg7_lights_07033068 = gdSPDefLights1( 3 0x5f, 0x5f, 0x5f, 4 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 5 ); 6 7 // 0x07033080 - 0x07033100 8 static const Vtx inside_castle_seg7_vertex_07033080[] = { 9 {{{ -3184, 410, -127}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}}, 10 {{{ -3184, 256, -127}, 0, { 0, 990}, {0x81, 0x00, 0x00, 0xff}}}, 11 {{{ -3184, 256, 26}, 0, { 990, 990}, {0x81, 0x00, 0x00, 0xff}}}, 12 {{{ -3184, 410, 26}, 0, { 990, 0}, {0x81, 0x00, 0x00, 0xff}}}, 13 {{{ -3184, 410, -485}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}}, 14 {{{ -3184, 256, -332}, 0, { 990, 990}, {0x81, 0x00, 0x00, 0xff}}}, 15 {{{ -3184, 410, -332}, 0, { 990, 0}, {0x81, 0x00, 0x00, 0xff}}}, 16 {{{ -3184, 256, -485}, 0, { 0, 990}, {0x81, 0x00, 0x00, 0xff}}}, 17 }; 18 19 // 0x07033100 - 0x07033158 20 static const Gfx inside_castle_seg7_dl_07033100[] = { 21 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_07003000), 22 gsDPLoadSync(), 23 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 24 gsSPLight(&inside_castle_seg7_lights_07033068.l, 1), 25 gsSPLight(&inside_castle_seg7_lights_07033068.a, 2), 26 gsSPVertex(inside_castle_seg7_vertex_07033080, 8, 0), 27 gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0), 28 gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0), 29 gsSPEndDisplayList(), 30 }; 31 32 // 0x07033158 - 0x070331C8 33 const Gfx inside_castle_seg7_dl_07033158[] = { 34 gsDPPipeSync(), 35 gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA), 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_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD), 41 gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC), 42 gsSPDisplayList(inside_castle_seg7_dl_07033100), 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 };