Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
starpoint.c
Go to the documentation of this file.
1#include "common.h"
2#include "entity.h"
3#include "include_asset.h"
4
5Lights1 starpoint_lights1 = gdSPDefLights1(0, 0, 0, 0, 0, 0, 0, 0, 0);
6
7#if VERSION_JP
8INCLUDE_IMG("starpoint/text_get.png", D_802A1018_7B0A88);
9INCLUDE_IMG("starpoint/text_point.png", D_802A1818_7B1288);
10INCLUDE_IMG("starpoint/text_star.png", D_802A2018_7B1A88);
11#include "starpoint/load_text_get.gfx.inc.c"
12#include "starpoint/load_text_point.gfx.inc.c"
13#include "starpoint/load_text_star.gfx.inc.c"
14#include "starpoint/text_star.vtx.inc.c"
15#include "starpoint/text_point.vtx.inc.c"
16#include "starpoint/text_get.vtx.inc.c"
17
18Gfx D_802A2A40_7B24B0[] = {
19 gsSPSetLights1(starpoint_lights1),
20 gsDPPipeSync(),
21 gsDPSetCycleType(G_CYC_1CYCLE),
22 gsDPSetRenderMode(G_RM_XLU_SURF, G_RM_XLU_SURF2),
23 gsSPDisplayList(D_802A2818_7B2288),
24 gsSPClearGeometryMode(G_LIGHTING),
25 gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
26 gsSPVertex(D_802A2A00_7B2470, 4, 0),
27 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
28 gsSPEndDisplayList()
29};
30Gfx D_802A2AA0_7B2510[] = {
31 gsSPSetLights1(starpoint_lights1),
32 gsDPPipeSync(),
33 gsDPSetCycleType(G_CYC_1CYCLE),
34 gsDPSetRenderMode(G_RM_XLU_SURF, G_RM_XLU_SURF2),
35 gsSPDisplayList(D_802A2890_7B2300),
36 gsSPClearGeometryMode(G_LIGHTING),
37 gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
38 gsSPVertex(D_802A29C0_7B2430, 4, 0),
39 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
40 gsSPEndDisplayList()
41};
42Gfx D_802A2B00_7B2570[] = {
43 gsSPSetLights1(starpoint_lights1),
44 gsDPPipeSync(),
45 gsDPSetCycleType(G_CYC_1CYCLE),
46 gsDPSetRenderMode(G_RM_XLU_SURF, G_RM_XLU_SURF2),
47 gsSPDisplayList(D_802A2908_7B2378),
48 gsSPClearGeometryMode(G_LIGHTING),
49 gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
50 gsSPVertex(D_802A2980_7B23F0, 4, 0),
51 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
52 gsSPEndDisplayList()
53};
54Gfx D_802A2B60_7B25D0[] = {
55 gsSPSetLights1(starpoint_lights1),
56 gsSPDisplayList(D_802A2B00_7B2570),
57 gsSPDisplayList(D_802A2AA0_7B2510),
58 gsSPDisplayList(D_802A2A40_7B24B0),
59 gsSPEndDisplayList()
60};
61Gfx D_802A2B98_7B2608[] = {
62 gsSPSetLights1(starpoint_lights1),
63 gsSPDisplayList(D_802A2B60_7B25D0),
64 gsSPEndDisplayList()
65};
66#else
67INCLUDE_IMG("starpoint/starpoint.png", D_802A1018_7A89B8);
68#include "starpoint/load_starpoint.gfx.inc.c"
69#include "starpoint/starpoint.vtx.inc.c"
71 gsSPSetLights1(starpoint_lights1),
72 gsDPPipeSync(),
73 gsDPSetCycleType(G_CYC_1CYCLE),
74 gsDPSetRenderMode(G_RM_XLU_SURF, G_RM_XLU_SURF2),
75 gsSPDisplayList(D_802A2018_7A99B8),
76 gsSPClearGeometryMode(G_LIGHTING),
77 gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
78 gsSPVertex(D_802A2090_7A9A30, 4, 0),
79 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
80 gsSPEndDisplayList(),
81};
83 gsSPSetLights1(starpoint_lights1),
84 gsSPDisplayList(D_802A20D0_7A9A70),
85 gsSPEndDisplayList(),
86};
88 gsSPSetLights1(starpoint_lights1),
89 gsSPDisplayList(D_802A2130_7A9AD0),
90 gsSPEndDisplayList(),
91};
92
93Lights1 starpoint_lights2 = gdSPDefLights1(0, 0, 0, 0, 0, 0, 0, 0, 0);
94#include "starpoint/starpoints.vtx.inc.c"
95INCLUDE_IMG("starpoint/starpoints.png", D_802A21D8_7A9B78);
96#include "starpoint/load_starpoints.gfx.inc.c"
97
99 gsSPSetLights1(starpoint_lights2),
100 gsDPPipeSync(),
101 gsDPSetCycleType(G_CYC_1CYCLE),
102 gsDPSetRenderMode(G_RM_XLU_SURF, G_RM_XLU_SURF2),
103 gsSPDisplayList(D_802A31D8_7AAB78),
104 gsSPClearGeometryMode(G_LIGHTING),
105 gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
106 gsSPVertex(D_802A2198_7A9B38, 4, 0),
107 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
108 gsSPEndDisplayList(),
109};
111 gsSPSetLights1(starpoint_lights2),
112 gsSPDisplayList(D_802A3250_7AABF0),
113 gsSPEndDisplayList(),
114};
116 gsSPSetLights1(starpoint_lights2),
117 gsSPDisplayList(D_802A32B0_7AAC50),
118 gsSPEndDisplayList(),
119};
120#endif
121
122#include "starpoint/digit_0.vtx.inc.c"
123INCLUDE_IMG("starpoint/digit_0.png", D_802A3340_7AACE0);
124#include "starpoint/load_digit_0.gfx.inc.c"
125#include "starpoint/__render_digit_0.gfx.inc.c"
126#include "starpoint/_render_digit_0.gfx.inc.c"
127#include "starpoint/render_digit_0.gfx.inc.c"
128
129#include "starpoint/digit_1.vtx.inc.c"
130INCLUDE_IMG("starpoint/digit_1.png", D_802A4460_7ABE00);
131#include "starpoint/load_digit_1.gfx.inc.c"
132#include "starpoint/__render_digit_1.gfx.inc.c"
133#include "starpoint/_render_digit_1.gfx.inc.c"
134#include "starpoint/render_digit_1.gfx.inc.c"
135
136#include "starpoint/digit_2.vtx.inc.c"
137INCLUDE_IMG("starpoint/digit_2.png", D_802A5580_7ACF20);
138#include "starpoint/load_digit_2.gfx.inc.c"
139#include "starpoint/__render_digit_2.gfx.inc.c"
140#include "starpoint/_render_digit_2.gfx.inc.c"
141#include "starpoint/render_digit_2.gfx.inc.c"
142
143#include "starpoint/digit_3.vtx.inc.c"
144INCLUDE_IMG("starpoint/digit_3.png", D_802A66A0_7AE040);
145#include "starpoint/load_digit_3.gfx.inc.c"
146#include "starpoint/__render_digit_3.gfx.inc.c"
147#include "starpoint/_render_digit_3.gfx.inc.c"
148#include "starpoint/render_digit_3.gfx.inc.c"
149
150#include "starpoint/digit_4.vtx.inc.c"
151INCLUDE_IMG("starpoint/digit_4.png", D_802A77C0_7AF160);
152#include "starpoint/load_digit_4.gfx.inc.c"
153#include "starpoint/__render_digit_4.gfx.inc.c"
154#include "starpoint/_render_digit_4.gfx.inc.c"
155#include "starpoint/render_digit_4.gfx.inc.c"
156
157#include "starpoint/digit_5.vtx.inc.c"
158INCLUDE_IMG("starpoint/digit_5.png", D_802A88E0_7B0280);
159#include "starpoint/load_digit_5.gfx.inc.c"
160#include "starpoint/__render_digit_5.gfx.inc.c"
161#include "starpoint/_render_digit_5.gfx.inc.c"
162#include "starpoint/render_digit_5.gfx.inc.c"
163
164#include "starpoint/digit_6.vtx.inc.c"
165INCLUDE_IMG("starpoint/digit_6.png", D_802A9A00_7B13A0);
166#include "starpoint/load_digit_6.gfx.inc.c"
167#include "starpoint/__render_digit_6.gfx.inc.c"
168#include "starpoint/_render_digit_6.gfx.inc.c"
169#include "starpoint/render_digit_6.gfx.inc.c"
170
171#include "starpoint/digit_7.vtx.inc.c"
172INCLUDE_IMG("starpoint/digit_7.png", D_802AAB20_7B24C0);
173#include "starpoint/load_digit_7.gfx.inc.c"
174#include "starpoint/__render_digit_7.gfx.inc.c"
175#include "starpoint/_render_digit_7.gfx.inc.c"
176#include "starpoint/render_digit_7.gfx.inc.c"
177
178#include "starpoint/digit_8.vtx.inc.c"
179INCLUDE_IMG("starpoint/digit_8.png", D_802ABC40_7B35E0);
180#include "starpoint/load_digit_8.gfx.inc.c"
181#include "starpoint/__render_digit_8.gfx.inc.c"
182#include "starpoint/_render_digit_8.gfx.inc.c"
183#include "starpoint/render_digit_8.gfx.inc.c"
184
185#include "starpoint/digit_9.vtx.inc.c"
186INCLUDE_IMG("starpoint/digit_9.png", D_802ACD60_7B4700);
187#include "starpoint/load_digit_9.gfx.inc.c"
188#include "starpoint/__render_digit_9.gfx.inc.c"
189#include "starpoint/_render_digit_9.gfx.inc.c"
190#include "starpoint/render_digit_9.gfx.inc.c"
191
192#if VERSION_JP
195#else
198#endif
209
211 gsSPEndDisplayList(),
212};
s32 EntityModelScript[]
Definition entity.h:7
#define STANDARD_ENTITY_MODEL_SCRIPT(gfx, renderMode)
Definition entity.h:56
@ RENDER_MODE_CLOUD_NO_ZCMP
Definition enums.h:3311
#define INCLUDE_IMG(FILENAME, SYMBOLNAME)
EntityModelScript EMS_starpoint_dummy
Definition starpoint.c:213
EntityModelScript EMS_starpoint_starpoints
Definition starpoint.c:197
Gfx D_802A3250_7AABF0[]
Definition starpoint.c:98
Gfx D_802A2130_7A9AD0[]
Definition starpoint.c:82
Gfx D_802ADF90_7B5930[]
Definition starpoint.c:210
Lights1 starpoint_lights2
Definition starpoint.c:93
Lights1 starpoint_lights1
Definition starpoint.c:5
Gfx D_802A20D0_7A9A70[]
Definition starpoint.c:70
EntityModelScript EMS_starpoint_starpoint
Definition starpoint.c:196
Gfx D_802A32D8_7AAC78[]
Definition starpoint.c:115
EntityModelScript EMS_starpoint_digit_9
Definition starpoint.c:208
Gfx D_802A2158_7A9AF8[]
Definition starpoint.c:87
EntityModelScript EMS_starpoint_digit_2
Definition starpoint.c:201
EntityModelScript EMS_starpoint_digit_0
Definition starpoint.c:199
EntityModelScript EMS_starpoint_digit_7
Definition starpoint.c:206
EntityModelScript EMS_starpoint_digit_4
Definition starpoint.c:203
EntityModelScript EMS_starpoint_digit_5
Definition starpoint.c:204
EntityModelScript EMS_starpoint_digit_1
Definition starpoint.c:200
EntityModelScript EMS_starpoint_digit_3
Definition starpoint.c:202
EntityModelScript EMS_starpoint_digit_6
Definition starpoint.c:205
EntityModelScript EMS_starpoint_digit_8
Definition starpoint.c:207
Gfx D_802A32B0_7AAC50[]
Definition starpoint.c:110