Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
Chest.c
Go to the documentation of this file.
1#include "common.h"
2#include "include_asset.h"
3
4#include "entity/model/Chest_1.vtx.inc.c"
5#include "entity/model/Chest_2.vtx.inc.c"
6#include "entity/model/Chest_3.vtx.inc.c"
7#include "entity/model/Chest_4.vtx.inc.c"
8
9INCLUDE_IMG("entity/model/Chest_tex1.png", D_0A000410_E64CE0);
23
24INCLUDE_IMG("entity/model/Chest_tex2.png", D_0A000898_E65168);
25INCLUDE_PAL("entity/model/Chest_tex2.pal", D_0A000998_E65268);
40
41INCLUDE_IMG("entity/model/Chest_lock.png", D_0A000A70_E65340);
42INCLUDE_PAL("entity/model/Chest_lock.pal", D_0A000B70_E65440);
57
59 1.000000, 0.000000, 0.000000, 0.000000,
60 0.000000, 1.000000, 0.000000, 29.000000,
61 0.000000, 0.000000, 1.000000, -23.000000,
62 0.000000, 0.000000, 0.000000, 1.000000
63);
64
79
88 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
91 gsSPVertex(&D_0A000210_E64AE0[4], 20, 2),
92 gsSP2Triangles(1, 2, 3, 0, 1, 3, 0, 0),
93 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
94 gsSP2Triangles(4, 8, 9, 0, 4, 9, 10, 0),
95 gsSP2Triangles(4, 10, 11, 0, 4, 11, 12, 0),
96 gsSP2Triangles(4, 12, 13, 0, 4, 13, 14, 0),
97 gsSP2Triangles(3, 15, 8, 0, 3, 8, 7, 0),
98 gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
99 gsSP2Triangles(16, 19, 20, 0, 16, 20, 21, 0),
100 gsSP2Triangles(16, 21, 15, 0, 16, 15, 2, 0),
101 gsSP2Triangles(8, 15, 21, 0, 8, 21, 9, 0),
102 gsSP2Triangles(9, 21, 20, 0, 9, 20, 10, 0),
103 gsSP2Triangles(10, 20, 19, 0, 10, 19, 11, 0),
104 gsSP2Triangles(11, 19, 18, 0, 11, 18, 12, 0),
105 gsSP2Triangles(12, 18, 17, 0, 12, 17, 13, 0),
106 gsSP2Triangles(13, 17, 16, 0, 13, 16, 14, 0),
108};
109
115
131
133 gsDPPipeSync(),
139 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
140 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
141 gsSP2Triangles(7, 8, 9, 0, 7, 9, 10, 0),
142 gsSP2Triangles(9, 11, 12, 0, 9, 12, 13, 0),
143 gsSP2Triangles(14, 15, 10, 0, 14, 10, 16, 0),
144 gsSP2Triangles(12, 14, 16, 0, 12, 16, 13, 0),
145 gsSP2Triangles(17, 18, 19, 0, 17, 19, 20, 0),
146 gsSP2Triangles(21, 22, 23, 0, 21, 23, 24, 0),
148};
149
BSS s32 PopupMenu_SelectedIndex
Gfx Entity_Chest_RenderBox[]
Definition Chest.c:150
Mtx Entity_Chest_LidMtx
Definition Chest.c:58
Gfx Entity_Chest_RenderLid[]
Definition Chest.c:110
#define INCLUDE_PAL(FILENAME, SYMBOLNAME)
#define INCLUDE_IMG(FILENAME, SYMBOLNAME)
Gfx Entity_Chest_RenderLidWooden[]
Definition Chest.c:80
Gfx Entity_Chest_LoadTexture1[]
Definition Chest.c:10
Gfx Entity_Chest_RenderBoxWooden[]
Definition Chest.c:132
Gfx Entity_Chest_LoadTextureLock[]
Definition Chest.c:43
Gfx Entity_Chest_LoadTexture2[]
Definition Chest.c:26
Gfx Entity_Chest_RenderBoxLock[]
Definition Chest.c:116
Gfx Entity_Chest_RenderLidLock[]
Definition Chest.c:65
#define RDP_MATRIX( Ax, Bx, Cx, Dx, Ay, By, Cy, Dy, Az, Bz, Cz, Dz, Aw, Bw, Cw, Dw)
Definition macros.h:237