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

Go to the source code of this file.

Functions

 INCLUDE_IMG ("effects/gfx/D_09000000_353BB0.png", D_09000000_353BB0)
 
 INCLUDE_IMG ("effects/gfx/D_09000200_353DB0.png", D_09000200_353DB0)
 
 INCLUDE_IMG ("effects/gfx/D_09000400_353FB0.png", D_09000400_353FB0)
 
 INCLUDE_IMG ("effects/gfx/D_09000600_3541B0.png", D_09000600_3541B0)
 

Variables

unsigned char D_800B32E0 []
 
unsigned char D_800B3AE0 []
 
Gfx D_09000800_3543B0 []
 
Gfx D_090009E0_354590 []
 

Function Documentation

◆ INCLUDE_IMG() [1/4]

INCLUDE_IMG ( "effects/gfx/D_09000000_353BB0.png" ,
D_09000000_353BB0  )

◆ INCLUDE_IMG() [2/4]

INCLUDE_IMG ( "effects/gfx/D_09000200_353DB0.png" ,
D_09000200_353DB0  )

◆ INCLUDE_IMG() [3/4]

INCLUDE_IMG ( "effects/gfx/D_09000400_353FB0.png" ,
D_09000400_353FB0  )

◆ INCLUDE_IMG() [4/4]

INCLUDE_IMG ( "effects/gfx/D_09000600_3541B0.png" ,
D_09000600_3541B0  )

Variable Documentation

◆ D_800B32E0

unsigned char D_800B32E0[]
extern

◆ D_800B3AE0

unsigned char D_800B3AE0 ( )
extern

◆ D_09000800_3543B0

Gfx D_09000800_3543B0[]
Initial value:
= {
gsDPPipeSync(),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetCycleType(G_CYC_2CYCLE),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPSetTextureFilter(G_TF_BILERP),
gsDPSetTextureConvert(G_TC_FILT),
gsDPSetColorDither(G_CD_MAGICSQ),
gsDPSetAlphaDither(G_AD_PATTERN),
gsDPSetTextureLUT(G_TT_NONE),
gsDPSetRenderMode(G_RM_PASS, G_RM_ZB_CLD_SURF2),
gsDPLoadTextureTile(OS_K0_TO_PHYSICAL(&D_800B32E0), G_IM_FMT_I, G_IM_SIZ_8b, 32, 0, 0, 0, 31, 63, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 5, 6, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetCombineMode(PM_CC_34, PM_CC_35),
gsSPClearGeometryMode(G_CULL_BOTH | G_LIGHTING),
gsSPSetGeometryMode(G_ZBUFFER | G_SHADE | G_SHADING_SMOOTH),
gsSPEndDisplayList(),
}
unsigned char D_800B32E0[]
#define PM_CC_34
Definition macros.h:389
#define PM_CC_35
Definition macros.h:390

Definition at line 13 of file flame.c.

13 {
14 gsDPPipeSync(),
15 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
16 gsDPSetCycleType(G_CYC_2CYCLE),
17 gsDPSetTexturePersp(G_TP_PERSP),
18 gsDPSetTextureDetail(G_TD_CLAMP),
19 gsDPSetTextureLOD(G_TL_TILE),
20 gsDPSetTextureFilter(G_TF_BILERP),
21 gsDPSetTextureConvert(G_TC_FILT),
22 gsDPSetColorDither(G_CD_MAGICSQ),
23 gsDPSetAlphaDither(G_AD_PATTERN),
24 gsDPSetTextureLUT(G_TT_NONE),
25 gsDPSetRenderMode(G_RM_PASS, G_RM_ZB_CLD_SURF2),
26 gsDPLoadTextureTile(OS_K0_TO_PHYSICAL(&D_800B32E0), G_IM_FMT_I, G_IM_SIZ_8b, 32, 0, 0, 0, 31, 63, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 5, 6, G_TX_NOLOD, G_TX_NOLOD),
27 gsDPSetCombineMode(PM_CC_34, PM_CC_35),
28 gsSPClearGeometryMode(G_CULL_BOTH | G_LIGHTING),
29 gsSPSetGeometryMode(G_ZBUFFER | G_SHADE | G_SHADING_SMOOTH),
30 gsSPEndDisplayList(),
31};

◆ D_090009E0_354590

Gfx D_090009E0_354590[]

Definition at line 37 of file flame.c.

37 {
38 gsDPSetColorImage(G_IM_FMT_I, G_IM_SIZ_8b, 32, OS_K0_TO_PHYSICAL(&D_800B3AE0)),
39 gsDPSetScissor(G_SC_NON_INTERLACE, 0, 0, 32, 64),
40 gsDPSetTexturePersp(G_TP_NONE),
41 gsDPSetTextureFilter(G_TF_BILERP),
42 gsDPSetRenderMode(G_RM_PASS, G_RM_CLD_SURF2),
43 gsDPSetCombineMode(PM_CC_CONST_ALPHA_1, PM_CC_CONST_ALPHA_1),
44 gsSPTextureRectangle(0, 0, 0x0080, 0x0100, G_TX_RENDERTILE, 0, 0, 0x0400, 0x0400),
45 gsDPPipeSync(),
46 gsDPSetCombineMode(PM_CC_36, PM_CC_37),
47 gsSPTextureRectangle(0, 0, 0x0080, 0x0100, G_TX_RENDERTILE, 0, 0, 0x0400, 0x0400),
48 gsDPPipeSync(),
49 gsDPLoadTextureTile(OS_K0_TO_PHYSICAL(&D_800B3AE0), G_IM_FMT_I, G_IM_SIZ_8b, 32, 0, 0, 0, 31, 63, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 5, 6, G_TX_NOLOD, G_TX_NOLOD),
50 gsDPSetColorImage(G_IM_FMT_I, G_IM_SIZ_8b, 32, OS_K0_TO_PHYSICAL(&D_800B32E0)),
51 gsDPSetRenderMode(G_RM_OPA_SURF, G_RM_OPA_SURF2),
52 gsDPSetTextureFilter(G_TF_POINT),
53 gsDPSetCombineMode(PM_CC_38, PM_CC_39),
54 gsDPSetConvert(0, 0, 0, 0, 92, 0),
55 gsDPSetPrimColor(0, 0, 0x00, 0x00, 0x00, 0x78),
56 gsDPSetEnvColor(0x00, 0x00, 0x00, 0xA4),
57 gsDPLoadMultiTile(OS_K0_TO_PHYSICAL(&D_800B32E0), 0x0100, 1, G_IM_FMT_I, G_IM_SIZ_8b, 32, 0, 0, 0, 31, 63, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_CLAMP, 5, 6, G_TX_NOLOD, G_TX_NOLOD),
58 gsDPSetTileSize(1, 0x0004, 0, 0x007C, 0x00FC),
59 gsSPTextureRectangle(0, 0, 0x0080, 0x0100, G_TX_RENDERTILE, 0, 0, 0x0400, 0x0400),
60 gsDPPipeSync(),
61 gsDPLoadMultiTile(OS_K0_TO_PHYSICAL(&D_800B32E0), 0x0100, 1, G_IM_FMT_I, G_IM_SIZ_8b, 32, 0, 0, 0, 31, 63, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_CLAMP, 5, 6, G_TX_NOLOD, G_TX_NOLOD),
62 gsDPSetTileSize(1, 0x007C, 0, 0x007C, 0x00FC),
63 gsSPTextureRectangle(0, 0, 0x0080, 0x0100, G_TX_RENDERTILE, 0, 0, 0x0400, 0x0400),
64 gsDPPipeSync(),
65 gsDPLoadMultiTile(OS_K0_TO_PHYSICAL(&D_800B32E0), 0x0100, 1, G_IM_FMT_I, G_IM_SIZ_8b, 32, 0, 0, 0, 31, 63, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_CLAMP, 5, 6, G_TX_NOLOD, G_TX_NOLOD),
66 gsDPSetTileSize(1, 0, 0x0004, 0x007C, 0x00FC),
67 gsSPTextureRectangle(0, 0, 0x0080, 0x0100, G_TX_RENDERTILE, 0, 0, 0x0400, 0x0400),
68 gsDPPipeSync(),
69 gsSPEndDisplayList(),
70};
unsigned char D_800B3AE0[]
#define PM_CC_37
Definition macros.h:393
#define PM_CC_CONST_ALPHA_1
Definition macros.h:509
#define PM_CC_39
Definition macros.h:396
#define PM_CC_38
Definition macros.h:395
#define PM_CC_36
Definition macros.h:392

Referenced by flame_appendGfx().