Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
SuperBlockContent.c File Reference

Go to the source code of this file.

Functions

 INCLUDE_IMG ("entity/model/SuperBlockContent.png", D_0A000000_E4A6A0)
 
 INCLUDE_PAL ("entity/model/SuperBlockContent.pal", D_0A000200_E4A8A0)
 
 INCLUDE_PAL ("entity/model/SuperBlockContent.pal2.pal", D_0A000220_E4A8C0)
 
 INCLUDE_PAL ("entity/model/SuperBlockContent.pal3.pal", D_0A000240_E4A8E0)
 
 INCLUDE_PAL ("entity/model/SuperBlockContent.pal4.pal", D_0A000260_E4A900)
 

Variables

Vtx Entity_SuperBlockContent_vtx []
 
Gfx Entity_SuperBlockContent_Prepare []
 
Gfx Entity_SuperBlockContent_RenderImage []
 
Gfx Entity_SuperBlockContent_Render []
 
Gfx Entity_SuperBlockContent_Render2 []
 

Function Documentation

◆ INCLUDE_IMG()

INCLUDE_IMG ( "entity/model/SuperBlockContent.png" ,
D_0A000000_E4A6A0  )

◆ INCLUDE_PAL() [1/4]

INCLUDE_PAL ( "entity/model/SuperBlockContent.pal" ,
D_0A000200_E4A8A0  )

◆ INCLUDE_PAL() [2/4]

INCLUDE_PAL ( "entity/model/SuperBlockContent.pal2.pal" ,
D_0A000220_E4A8C0  )

◆ INCLUDE_PAL() [3/4]

INCLUDE_PAL ( "entity/model/SuperBlockContent.pal3.pal" ,
D_0A000240_E4A8E0  )

◆ INCLUDE_PAL() [4/4]

INCLUDE_PAL ( "entity/model/SuperBlockContent.pal4.pal" ,
D_0A000260_E4A900  )

Variable Documentation

◆ Entity_SuperBlockContent_vtx

Vtx Entity_SuperBlockContent_vtx[]
Initial value:
= {
{{{ 13, 13, 0 }, 0, { 0, 0 }, { 255, 255, 255, 255 }}},
{{{ -13, 13, 0 }, 0, { 1024, 0 }, { 255, 255, 255, 255 }}},
{{{ -13, -13, 0 }, 0, { 1024, 1024 }, { 255, 255, 255, 255 }}},
{{{ 13, -13, 0 }, 0, { 0, 1024 }, { 255, 255, 255, 255 }}},
}

Definition at line 10 of file SuperBlockContent.c.

10 {
11 {{{ 13, 13, 0 }, 0, { 0, 0 }, { 255, 255, 255, 255 }}},
12 {{{ -13, 13, 0 }, 0, { 1024, 0 }, { 255, 255, 255, 255 }}},
13 {{{ -13, -13, 0 }, 0, { 1024, 1024 }, { 255, 255, 255, 255 }}},
14 {{{ 13, -13, 0 }, 0, { 0, 1024 }, { 255, 255, 255, 255 }}},
15};

◆ Entity_SuperBlockContent_Prepare

Gfx Entity_SuperBlockContent_Prepare[]
Initial value:
= {
gsDPSetTextureLUT(G_TT_RGBA16),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPEndDisplayList(),
}

Definition at line 17 of file SuperBlockContent.c.

17 {
18 gsDPSetTextureLUT(G_TT_RGBA16),
19 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
20 gsDPSetTextureDetail(G_TD_CLAMP),
21 gsDPSetTextureLOD(G_TL_TILE),
22 gsDPSetTexturePersp(G_TP_PERSP),
23 gsDPSetTextureFilter(G_TF_BILERP),
24 gsSPEndDisplayList(),
25};

◆ Entity_SuperBlockContent_RenderImage

Gfx Entity_SuperBlockContent_RenderImage[]
Initial value:
= {
gsDPSetCycleType(G_CYC_1CYCLE),
gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING | G_SHADING_SMOOTH),
gsSPVertex(Entity_SuperBlockContent_vtx, 4, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSPEndDisplayList(),
}
Vtx Entity_SuperBlockContent_vtx[]
Gfx Entity_SuperBlockContent_Prepare[]

Definition at line 27 of file SuperBlockContent.c.

27 {
28 gsDPSetCycleType(G_CYC_1CYCLE),
29 gsSPDisplayList(Entity_SuperBlockContent_Prepare),
30 gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING | G_SHADING_SMOOTH),
31 gsSPVertex(Entity_SuperBlockContent_vtx, 4, 0),
32 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
33 gsSPEndDisplayList(),
34};

◆ Entity_SuperBlockContent_Render

Gfx Entity_SuperBlockContent_Render[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetRenderMode(G_RM_ZB_CLD_SURF, G_RM_ZB_CLD_SURF2),
gsDPLoadTextureBlock_4b(D_0A000000_E4A6A0, G_IM_FMT_CI, 32, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPEndDisplayList(),
}
Gfx Entity_SuperBlockContent_RenderImage[]

Definition at line 36 of file SuperBlockContent.c.

36 {
37 gsDPPipeSync(),
38 gsDPSetRenderMode(G_RM_ZB_CLD_SURF, G_RM_ZB_CLD_SURF2),
39 gsDPLoadTextureBlock_4b(D_0A000000_E4A6A0, G_IM_FMT_CI, 32, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
41 gsSPEndDisplayList(),
42};

Referenced by entity_init_SuperBlockContent().

◆ Entity_SuperBlockContent_Render2

Gfx Entity_SuperBlockContent_Render2[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetRenderMode(G_RM_ZB_CLD_SURF, G_RM_ZB_CLD_SURF2),
gsDPLoadTextureBlock_4b(D_0A000000_E4A6A0, G_IM_FMT_CI, 32, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPEndDisplayList(),
}

Definition at line 44 of file SuperBlockContent.c.

44 {
45 gsDPPipeSync(),
46 gsDPSetRenderMode(G_RM_ZB_CLD_SURF, G_RM_ZB_CLD_SURF2),
47 gsDPLoadTextureBlock_4b(D_0A000000_E4A6A0, G_IM_FMT_CI, 32, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
49 gsSPEndDisplayList(),
50};

Referenced by entity_init_SuperBlockContent().