model.inc.c (4072B)
1 // Explosion 2 3 // 0x030009C8 4 static const Vtx explosion_seg3_vertex_030009C8[] = { 5 {{{ -128, -128, 0}, 0, { 0, 992}, {0xff, 0xff, 0xff, 0xff}}}, 6 {{{ 128, -128, 0}, 0, { 992, 992}, {0xff, 0xff, 0xff, 0xff}}}, 7 {{{ 128, 128, 0}, 0, { 992, 0}, {0xff, 0xff, 0xff, 0xff}}}, 8 {{{ -128, 128, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}}, 9 }; 10 11 // 0x03000A08 12 ALIGNED8 static const Texture explosion_seg3_texture_03000A08[] = { 13 #include "actors/explosion/explosion_0.rgba16.inc.c" 14 }; 15 16 // 0x03001208 17 ALIGNED8 static const Texture explosion_seg3_texture_03001208[] = { 18 #include "actors/explosion/explosion_1.rgba16.inc.c" 19 }; 20 21 // 0x03001A08 22 ALIGNED8 static const Texture explosion_seg3_texture_03001A08[] = { 23 #include "actors/explosion/explosion_2.rgba16.inc.c" 24 }; 25 26 // 0x03002208 27 ALIGNED8 static const Texture explosion_seg3_texture_03002208[] = { 28 #include "actors/explosion/explosion_3.rgba16.inc.c" 29 }; 30 31 // 0x03002A08 32 ALIGNED8 static const Texture explosion_seg3_texture_03002A08[] = { 33 #include "actors/explosion/explosion_4.rgba16.inc.c" 34 }; 35 36 // 0x03003208 37 ALIGNED8 static const Texture explosion_seg3_texture_03003208[] = { 38 #include "actors/explosion/explosion_5.rgba16.inc.c" 39 }; 40 41 // 0x03003A08 42 ALIGNED8 static const Texture explosion_seg3_texture_03003A08[] = { 43 #include "actors/explosion/explosion_6.rgba16.inc.c" 44 }; 45 46 // 0x03004208 - 0x03004298 47 const Gfx explosion_seg3_dl_03004208[] = { 48 gsDPSetCombineMode(G_CC_DECALFADEA, G_CC_DECALFADEA), 49 gsDPSetEnvColor(255, 255, 255, 150), 50 gsSPClearGeometryMode(G_LIGHTING), 51 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON), 52 gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD), 53 gsDPLoadSync(), 54 gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), 55 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), 56 gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC), 57 gsSPVertex(explosion_seg3_vertex_030009C8, 4, 0), 58 gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0), 59 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF), 60 gsDPPipeSync(), 61 gsSPSetGeometryMode(G_LIGHTING), 62 gsDPSetEnvColor(255, 255, 255, 255), 63 gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), 64 gsSPEndDisplayList(), 65 }; 66 67 // 0x03004298 - 0x030042B0 68 const Gfx explosion_seg3_dl_03004298[] = { 69 gsDPPipeSync(), 70 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, explosion_seg3_texture_03000A08), 71 gsSPBranchList(explosion_seg3_dl_03004208), 72 }; 73 74 // 0x030042B0 - 0x030042C8 75 const Gfx explosion_seg3_dl_030042B0[] = { 76 gsDPPipeSync(), 77 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, explosion_seg3_texture_03001208), 78 gsSPBranchList(explosion_seg3_dl_03004208), 79 }; 80 81 // 0x030042C8 - 0x030042E0 82 const Gfx explosion_seg3_dl_030042C8[] = { 83 gsDPPipeSync(), 84 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, explosion_seg3_texture_03001A08), 85 gsSPBranchList(explosion_seg3_dl_03004208), 86 }; 87 88 // 0x030042E0 - 0x030042F8 89 const Gfx explosion_seg3_dl_030042E0[] = { 90 gsDPPipeSync(), 91 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, explosion_seg3_texture_03002208), 92 gsSPBranchList(explosion_seg3_dl_03004208), 93 }; 94 95 // 0x030042F8 - 0x03004310 96 const Gfx explosion_seg3_dl_030042F8[] = { 97 gsDPPipeSync(), 98 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, explosion_seg3_texture_03002A08), 99 gsSPBranchList(explosion_seg3_dl_03004208), 100 }; 101 102 // 0x03004310 - 0x03004328 103 const Gfx explosion_seg3_dl_03004310[] = { 104 gsDPPipeSync(), 105 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, explosion_seg3_texture_03003208), 106 gsSPBranchList(explosion_seg3_dl_03004208), 107 }; 108 109 // 0x03004328 - 0x03004340 110 const Gfx explosion_seg3_dl_03004328[] = { 111 gsDPPipeSync(), 112 gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, explosion_seg3_texture_03003A08), 113 gsSPBranchList(explosion_seg3_dl_03004208), 114 };