Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
InertRedBlock.c
Go to the documentation of this file.
1
#include "common.h"
2
#include "
include_asset.h
"
3
4
#include "entity/model/InertRedBlock_1.vtx.inc.c"
5
#include "entity/model/InertRedBlock_2.vtx.inc.c"
6
7
INCLUDE_IMG
(
"entity/model/InertRedBlock_face.png"
,
D_0A000180_E428C0
);
8
Gfx
Entity_InertRedBlock_LoadTexture
[] = {
9
gsDPSetTextureLUT
(
G_TT_NONE
),
10
gsSPTexture
(0xFFFF, 0xFFFF, 0,
G_TX_RENDERTILE
,
G_ON
),
11
gsDPSetTextureDetail
(
G_TD_CLAMP
),
12
gsDPSetTextureLOD
(
G_TL_TILE
),
13
gsDPLoadTextureBlock
(
D_0A000180_E428C0
,
G_IM_FMT_RGBA
,
G_IM_SIZ_16b
, 32, 32, 0,
G_TX_MIRROR
|
G_TX_WRAP
,
G_TX_MIRROR
|
G_TX_WRAP
, 5, 5,
G_TX_NOLOD
,
G_TX_NOLOD
),
14
gsDPSetTexturePersp
(
G_TP_PERSP
),
15
gsDPSetTextureFilter
(
G_TF_BILERP
),
16
gsSPEndDisplayList
(),
17
};
18
19
Gfx
Entity_InertRedBlock_RenderTopBottom
[] = {
20
gsDPPipeSync
(),
21
gsDPSetCycleType
(
G_CYC_1CYCLE
),
22
gsSPDisplayList
(
Entity_InertRedBlock_LoadTexture
),
23
gsSPClearGeometryMode
(
G_LIGHTING
),
24
gsSPSetGeometryMode
(
G_CULL_BACK
|
G_SHADING_SMOOTH
),
25
gsSPVertex
(
D_0A000100_E42840
, 8, 0),
26
gsSP2Triangles
(0, 1, 2, 0, 0, 2, 3, 0),
27
gsSP2Triangles
(4, 5, 6, 0, 4, 6, 7, 0),
28
gsSPEndDisplayList
(),
29
};
30
31
Gfx
Entity_InertRedBlock_RenderFaces
[] = {
32
gsDPPipeSync
(),
33
gsDPSetCycleType
(
G_CYC_1CYCLE
),
34
gsSPDisplayList
(
Entity_InertRedBlock_LoadTexture
),
35
gsSPClearGeometryMode
(
G_LIGHTING
),
36
gsSPSetGeometryMode
(
G_CULL_BACK
|
G_SHADING_SMOOTH
),
37
gsSPVertex
(
D_0A000000_E42740
, 16, 0),
38
gsSP2Triangles
(0, 1, 2, 0, 0, 2, 3, 0),
39
gsSP2Triangles
(4, 5, 6, 0, 4, 6, 7, 0),
40
gsSP2Triangles
(8, 9, 10, 0, 8, 10, 11, 0),
41
gsSP2Triangles
(12, 13, 14, 0, 12, 14, 15, 0),
42
gsSPEndDisplayList
(),
43
};
44
45
Gfx
Entity_InertRedBlock_Render
[] = {
46
gsSPDisplayList
(
Entity_InertRedBlock_RenderFaces
),
47
gsSPDisplayList
(
Entity_InertRedBlock_RenderTopBottom
),
48
gsSPEndDisplayList
(),
49
};
PopupMenu_SelectedIndex
BSS s32 PopupMenu_SelectedIndex
Definition
8a860_len_3f30.c:84
Entity_InertRedBlock_RenderTopBottom
Gfx Entity_InertRedBlock_RenderTopBottom[]
Definition
InertRedBlock.c:19
Entity_InertRedBlock_RenderFaces
Gfx Entity_InertRedBlock_RenderFaces[]
Definition
InertRedBlock.c:31
Entity_InertRedBlock_Render
Gfx Entity_InertRedBlock_Render[]
Definition
InertRedBlock.c:45
Entity_InertRedBlock_LoadTexture
Gfx Entity_InertRedBlock_LoadTexture[]
Definition
InertRedBlock.c:8
include_asset.h
INCLUDE_IMG
#define INCLUDE_IMG(FILENAME, SYMBOLNAME)
Definition
include_asset.h:27
src
entity
model
InertRedBlock.c
Generated by
1.10.0