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

Go to the source code of this file.

Functions

 INCLUDE_IMG ("entity/model/HitYellowBlock_face1.png", D_0A000420_E45E10)
 
 INCLUDE_IMG ("entity/model/HitYellowBlock_face2.png", D_0A000C20_E46610)
 

Variables

unsigned char D_0A000420_E45E10 []
 
unsigned char D_0A000C20_E46610 []
 
Gfx Entity_HitYellowBlock_RenderBlock2 []
 
Gfx Entity_HitYellowBlock_RenderBlock1 []
 

Function Documentation

◆ INCLUDE_IMG() [1/2]

INCLUDE_IMG ( "entity/model/HitYellowBlock_face1.png" ,
D_0A000420_E45E10  )

◆ INCLUDE_IMG() [2/2]

INCLUDE_IMG ( "entity/model/HitYellowBlock_face2.png" ,
D_0A000C20_E46610  )

Variable Documentation

◆ D_0A000420_E45E10

unsigned char D_0A000420_E45E10[]
extern

◆ D_0A000C20_E46610

unsigned char D_0A000C20_E46610[]
extern

◆ Entity_HitYellowBlock_RenderBlock2

Gfx Entity_HitYellowBlock_RenderBlock2[]
Initial value:
= {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPLoadTextureBlock(D_0A000C20_E46610, 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),
gsSPClearGeometryMode(G_LIGHTING),
gsSPVertex(D_0A000160_E45B50, 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_0A000C20_E46610[]
#define PM_CC_04
Definition macros.h:279

Definition at line 10 of file HitYellowBlock_gfx.c.

10 {
11 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
12 gsDPPipeSync(),
13 gsDPSetCycleType(G_CYC_1CYCLE),
14 gsDPLoadTextureBlock(D_0A000C20_E46610, 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),
15 gsSPClearGeometryMode(G_LIGHTING),
16 gsSPVertex(D_0A000160_E45B50, 22, 0),
17 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
18 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
19 gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
20 gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
21 gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
22 gsSP2Triangles(20, 7, 6, 0, 20, 6, 21, 0),
23 gsDPPipeSync(),
24 gsDPSetCombineMode(PM_CC_04, PM_CC_04),
25 gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
26 gsSPEndDisplayList(),
27};

◆ Entity_HitYellowBlock_RenderBlock1

Gfx Entity_HitYellowBlock_RenderBlock1[]
Initial value:
= {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPLoadTextureBlock(D_0A000420_E45E10, 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),
gsSPClearGeometryMode(G_LIGHTING),
gsSPVertex(D_0A000000_E459F0, 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_0A000420_E45E10[]

Definition at line 29 of file HitYellowBlock_gfx.c.

29 {
30 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
31 gsDPPipeSync(),
32 gsDPSetCycleType(G_CYC_1CYCLE),
33 gsDPLoadTextureBlock(D_0A000420_E45E10, 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),
34 gsSPClearGeometryMode(G_LIGHTING),
35 gsSPVertex(D_0A000000_E459F0, 22, 0),
36 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
37 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
38 gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
39 gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
40 gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
41 gsSP2Triangles(20, 7, 6, 0, 20, 6, 21, 0),
42 gsDPPipeSync(),
43 gsDPSetCombineMode(PM_CC_04, PM_CC_04),
44 gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
45 gsSPEndDisplayList(),
46};