sm64pc/levels/castle_inside/areas/2/6/model.inc.c

52 lines
2.4 KiB
C
Raw Normal View History

2019-11-03 19:36:27 +00:00
// 0x0704A1B8 - 0x0704A1C0
static const Ambient inside_castle_seg7_light_0704A1B8 = {
{{0x3d, 0x3d, 0x3f}, 0, {0x3d, 0x3d, 0x3f}, 0}
};
// 0x0704A1C0 - 0x0704A1D0
static const Light inside_castle_seg7_light_0704A1C0 = {
{{0xf5, 0xf5, 0xff}, 0, {0xf5, 0xf5, 0xff}, 0, {0x28, 0x28, 0x28}, 0}
};
// 0x0704A1D0 - 0x0704A290
static const Vtx inside_castle_seg7_vertex_0704A1D0[] = {
{{{ 4332, 1408, 3415}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 4332, 2125, 2647}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 4332, 1408, 2647}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 4332, 2125, 3415}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 4332, 1408, 1008}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 4332, 2125, 240}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 4332, 1408, 240}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 4332, 2125, 1008}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 4332, 1408, 2493}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 4332, 2125, 1162}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 4332, 1408, 1162}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 4332, 2125, 2493}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
};
// 0x0704A290 - 0x0704A2E0
static const Gfx inside_castle_seg7_dl_0704A290[] = {
gsSPLight(&inside_castle_seg7_light_0704A1C0, 1),
gsSPLight(&inside_castle_seg7_light_0704A1B8, 2),
gsSPVertex(inside_castle_seg7_vertex_0704A1D0, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
gsSPEndDisplayList(),
};
// 0x0704A2E0 - 0x0704A368
const Gfx inside_castle_seg7_dl_0704A2E0[] = {
gsDPPipeSync(),
gsSPSetGeometryMode(G_TEXTURE_GEN),
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
gsDPLoadTextureBlock(inside_castle_seg7_texture_0700A000, G_IM_FMT_IA, G_IM_SIZ_16b, 32, 32, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPTexture(0x07C0, 0x07C0, 0, G_TX_RENDERTILE, G_ON),
gsSPDisplayList(inside_castle_seg7_dl_0704A290),
gsSPTexture(0x07C0, 0x07C0, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsSPClearGeometryMode(G_TEXTURE_GEN),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList(),
};