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

Go to the source code of this file.

Functions

 INCLUDE_IMG ("entity/model/StarBoxLauncher_link.png", D_0A000290_E55CD0)
 
 INCLUDE_IMG ("entity/model/StarBoxLauncher_face.png", D_0A000508_E55F48)
 
 INCLUDE_PAL ("entity/model/StarBoxLauncher_face.pal", D_0A000D08_E56748)
 
 INCLUDE_IMG ("entity/model/StarBoxLauncher_box.png", D_0A000DD0_E56810)
 
 INCLUDE_PAL ("entity/model/StarBoxLauncher_box.pal", D_0A000ED0_E56910)
 

Variables

Gfx Entity_StarBoxLauncher_LoadTextureLink []
 
Gfx Entity_StarBoxLauncher_LoadTextureFace []
 
Gfx Entity_StarBoxLauncher_LoadTextureBox []
 
Mtx Entity_StarBoxLauncher_mtx
 
Gfx Entity_StarBoxLauncher_RenderChain []
 
Gfx Entity_StarBoxLauncher_RenderFace []
 
Gfx Entity_StarBoxLauncher_RenderBoxCover []
 
Gfx Entity_StarBoxLauncher_RenderTop []
 
Gfx Entity_StarBoxLauncher_RenderBox []
 
Gfx Entity_StarBoxLauncher_RenderBottom []
 

Function Documentation

◆ INCLUDE_IMG() [1/3]

INCLUDE_IMG ( "entity/model/StarBoxLauncher_link.png" ,
D_0A000290_E55CD0  )

◆ INCLUDE_IMG() [2/3]

INCLUDE_IMG ( "entity/model/StarBoxLauncher_face.png" ,
D_0A000508_E55F48  )

◆ INCLUDE_PAL() [1/2]

INCLUDE_PAL ( "entity/model/StarBoxLauncher_face.pal" ,
D_0A000D08_E56748  )

◆ INCLUDE_IMG() [3/3]

INCLUDE_IMG ( "entity/model/StarBoxLauncher_box.png" ,
D_0A000DD0_E56810  )

◆ INCLUDE_PAL() [2/2]

INCLUDE_PAL ( "entity/model/StarBoxLauncher_box.pal" ,
D_0A000ED0_E56910  )

Variable Documentation

◆ Entity_StarBoxLauncher_LoadTextureLink

Gfx Entity_StarBoxLauncher_LoadTextureLink[]
Initial value:
= {
gsDPSetTextureLUT(G_TT_NONE),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock(D_0A000290_E55CD0, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 4, 4, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPEndDisplayList(),
}

Definition at line 10 of file StarBoxLauncher.c.

10 {
11 gsDPSetTextureLUT(G_TT_NONE),
12 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
13 gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
14 gsDPSetTextureDetail(G_TD_CLAMP),
15 gsDPSetTextureLOD(G_TL_TILE),
16 gsDPLoadTextureBlock(D_0A000290_E55CD0, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 4, 4, G_TX_NOLOD, G_TX_NOLOD),
17 gsDPSetTexturePersp(G_TP_PERSP),
18 gsDPSetTextureFilter(G_TF_BILERP),
19 gsSPEndDisplayList(),
20};

◆ Entity_StarBoxLauncher_LoadTextureFace

Gfx Entity_StarBoxLauncher_LoadTextureFace[]
Initial value:
= {
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, D_0A000D08_E56748),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock_4b(D_0A000508_E55F48, G_IM_FMT_CI, 128, 32, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, 7, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPEndDisplayList(),
}
unsigned char D_0A000508_E55F48[]
unsigned char D_0A000D08_E56748[]

Definition at line 24 of file StarBoxLauncher.c.

24 {
25 gsDPSetTextureLUT(G_TT_RGBA16),
26 gsDPLoadTLUT_pal16(0, D_0A000D08_E56748),
27 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
28 gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
29 gsDPSetTextureDetail(G_TD_CLAMP),
30 gsDPSetTextureLOD(G_TL_TILE),
31 gsDPLoadTextureBlock_4b(D_0A000508_E55F48, G_IM_FMT_CI, 128, 32, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, 7, 5, G_TX_NOLOD, G_TX_NOLOD),
32 gsDPSetTexturePersp(G_TP_PERSP),
33 gsDPSetTextureFilter(G_TF_BILERP),
34 gsSPEndDisplayList(),
35};

◆ Entity_StarBoxLauncher_LoadTextureBox

Gfx Entity_StarBoxLauncher_LoadTextureBox[]
Initial value:
= {
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, D_0A000ED0_E56910),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock_4b(D_0A000DD0_E56810, G_IM_FMT_CI, 16, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 4, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPEndDisplayList(),
}

Definition at line 39 of file StarBoxLauncher.c.

39 {
40 gsDPSetTextureLUT(G_TT_RGBA16),
41 gsDPLoadTLUT_pal16(0, D_0A000ED0_E56910),
42 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
43 gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
44 gsDPSetTextureDetail(G_TD_CLAMP),
45 gsDPSetTextureLOD(G_TL_TILE),
46 gsDPLoadTextureBlock_4b(D_0A000DD0_E56810, G_IM_FMT_CI, 16, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 4, 5, G_TX_NOLOD, G_TX_NOLOD),
47 gsDPSetTexturePersp(G_TP_PERSP),
48 gsDPSetTextureFilter(G_TF_BILERP),
49 gsSPEndDisplayList(),
50};

◆ Entity_StarBoxLauncher_mtx

Mtx Entity_StarBoxLauncher_mtx
Initial value:
1.000000, 0.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000,
0.000000, 0.000000, 1.000000, 0.000000,
0.000000, 0.000000, 0.000000, 1.000000
)
#define RDP_MATRIX( Ax, Bx, Cx, Dx, Ay, By, Cy, Dy, Az, Bz, Cz, Dz, Aw, Bw, Cw, Dw)
Definition macros.h:233

Definition at line 52 of file StarBoxLauncher.c.

◆ Entity_StarBoxLauncher_RenderChain

Gfx Entity_StarBoxLauncher_RenderChain[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE2),
gsSPClearGeometryMode(G_LIGHTING | G_SHADING_SMOOTH),
gsSPSetGeometryMode(G_CULL_BACK),
gsSPVertex(D_0A000250_E55C90, 4, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSPEndDisplayList(),
}
Gfx Entity_StarBoxLauncher_LoadTextureLink[]

Definition at line 59 of file StarBoxLauncher.c.

59 {
60 gsDPPipeSync(),
61 gsDPSetCycleType(G_CYC_1CYCLE),
62 gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE2),
64 gsSPClearGeometryMode(G_LIGHTING | G_SHADING_SMOOTH),
65 gsSPSetGeometryMode(G_CULL_BACK),
66 gsSPVertex(D_0A000250_E55C90, 4, 0),
67 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
68 gsSPEndDisplayList(),
69};

◆ Entity_StarBoxLauncher_RenderFace

Gfx Entity_StarBoxLauncher_RenderFace[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE2),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(D_0A000210_E55C50, 4, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSPEndDisplayList(),
}

Definition at line 71 of file StarBoxLauncher.c.

71 {
72 gsDPPipeSync(),
73 gsDPSetCycleType(G_CYC_1CYCLE),
74 gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE2),
75 gsSPClearGeometryMode(G_LIGHTING),
76 gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
77 gsSPVertex(D_0A000210_E55C50, 4, 0),
78 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
79 gsSPEndDisplayList(),
80};

◆ Entity_StarBoxLauncher_RenderBoxCover

Gfx Entity_StarBoxLauncher_RenderBoxCover[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPVertex(D_0A0000F0_E55B30, 18, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(3, 2, 4, 0, 3, 4, 5, 0),
gsSP2Triangles(6, 7, 8, 0, 6, 8, 9, 0),
gsSP2Triangles(10, 11, 12, 0, 10, 12, 13, 0),
gsSP2Triangles(14, 15, 16, 0, 14, 16, 17, 0),
gsSPEndDisplayList(),
}
Gfx Entity_StarBoxLauncher_LoadTextureBox[]

Definition at line 82 of file StarBoxLauncher.c.

82 {
83 gsDPPipeSync(),
84 gsDPSetCycleType(G_CYC_1CYCLE),
85 gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
87 gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
88 gsSPSetGeometryMode(G_SHADING_SMOOTH),
89 gsSPVertex(D_0A0000F0_E55B30, 18, 0),
90 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
91 gsSP2Triangles(3, 2, 4, 0, 3, 4, 5, 0),
92 gsSP2Triangles(6, 7, 8, 0, 6, 8, 9, 0),
93 gsSP2Triangles(10, 11, 12, 0, 10, 12, 13, 0),
94 gsSP2Triangles(14, 15, 16, 0, 14, 16, 17, 0),
95 gsSPEndDisplayList(),
96};

◆ Entity_StarBoxLauncher_RenderTop

Gfx Entity_StarBoxLauncher_RenderTop[]
Initial value:
= {
gsSPEndDisplayList(),
}
Gfx Entity_StarBoxLauncher_RenderChain[]
Gfx Entity_StarBoxLauncher_RenderFace[]
Gfx Entity_StarBoxLauncher_RenderBoxCover[]

Definition at line 98 of file StarBoxLauncher.c.

98 {
99 gsSPDisplayList(Entity_StarBoxLauncher_RenderFace),
101 gsSPDisplayList(Entity_StarBoxLauncher_RenderChain),
102 gsSPEndDisplayList(),
103};

◆ Entity_StarBoxLauncher_RenderBox

Gfx Entity_StarBoxLauncher_RenderBox[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPVertex(D_0A000000_E55A40, 15, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
gsSP2Triangles(7, 8, 9, 0, 7, 9, 10, 0),
gsSP2Triangles(11, 12, 13, 0, 11, 13, 14, 0),
gsSPEndDisplayList(),
}

Definition at line 105 of file StarBoxLauncher.c.

105 {
106 gsDPPipeSync(),
107 gsDPSetCycleType(G_CYC_1CYCLE),
108 gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
110 gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
111 gsSPSetGeometryMode(G_SHADING_SMOOTH),
112 gsSPVertex(D_0A000000_E55A40, 15, 0),
113 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
114 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
115 gsSP2Triangles(7, 8, 9, 0, 7, 9, 10, 0),
116 gsSP2Triangles(11, 12, 13, 0, 11, 13, 14, 0),
117 gsSPEndDisplayList(),
118};

◆ Entity_StarBoxLauncher_RenderBottom

Gfx Entity_StarBoxLauncher_RenderBottom[]
Initial value:
= {
gsSPEndDisplayList(),
}
Gfx Entity_StarBoxLauncher_RenderBox[]

Definition at line 120 of file StarBoxLauncher.c.

120 {
121 gsSPDisplayList(Entity_StarBoxLauncher_RenderBox),
122 gsSPEndDisplayList(),
123};

Referenced by entity_StarBoxLauncher_setupGfx().