model.inc.c (1811B)
1 // Smoke 2 3 // 0x05007280 4 static const Vtx smoke_seg5_vertex_05007280[] = { 5 {{{ 26, 26, 0}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}}, 6 {{{ -25, 26, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}}, 7 {{{ -25, -25, 0}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}}, 8 {{{ 26, -25, 0}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}}, 9 }; 10 11 // 0x050072C0 12 ALIGNED8 static const Texture smoke_seg5_texture_050072C0[] = { 13 #include "actors/smoke/smoke.ia16.inc.c" 14 }; 15 16 // 0x05007AC0 - 0x05007AF8 17 const Gfx smoke_seg5_dl_05007AC0[] = { 18 gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, smoke_seg5_texture_050072C0), 19 gsDPLoadSync(), 20 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 21 gsSPVertex(smoke_seg5_vertex_05007280, 4, 0), 22 gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0), 23 gsSPEndDisplayList(), 24 }; 25 26 // 0x05007AF8 - 0x05007B68 27 const Gfx smoke_seg5_dl_05007AF8[] = { 28 gsDPPipeSync(), 29 gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA), 30 gsSPClearGeometryMode(G_LIGHTING), 31 gsDPSetTile(G_IM_FMT_IA, 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), 32 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON), 33 gsDPTileSync(), 34 gsDPSetTile(G_IM_FMT_IA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD), 35 gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC), 36 gsSPDisplayList(smoke_seg5_dl_05007AC0), 37 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF), 38 gsDPPipeSync(), 39 gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), 40 gsSPSetGeometryMode(G_LIGHTING), 41 gsSPEndDisplayList(), 42 };