sm64coopdx/actors/mist/model.inc.c

46 lines
1.8 KiB
C
Raw Normal View History

#include "pc/rom_assets.h"
2019-11-03 20:36:27 +01:00
// Mist
// 0x03000000
ROM_ASSET_LOAD_VTX(mist_seg3_vertex_03000000, 0x00201410, 96653, 0x00000000, 64);
2019-11-03 20:36:27 +01:00
// 0x03000040
ROM_ASSET_LOAD_VTX(mist_seg3_vertex_03000040, 0x00201410, 96653, 0x00000040, 64);
2019-11-03 20:36:27 +01:00
// 0x03000080
ROM_ASSET_LOAD_TEXTURE(mist_seg3_texture_03000080, "actors/mist/mist.ia16.inc.c", 0x00201410, 96653, 0x00000080, 2048);
2019-11-03 20:36:27 +01:00
// 0x03000880 - 0x03000920
const Gfx mist_seg3_dl_03000880[] = {
gsDPPipeSync(),
gsSPClearGeometryMode(G_LIGHTING),
2019-12-02 03:52:53 +01:00
gsDPSetCombineMode(G_CC_MODULATEIFADEA, G_CC_MODULATEIFADEA),
2019-11-03 20:36:27 +01:00
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),
2019-12-02 03:52:53 +01:00
gsDPSetCombineMode(G_CC_MODULATEIFADEA, G_CC_MODULATEIFADEA),
2019-11-03 20:36:27 +01:00
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(),
};