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

Go to the source code of this file.

Functions

 INCLUDE_IMG ("entity/model/HitRedBlock_face1.png", D_0A000460_E48BE0)
 
 INCLUDE_IMG ("entity/model/HitRedBlock_face2.png", D_0A000C60_E493E0)
 

Variables

unsigned char D_0A000C60_E493E0 []
 
unsigned char D_0A000460_E48BE0 []
 
Gfx Entity_HitRedBlock_RenderBlock2 []
 
Gfx Entity_HitRedBlock_RenderBlock1 []
 

Function Documentation

◆ INCLUDE_IMG() [1/2]

INCLUDE_IMG ( "entity/model/HitRedBlock_face1.png" ,
D_0A000460_E48BE0  )

◆ INCLUDE_IMG() [2/2]

INCLUDE_IMG ( "entity/model/HitRedBlock_face2.png" ,
D_0A000C60_E493E0  )

Variable Documentation

◆ D_0A000C60_E493E0

unsigned char D_0A000C60_E493E0[]
extern

◆ D_0A000460_E48BE0

unsigned char D_0A000460_E48BE0[]
extern

◆ Entity_HitRedBlock_RenderBlock2

Gfx Entity_HitRedBlock_RenderBlock2[]
Initial value:
= {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock(D_0A000C60_E493E0, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPClearGeometryMode(G_LIGHTING),
gsSPVertex(D_0A000160_E488E0, 22, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
gsSP2Triangles(20, 7, 6, 0, 20, 6, 21, 0),
gsDPPipeSync(),
gsDPSetCombineMode(PM_CC_04, PM_CC_04),
gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
gsSPEndDisplayList(),
}
unsigned char D_0A000C60_E493E0[]
#define PM_CC_04
Definition macros.h:279

Definition at line 10 of file HitRedBlock_gfx.c.

10 {
11 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
12 gsDPPipeSync(),
13 gsDPSetCycleType(G_CYC_1CYCLE),
14 gsDPSetTextureDetail(G_TD_CLAMP),
15 gsDPSetTextureLOD(G_TL_TILE),
16 gsDPLoadTextureBlock(D_0A000C60_E493E0, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
17 gsDPSetTexturePersp(G_TP_PERSP),
18 gsDPSetTextureFilter(G_TF_BILERP),
19 gsSPClearGeometryMode(G_LIGHTING),
20 gsSPVertex(D_0A000160_E488E0, 22, 0),
21 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
22 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
23 gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
24 gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
25 gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
26 gsSP2Triangles(20, 7, 6, 0, 20, 6, 21, 0),
27 gsDPPipeSync(),
28 gsDPSetCombineMode(PM_CC_04, PM_CC_04),
29 gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
30 gsSPEndDisplayList(),
31};

◆ Entity_HitRedBlock_RenderBlock1

Gfx Entity_HitRedBlock_RenderBlock1[]
Initial value:
= {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock(D_0A000460_E48BE0, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPClearGeometryMode(G_LIGHTING),
gsSPVertex(D_0A000000_E48780, 22, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
gsSP2Triangles(20, 7, 6, 0, 20, 6, 21, 0),
gsDPPipeSync(),
gsDPSetCombineMode(PM_CC_04, PM_CC_04),
gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
gsSPEndDisplayList(),
}
unsigned char D_0A000460_E48BE0[]

Definition at line 33 of file HitRedBlock_gfx.c.

33 {
34 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
35 gsDPPipeSync(),
36 gsDPSetCycleType(G_CYC_1CYCLE),
37 gsDPSetTextureDetail(G_TD_CLAMP),
38 gsDPSetTextureLOD(G_TL_TILE),
39 gsDPLoadTextureBlock(D_0A000460_E48BE0, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
40 gsDPSetTexturePersp(G_TP_PERSP),
41 gsDPSetTextureFilter(G_TF_BILERP),
42 gsSPClearGeometryMode(G_LIGHTING),
43 gsSPVertex(D_0A000000_E48780, 22, 0),
44 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
45 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
46 gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
47 gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
48 gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
49 gsSP2Triangles(20, 7, 6, 0, 20, 6, 21, 0),
50 gsDPPipeSync(),
51 gsDPSetCombineMode(PM_CC_04, PM_CC_04),
52 gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
53 gsSPEndDisplayList(),
54};