mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-28 23:13:02 +00:00
56 lines
2.3 KiB
C
56 lines
2.3 KiB
C
// Mist
|
|
|
|
// 0x03000000
|
|
static const Vtx mist_seg3_vertex_03000000[] = {
|
|
{{{ -25, -25, 0}, 0, { 0, 992}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 25, -25, 0}, 0, { 992, 992}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 25, 25, 0}, 0, { 992, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -25, 25, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x03000040
|
|
static const Vtx mist_seg3_vertex_03000040[] = {
|
|
{{{ -25, -25, 0}, 0, { 0, 992}, {0x22, 0x1a, 0x1c, 0xff}}},
|
|
{{{ 25, -25, 0}, 0, { 992, 992}, {0x22, 0x1a, 0x1c, 0xff}}},
|
|
{{{ 25, 25, 0}, 0, { 992, 0}, {0x22, 0x1a, 0x1c, 0xff}}},
|
|
{{{ -25, 25, 0}, 0, { 0, 0}, {0x22, 0x1a, 0x1c, 0xff}}},
|
|
};
|
|
|
|
// 0x03000080
|
|
ALIGNED8 const Texture mist_seg3_texture_03000080[] = {
|
|
#include "actors/mist/mist.ia16.inc.c"
|
|
};
|
|
|
|
// 0x03000880 - 0x03000920
|
|
const Gfx mist_seg3_dl_03000880[] = {
|
|
gsDPPipeSync(),
|
|
gsSPClearGeometryMode(G_LIGHTING),
|
|
gsDPSetCombineMode(G_CC_MODULATEIFADEA, G_CC_MODULATEIFADEA),
|
|
gsDPLoadTextureBlock(mist_seg3_texture_03000080, G_IM_FMT_IA, G_IM_SIZ_16b, 32, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
|
|
gsSPVertex(mist_seg3_vertex_03000000, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsDPSetEnvColor(255, 255, 255, 255),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x03000920 - 0x030009C0
|
|
const Gfx mist_seg3_dl_03000920[] = {
|
|
gsDPPipeSync(),
|
|
gsSPClearGeometryMode(G_LIGHTING),
|
|
gsDPSetCombineMode(G_CC_MODULATEIFADEA, G_CC_MODULATEIFADEA),
|
|
gsDPLoadTextureBlock(mist_seg3_texture_03000080, G_IM_FMT_IA, G_IM_SIZ_16b, 32, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
|
|
gsSPVertex(mist_seg3_vertex_03000040, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsDPSetEnvColor(255, 255, 255, 255),
|
|
gsSPEndDisplayList(),
|
|
};
|