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

Go to the source code of this file.

Functions

 INCLUDE_IMG ("entity/model/BlueWarpPipe_texBase.png", D_0A000320_E58FF0)
 
 INCLUDE_PAL ("entity/model/BlueWarpPipe_texBase.pal", D_0A0003A0_E59070)
 
 INCLUDE_IMG ("entity/model/BlueWarpPipe_texPipe.png", D_0A000470_E59140)
 
 INCLUDE_PAL ("entity/model/BlueWarpPipe_texPipe.pal", D_0A000570_E59240)
 

Variables

Gfx Entity_BlueWarpPipe_LoadTextureBase []
 
Gfx Entity_BlueWarpPipe_LoadTexturePipe []
 
Mtx Entity_BlueWarpPipe_mtx
 
Gfx Entity_BlueWarpPipe_RenderBase []
 
Gfx Entity_BlueWarpPipe_RenderPipe []
 

Function Documentation

◆ INCLUDE_IMG() [1/2]

INCLUDE_IMG ( "entity/model/BlueWarpPipe_texBase.png" ,
D_0A000320_E58FF0  )

◆ INCLUDE_PAL() [1/2]

INCLUDE_PAL ( "entity/model/BlueWarpPipe_texBase.pal" ,
D_0A0003A0_E59070  )

◆ INCLUDE_IMG() [2/2]

INCLUDE_IMG ( "entity/model/BlueWarpPipe_texPipe.png" ,
D_0A000470_E59140  )

◆ INCLUDE_PAL() [2/2]

INCLUDE_PAL ( "entity/model/BlueWarpPipe_texPipe.pal" ,
D_0A000570_E59240  )

Variable Documentation

◆ Entity_BlueWarpPipe_LoadTextureBase

Gfx Entity_BlueWarpPipe_LoadTextureBase[]
Initial value:
= {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPPipeSync(),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock_4b(D_0A000320_E58FF0, G_IM_FMT_CI, 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),
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, D_0A0003A0_E59070),
gsDPSetTextureFilter(G_TF_BILERP),
gsDPSetTextureConvert(G_TC_FILT),
gsSPEndDisplayList(),
}

Definition at line 10 of file BlueWarpPipe.c.

10 {
11 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
12 gsDPPipeSync(),
13 gsDPSetTextureDetail(G_TD_CLAMP),
14 gsDPSetTextureLOD(G_TL_TILE),
15 gsDPLoadTextureBlock_4b(D_0A000320_E58FF0, G_IM_FMT_CI, 16, 16, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 4, 4, G_TX_NOLOD, G_TX_NOLOD),
16 gsDPSetTexturePersp(G_TP_PERSP),
17 gsDPSetTextureLUT(G_TT_RGBA16),
18 gsDPLoadTLUT_pal16(0, D_0A0003A0_E59070),
19 gsDPSetTextureFilter(G_TF_BILERP),
20 gsDPSetTextureConvert(G_TC_FILT),
21 gsSPEndDisplayList(),
22};

◆ Entity_BlueWarpPipe_LoadTexturePipe

Gfx Entity_BlueWarpPipe_LoadTexturePipe[]
Initial value:
= {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPPipeSync(),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock_4b(D_0A000470_E59140, G_IM_FMT_CI, 32, 16, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_CLAMP, 5, 4, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, D_0A000570_E59240),
gsDPSetTextureFilter(G_TF_BILERP),
gsDPSetTextureConvert(G_TC_FILT),
gsSPEndDisplayList(),
}

Definition at line 26 of file BlueWarpPipe.c.

26 {
27 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
28 gsDPPipeSync(),
29 gsDPSetTextureDetail(G_TD_CLAMP),
30 gsDPSetTextureLOD(G_TL_TILE),
31 gsDPLoadTextureBlock_4b(D_0A000470_E59140, G_IM_FMT_CI, 32, 16, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_CLAMP, 5, 4, G_TX_NOLOD, G_TX_NOLOD),
32 gsDPSetTexturePersp(G_TP_PERSP),
33 gsDPSetTextureLUT(G_TT_RGBA16),
34 gsDPLoadTLUT_pal16(0, D_0A000570_E59240),
35 gsDPSetTextureFilter(G_TF_BILERP),
36 gsDPSetTextureConvert(G_TC_FILT),
37 gsSPEndDisplayList(),
38};

◆ Entity_BlueWarpPipe_mtx

Mtx Entity_BlueWarpPipe_mtx
Initial value:
1.000000, 0.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, -55.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 40 of file BlueWarpPipe.c.

◆ Entity_BlueWarpPipe_RenderBase

Gfx Entity_BlueWarpPipe_RenderBase[]
Initial value:
= {
gsDPPipeSync(),
gsSPClearGeometryMode(G_LIGHTING | G_SHADING_SMOOTH),
gsSPClearGeometryMode(G_CULL_BACK),
gsSPVertex(D_0A0002E0_E58FB0, 4, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSPEndDisplayList(),
}
Gfx Entity_BlueWarpPipe_LoadTextureBase[]

Definition at line 47 of file BlueWarpPipe.c.

47 {
48 gsDPPipeSync(),
50 gsSPClearGeometryMode(G_LIGHTING | G_SHADING_SMOOTH),
51 gsSPClearGeometryMode(G_CULL_BACK),
52 gsSPVertex(D_0A0002E0_E58FB0, 4, 0),
53 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
54 gsSPEndDisplayList(),
55};

Referenced by entity_BlueWarpPipe_setupGfx().

◆ Entity_BlueWarpPipe_RenderPipe

Gfx Entity_BlueWarpPipe_RenderPipe[]

Definition at line 57 of file BlueWarpPipe.c.

57 {
58 gsDPPipeSync(),
59 gsSPTexture(0x0080, 0x0080, 0, G_TX_RENDERTILE, G_OFF),
60 gsSPClearGeometryMode(G_LIGHTING),
61 gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
62 gsSPVertex(D_0A000000_E58CD0, 6, 0),
63 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
64 gsSP2Triangles(0, 3, 4, 0, 0, 4, 5, 0),
66 gsSPVertex(D_0A000060_E58D30, 30, 0),
67 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
68 gsSP2Triangles(4, 5, 1, 0, 4, 1, 0, 0),
69 gsSP2Triangles(3, 2, 6, 0, 3, 6, 7, 0),
70 gsSP2Triangles(8, 9, 7, 0, 8, 7, 6, 0),
71 gsSP2Triangles(10, 11, 12, 0, 10, 12, 13, 0),
72 gsSP2Triangles(13, 12, 14, 0, 13, 14, 15, 0),
73 gsSP2Triangles(15, 14, 16, 0, 15, 16, 17, 0),
74 gsSP2Triangles(17, 16, 18, 0, 17, 18, 19, 0),
75 gsSP2Triangles(20, 21, 5, 0, 20, 5, 4, 0),
76 gsSP2Triangles(9, 8, 21, 0, 9, 21, 20, 0),
77 gsSP2Triangles(22, 23, 24, 0, 22, 24, 25, 0),
78 gsSP2Triangles(25, 24, 26, 0, 25, 26, 27, 0),
79 gsSP2Triangles(27, 26, 28, 0, 27, 28, 29, 0),
80 gsSPVertex(&D_0A000060_E58D30[10], 2, 0),
81 gsSPVertex(&D_0A000060_E58D30[22], 2, 2),
82 gsSPVertex(&D_0A000060_E58D30[30], 10, 4),
83 gsSP2Triangles(4, 9, 10, 0, 4, 10, 6, 0),
84 gsSP2Triangles(5, 11, 9, 0, 5, 9, 4, 0),
85 gsSP2Triangles(6, 10, 3, 0, 6, 3, 2, 0),
86 gsSP2Triangles(7, 12, 13, 0, 7, 13, 8, 0),
87 gsSP2Triangles(8, 13, 1, 0, 8, 1, 0, 0),
88 gsSPEndDisplayList(),
89};
Gfx Entity_BlueWarpPipe_LoadTexturePipe[]