Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_particle.h
Go to the documentation of this file.
1#ifndef D_PARTICLE_D_PARTICLE_H
2#define D_PARTICLE_D_PARTICLE_H
3
6#include "d/d_particle_name.h"
7#include "d/d_kankyo.h"
8
10class J3DModel;
11class J3DModelData;
12class JKRExpHeap;
13class JKRSolidHeap;
14class dKy_tevstr_c;
15class fopAc_ac_c;
16
18public:
19 /* 8004FB18 */ virtual ~dPa_levelEcallBack() { cleanup(); }
20 virtual void setup(JPABaseEmitter*, const cXyz*, const csXyz*, s8) = 0;
21 /* 8004FB8C */ virtual void cleanup() {}
22};
23
25public:
27
28 /* 8004F6B8 */ void setOldPosP(cXyz const*, cXyz const*);
29
30 /* 8004FCC8 */ virtual ~dPa_hermiteEcallBack_c() {}
31 /* 8004F6C4 */ virtual void executeAfter(JPABaseEmitter*);
32 /* 8004FABC */ virtual void setup(JPABaseEmitter*, cXyz const*, csXyz const*, s8);
33
34 void setRate(f32 rate) { mRate = rate; }
35
36private:
37 /* 0x04 */ f32 mRate;
38 /* 0x08 */ int mMaxCnt;
39 /* 0x0C */ cXyz const* field_0xc;
40 /* 0x10 */ cXyz const* field_0x10;
41 /* 0x14 */ cXyz const* field_0x14;
42};
43
45class cBgS_PolyInfo;
47class JPADrawInfo;
48class J3DAnmBase;
50
52public:
53 /* 8004ADF4 */ dPa_simpleEcallBack();
54 /* 8004AF98 */ JPABaseEmitter* create(JPAEmitterManager*, u16, u8);
56 /* 8004B168 */ u32 set(cXyz const*, dKy_tevstr_c const*, u8, _GXColor const&, _GXColor const&,
57 int, f32);
58
59 /* 8004FC08 */ virtual ~dPa_simpleEcallBack() {}
60 /* 8004AE1C */ virtual void executeAfter(JPABaseEmitter*);
61 /* 8004AF94 */ virtual void draw(JPABaseEmitter*);
62
64 u16 getID() const { return mID; }
65
67 /* 0x08 */ u16 mID;
68 /* 0x0A */ u8 field_0xa;
69 /* 0x0C */ s16 field_0xc;
70 /* 0x0C */ u16 field_0xe;
72}; // Size: 0x14
73
75public:
76 /* 80049580 */ dPa_followEcallBack(u8 param_0 = 0, u8 param_1 = 0);
77
78 /* 80050200 */ virtual ~dPa_followEcallBack() {}
79 /* 800495BC */ virtual void execute(JPABaseEmitter*);
80 /* 800496B0 */ virtual void draw(JPABaseEmitter*);
81 /* 800496B4 */ virtual void setup(JPABaseEmitter*, cXyz const*, csXyz const*, s8);
82 /* 80050284 */ virtual void cleanup() { end(); }
83 /* 8004974C */ virtual void end();
84
85 void remove() { end(); }
87 bool isEnd() {
88 return field_0x10 & 1;
89 }
90
92 /* 0x08 */ const cXyz* field_0x8;
93 /* 0x0C */ const csXyz* field_0xc;
94 /* 0x10 */ u8 field_0x10;
95 /* 0x11 */ u8 field_0x11;
96 /* 0x12 */ u8 field_0x12;
97 /* 0x13 */ u8 field_0x13;
98};
99
101public:
102 /* 8004FF2C */ virtual ~dPa_windPcallBack() {}
103 /* 8004B4E0 */ virtual void execute(JPABaseEmitter*, JPABaseParticle*);
104};
105
107public:
108 /* 8004FECC */ virtual ~dPa_wbPcallBack_c() {}
109 /* 8004DC28 */ virtual void execute(JPABaseEmitter*, JPABaseParticle*);
110};
111
113public:
115
116 /* 800502E4 */ virtual ~dPa_setColorEcallBack() {}
117 /* 800502B0 */ virtual void draw(JPABaseEmitter*);
118 /* 800502E0 */ virtual void setup(JPABaseEmitter*, cXyz const*, csXyz const*, s8);
119
120 /* 0x4 */ GXColor mColor;
121};
122
124public:
126
127 /* 8004FF8C */ virtual ~dPa_selectTexEcallBack() {}
128 /* 8004ADC4 */ virtual void draw(JPABaseEmitter*);
129 /* 80050010 */ virtual void setup(JPABaseEmitter*, cXyz const*, csXyz const*, s8);
130
131 /* 0x4 */ u8 field_0x4;
132};
133
135public:
136 /* 8004FC68 */ virtual ~dPa_particleTracePcallBack_c() {}
137 /* 8004FAD4 */ virtual void execute(JPABaseEmitter*, JPABaseParticle*);
138};
139
141public:
142 /* 80050038 */ virtual ~dPa_modelPcallBack() {}
143 /* 8004A460 */ virtual void draw(JPABaseEmitter*, JPABaseParticle*);
144};
145
147public:
148 struct model_c {
149 /* 8004A608 */ bool set(J3DModelData*, dKy_tevstr_c const&, u8, void*, u8, u8);
150 /* 8004A7AC */ void setup();
151 /* 8004A88C */ void cleanup();
152 /* 8004A8DC */ void draw(f32 (*)[4]);
153 /* 8004AB88 */ ~model_c();
154 /* 8004FB90 */ model_c() { field_0x0 = NULL; }
155
156 void reset() {
157 field_0x0 = NULL;
158 }
159
160 u8 getRotAxis() { return mRotAxis; }
162
170 };
171
173
174 /* 8004AB1C */ static void create(u8);
175 /* 8004ABC4 */ static void remove();
176 /* 8004AC00 */ static int setModel(JPABaseEmitter*, J3DModelData*, dKy_tevstr_c const&, u8,
177 void*, u8, u8);
178 /* 8004AC90 */ static void resetModel(JPABaseEmitter*);
179 /* 8004ACC0 */ static void setupModel(JPABaseEmitter*);
180 /* 8004ACEC */ static void drawModel(JPABaseEmitter*, f32 (*)[4]);
181 /* 8004AD28 */ static void cleanupModel(JPABaseEmitter*);
182 /* 8004AD58 */ static model_c* getModel(JPABaseEmitter*);
183 /* 8004AD90 */ static u8 getRotAxis(JPABaseEmitter*);
184
185 /* 80050378 */ virtual ~dPa_modelEcallBack() {}
186 /* 8004AA34 */ virtual void draw(JPABaseEmitter*);
187 /* 80050014 */ virtual void drawAfter(JPABaseEmitter*);
188 /* 8004AAA8 */ virtual void setup(JPABaseEmitter*, cXyz const*, csXyz const*, s8);
189
191 const dKy_tevstr_c& param_2, u8 param_3, J3DAnmTexPattern* param_4,
192 u8 param_5) {
193 setModel(param_0, param_1, param_2, param_3, param_4, param_5);
194 }
195
198
201};
202
204public:
205 /* 8004FE0C */ virtual ~dPa_light8PcallBack() {}
206 /* 8004DD10 */ virtual void execute(JPABaseEmitter*, JPABaseParticle*);
207 /* 8004DD1C */ virtual void draw(JPABaseEmitter*, JPABaseParticle*);
208};
209
211public:
212 /* 8005015C */ virtual ~dPa_light8EcallBack() {}
213 /* 8004A340 */ virtual void draw(JPABaseEmitter*);
214 /* 800501E0 */ virtual void drawAfter(JPABaseEmitter*);
215 /* 8004979C */ virtual void setup(JPABaseEmitter*, cXyz const*, csXyz const*, s8);
216};
217
219public:
220 /* 8004FD4C */ virtual ~dPa_gen_d_light8PcallBack() {}
221 /* 8004DD18 */ virtual void execute(JPABaseEmitter*, JPABaseParticle*);
222 /* 8004ED44 */ virtual void draw(JPABaseEmitter*, JPABaseParticle*);
223};
224
226public:
227 /* 800503FC */ virtual ~dPa_gen_d_light8EcallBack() {}
228 /* 8004A388 */ virtual void draw(JPABaseEmitter*);
229 /* 80050098 */ virtual void drawAfter(JPABaseEmitter*);
230 /* 800497CC */ virtual void setup(JPABaseEmitter*, cXyz const*, csXyz const*, s8);
231};
232
234public:
235 /* 8004FDAC */ virtual ~dPa_gen_b_light8PcallBack() {}
236 /* 8004DD14 */ virtual void execute(JPABaseEmitter*, JPABaseParticle*);
237 /* 8004E6A8 */ virtual void draw(JPABaseEmitter*, JPABaseParticle*);
238};
239
241public:
242 /* 800500B8 */ virtual ~dPa_gen_b_light8EcallBack() {}
243 /* 8004A364 */ virtual void draw(JPABaseEmitter*);
244 /* 8005013C */ virtual void drawAfter(JPABaseEmitter*);
245 /* 800497B0 */ virtual void setup(JPABaseEmitter*, cXyz const*, csXyz const*, s8);
246};
247
249public:
250 /* 8004FE6C */ virtual ~dPa_fsenthPcallBack() {}
251 /* 8004DCA0 */ virtual void execute(JPABaseEmitter*, JPABaseParticle*);
252 /* 8004DD0C */ virtual void draw(JPABaseEmitter*, JPABaseParticle*);
253};
254
256public:
257 /* 8004B024 */ ~dPa_simpleData_c();
258 /* 8004B060 */ dPa_simpleData_c();
259
263};
264
265class dPa_control_c {
266public:
267 class level_c {
268 public:
269 class emitter_c {
270 public:
271 /* 8004B504 */ void onActive();
272 /* 8004B544 */ void entry(u32, u16, JPABaseEmitter*, dPa_levelEcallBack*);
273 /* 8004B5AC */ void cleanup();
274 /* 8004FBFC */ emitter_c() { mId = 0; }
275
277 emitter_c* getPre() { return mPre; }
278 emitter_c* getNext() { return mNext; }
281
282 u32 getId() { return mId; }
283 void clearStatus() { mStatus = 0; }
284
285 void onEventMove() { mStatus |= 2; }
286 void offEventMove() { mStatus &= ~2; }
287 bool isEventMove() { return mStatus & 2; }
288
289 void offActive() { mStatus &= ~1; }
290 bool isActive() { return mStatus & 1; }
291 u16 getNameId() { return mNameId; }
293
294 private:
295 /* 0x00 */ u32 mId;
296 /* 0x04 */ u16 mNameId;
297 /* 0x06 */ u8 mStatus;
300 /* 0x10 */ emitter_c* mPre;
301 /* 0x14 */ emitter_c* mNext;
302 }; // Size: 0x18
303
304 /* 8004B688 */ level_c();
305 /* 8004B7A8 */ void execute();
306 /* 8004B6F8 */ void execute(dPa_control_c::level_c::emitter_c*);
307 /* 8004B808 */ void cleanup();
308 /* 8004B874 */ emitter_c* get(u32);
309 /* 8004B8B4 */ void forceOnEventMove(u32);
310 /* 8004B8E8 */ void allForceOnEventMove();
311 /* 8004B918 */ JPABaseEmitter* getEmitter(u32);
312 /* 8004B94C */ u32 entry(u16, JPABaseEmitter*, dPa_levelEcallBack*);
313 /* 8004BA40 */ void addTable(dPa_control_c::level_c::emitter_c*);
314 /* 8004BA74 */ void cutTable(dPa_control_c::level_c::emitter_c*);
315
316 static const int EMITTER_MAX = 0x80;
317
318 /* 0x000 */ u32 field_0x0;
319 /* 0x004 */ u8 mFreeNo;
320 /* 0x005 */ u8 field_0x5;
321 /* 0x006 */ u8 field_0x6;
322 /* 0x008 */ emitter_c mEmitter[0x80];
323 /* 0xC08 */ emitter_c* mTable[0x100];
324 }; // Size: 0x1008
325
326 /* 8004BACC */ dPa_control_c();
327 /* 8004BB70 */ static u8 getRM_ID(u16);
328 /* 8004BB78 */ void createCommon(void const*);
329 /* 8004BCDC */ void createRoomScene();
330 /* 8004BDFC */ bool readScene(u8, mDoDvdThd_toMainRam_c**);
331 /* 8004BEB0 */ void createScene(void const*);
332 /* 8004BF3C */ bool removeRoomScene(bool);
333 /* 8004BFD4 */ void removeScene(bool);
334 /* 8004C054 */ void cleanup();
335 /* 8004C078 */ void calc3D();
336 /* 8004C0EC */ void calc2D();
337 /* 8004C134 */ void calcMenu();
338 /* 8004C188 */ void draw(JPADrawInfo*, u8);
339 /* 8004C218 */ void setHitMark(u16, fopAc_ac_c*, cXyz const*, csXyz const*, cXyz const*, u32);
340 /* 8004C838 */ void setWaterRipple(u32*, cBgS_PolyInfo&, cXyz const*, f32, dKy_tevstr_c const*,
341 cXyz const*, s8);
342 /* 8004CA90 */ JPABaseEmitter* set(u8, u16, cXyz const*, dKy_tevstr_c const*, csXyz const*, cXyz const*, u8,
343 dPa_levelEcallBack*, s8, _GXColor const*, _GXColor const*, cXyz const*,
344 f32);
345 /* 8004D4CC */ u32 set(u32, u8, u16, cXyz const*, dKy_tevstr_c const*, csXyz const*,
346 cXyz const*, u8, dPa_levelEcallBack*, s8, _GXColor const*,
347 _GXColor const*, cXyz const*, f32);
348 /* 8004CF90 */ static s32 getPolyColor(cBgS_PolyInfo&, int, _GXColor*, _GXColor*, u8*, f32*);
349 /* 8004D6A4 */ u32 setPoly(u32, u16, cBgS_PolyInfo&, cXyz const*, dKy_tevstr_c const*,
350 csXyz const*, cXyz const*, int, dPa_levelEcallBack*, s8,
351 cXyz const*);
352 /* 8004D068 */ JPABaseEmitter* setPoly(u16, cBgS_PolyInfo&, cXyz const*, dKy_tevstr_c const*, csXyz const*,
353 cXyz const*, int, dPa_levelEcallBack*, s8, cXyz const*);
354 /* 8004D128 */ bool newSimple(u16, u8, u32*);
355 /* 8004D1B8 */ u32 setSimple(u16, cXyz const*, dKy_tevstr_c const*, u8, _GXColor const&,
356 _GXColor const&, int, f32);
357 /* 8004D23C */ dPa_simpleEcallBack* getSimple(u16);
358 /* 8004D770 */ u32 setStopContinue(u32);
359 /* 8004D7C4 */ u32 setSimpleFoot(u32, u32*, cBgS_PolyInfo&, cXyz const*, dKy_tevstr_c const*,
360 int, csXyz const*, cXyz const*, dPa_levelEcallBack*, s8,
361 cXyz const*);
362 /* 8004D988 */ u16 setCommonPoly(u32*, cBgS_PolyInfo*, cXyz const*, cXyz const*,
363 dKy_tevstr_c const*, u32, u32, csXyz const*, cXyz const*, s8);
364
367
369 const csXyz* param_4, const cXyz* param_5, u8 param_6,
371 const GXColor* param_10, const cXyz* param_11, f32 param_12) {
372 return set(param_0, 0, param_1, param_2, param_3, param_4, param_5, param_6, param_7,
374 }
375
377 const csXyz* param_4, const cXyz* param_5, u8 param_6,
379 const GXColor* param_10, const cXyz* param_11, f32 param_12) {
380 return set(0, param_1, param_2, param_3, param_4, param_5, param_6, param_7, param_8,
382 }
383
403
405
407
408 static void onStatus(u8 status) { mStatus |= status; }
409 static void offStatus(u8 status) { mStatus &= ~status; }
410 static bool isStatus(u8 status) { return mStatus & status; }
411
413 return &mTsubo[idx];
414 }
415
417
421
425
429
433
437
441
445
449
453
455 static u8 mLifeBall[24];
467 static u8 mStatus;
468
469private:
470 /* 0x000 */ JKRSolidHeap* mHeap;
472 /* 0x008 */ JKRExpHeap* m_resHeap;
474 /* 0x010 */ void* m_sceneRes;
476 /* 0x018 */ u8 field_0x18;
477 /* 0x019 */ u8 field_0x19;
478 /* 0x01A */ u8 field_0x1a;
479 /* 0x01B */ u8 field_0x1b;
481 /* 0x210 */ level_c field_0x210;
482};
483
484#endif /* D_PARTICLE_D_PARTICLE_H */
static unsigned long int next
Definition CARDUnlock.c:76
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition J3DAnimation.h:451
Definition JKRSolidHeap.h:10
Definition JPAEmitter.h:94
Definition JPAParticle.h:20
Definition JPADrawInfo.h:10
Definition JPAEmitter.h:68
Definition JPAEmitterManager.h:22
Definition JPAParticle.h:79
Definition JPAResourceManager.h:14
Definition d_particle.h:269
void entry(u32, u16, JPABaseEmitter *, dPa_levelEcallBack *)
Definition d_particle.cpp:948
JPABaseEmitter * getEmitter()
Definition d_particle.h:276
void cleanup()
Definition d_particle.cpp:962
void offEventMove()
Definition d_particle.h:286
emitter_c * getPre()
Definition d_particle.h:277
void offActive()
Definition d_particle.h:289
dPa_levelEcallBack * mCallback
Definition d_particle.h:299
void onEventMove()
Definition d_particle.h:285
u8 mStatus
Definition d_particle.h:297
JPABaseEmitter * mEmitter
Definition d_particle.h:298
dPa_levelEcallBack * getCallback()
Definition d_particle.h:292
u32 mId
Definition d_particle.h:295
bool isActive()
Definition d_particle.h:290
emitter_c()
Definition d_particle.h:274
emitter_c * getNext()
Definition d_particle.h:278
void setNext(emitter_c *next)
Definition d_particle.h:280
u16 getNameId()
Definition d_particle.h:291
emitter_c * mNext
Definition d_particle.h:301
void setPre(emitter_c *pre)
Definition d_particle.h:279
bool isEventMove()
Definition d_particle.h:287
void clearStatus()
Definition d_particle.h:283
void onActive()
Definition d_particle.cpp:936
u16 mNameId
Definition d_particle.h:296
u32 getId()
Definition d_particle.h:282
emitter_c * mPre
Definition d_particle.h:300
Definition d_particle.h:267
void cutTable(dPa_control_c::level_c::emitter_c *)
Definition d_particle.cpp:1128
void cleanup()
Definition d_particle.cpp:1021
emitter_c mEmitter[0x80]
Definition d_particle.h:322
JPABaseEmitter * getEmitter(u32)
Definition d_particle.cpp:1075
static const int EMITTER_MAX
Definition d_particle.h:316
level_c()
Definition d_particle.cpp:983
u8 mFreeNo
Definition d_particle.h:319
void forceOnEventMove(u32)
Definition d_particle.cpp:1052
u32 entry(u16, JPABaseEmitter *, dPa_levelEcallBack *)
Definition d_particle.cpp:1087
void execute()
Definition d_particle.cpp:1009
emitter_c * get(u32)
Definition d_particle.cpp:1036
void addTable(dPa_control_c::level_c::emitter_c *)
Definition d_particle.cpp:1113
u8 field_0x5
Definition d_particle.h:320
u32 field_0x0
Definition d_particle.h:318
void allForceOnEventMove()
Definition d_particle.cpp:1062
emitter_c * mTable[0x100]
Definition d_particle.h:323
u8 field_0x6
Definition d_particle.h:321
Definition d_particle.h:74
const cXyz * field_0x8
Definition d_particle.h:92
virtual void cleanup()
Definition d_particle.h:82
virtual ~dPa_followEcallBack()
Definition d_particle.h:78
void remove()
Definition d_particle.h:85
u8 field_0x13
Definition d_particle.h:97
virtual void setup(JPABaseEmitter *, cXyz const *, csXyz const *, s8)
Definition d_particle.cpp:92
u8 field_0x11
Definition d_particle.h:95
virtual void end()
Definition d_particle.cpp:112
u8 field_0x10
Definition d_particle.h:94
JPABaseEmitter * getEmitter()
Definition d_particle.h:86
JPABaseEmitter * mpEmitter
Definition d_particle.h:91
bool isEnd()
Definition d_particle.h:87
virtual void execute(JPABaseEmitter *)
Definition d_particle.cpp:64
const csXyz * field_0xc
Definition d_particle.h:93
u8 field_0x12
Definition d_particle.h:96
virtual void draw(JPABaseEmitter *)
Definition d_particle.cpp:88
Definition d_particle.h:248
virtual ~dPa_fsenthPcallBack()
Definition d_particle.h:250
virtual void execute(JPABaseEmitter *, JPABaseParticle *)
Definition d_particle.cpp:1968
virtual void draw(JPABaseEmitter *, JPABaseParticle *)
Definition d_particle.cpp:1980
Definition d_particle.h:240
virtual void setup(JPABaseEmitter *, cXyz const *, csXyz const *, s8)
Definition d_particle.cpp:150
virtual void drawAfter(JPABaseEmitter *)
Definition d_particle.cpp:2433
virtual void draw(JPABaseEmitter *)
Definition d_particle.cpp:433
virtual ~dPa_gen_b_light8EcallBack()
Definition d_particle.h:242
Definition d_particle.h:233
virtual void execute(JPABaseEmitter *, JPABaseParticle *)
Definition d_particle.cpp:1992
virtual void draw(JPABaseEmitter *, JPABaseParticle *)
Definition d_particle.cpp:2129
virtual ~dPa_gen_b_light8PcallBack()
Definition d_particle.h:235
Definition d_particle.h:225
virtual void drawAfter(JPABaseEmitter *)
Definition d_particle.cpp:2427
virtual ~dPa_gen_d_light8EcallBack()
Definition d_particle.h:227
virtual void setup(JPABaseEmitter *, cXyz const *, csXyz const *, s8)
Definition d_particle.cpp:159
virtual void draw(JPABaseEmitter *)
Definition d_particle.cpp:439
Definition d_particle.h:218
virtual void draw(JPABaseEmitter *, JPABaseParticle *)
Definition d_particle.cpp:2222
virtual void execute(JPABaseEmitter *, JPABaseParticle *)
Definition d_particle.cpp:1998
virtual ~dPa_gen_d_light8PcallBack()
Definition d_particle.h:220
Definition d_particle.h:24
void setRate(f32 rate)
Definition d_particle.h:34
int mMaxCnt
Definition d_particle.h:38
cXyz const * field_0xc
Definition d_particle.h:39
virtual void executeAfter(JPABaseEmitter *)
Definition d_particle.cpp:2349
void setOldPosP(cXyz const *, cXyz const *)
Definition d_particle.cpp:2342
virtual ~dPa_hermiteEcallBack_c()
Definition d_particle.h:30
virtual void setup(JPABaseEmitter *, cXyz const *, csXyz const *, s8)
Definition d_particle.cpp:2391
dPa_hermiteEcallBack_c()
Definition d_particle.h:26
cXyz const * field_0x10
Definition d_particle.h:40
cXyz const * field_0x14
Definition d_particle.h:41
f32 mRate
Definition d_particle.h:37
Definition d_particle.h:210
virtual ~dPa_light8EcallBack()
Definition d_particle.h:212
virtual void setup(JPABaseEmitter *, cXyz const *, csXyz const *, s8)
Definition d_particle.cpp:142
virtual void draw(JPABaseEmitter *)
Definition d_particle.cpp:427
virtual void drawAfter(JPABaseEmitter *)
Definition d_particle.cpp:2439
Definition d_particle.h:203
virtual void draw(JPABaseEmitter *, JPABaseParticle *)
Definition d_particle.cpp:2004
virtual ~dPa_light8PcallBack()
Definition d_particle.h:205
virtual void execute(JPABaseEmitter *, JPABaseParticle *)
Definition d_particle.cpp:1986
Definition d_particle.h:146
virtual void drawAfter(JPABaseEmitter *)
Definition d_particle.cpp:2421
static dPa_modelEcallBack mEcallback
Definition d_particle.h:197
static dPa_modelPcallBack mPcallback
Definition d_particle.h:199
static void create(u8)
Definition d_particle.cpp:655
dPa_modelEcallBack()
Definition d_particle.h:172
static model_c * mModel
Definition d_particle.h:200
static void setModel(JPABaseEmitter *param_0, J3DModelData *param_1, const dKy_tevstr_c &param_2, u8 param_3, J3DAnmTexPattern *param_4, u8 param_5)
Definition d_particle.h:190
static int setModel(JPABaseEmitter *, J3DModelData *, dKy_tevstr_c const &, u8, void *, u8, u8)
Definition d_particle.cpp:675
static u8 getRotAxis(JPABaseEmitter *)
Definition d_particle.cpp:736
static void remove()
Definition d_particle.cpp:666
static void cleanupModel(JPABaseEmitter *)
Definition d_particle.cpp:717
static model_c * getModel(JPABaseEmitter *)
Definition d_particle.cpp:727
static void setupModel(JPABaseEmitter *)
Definition d_particle.cpp:699
virtual void draw(JPABaseEmitter *)
Definition d_particle.cpp:623
virtual ~dPa_modelEcallBack()
Definition d_particle.h:185
virtual void setup(JPABaseEmitter *, cXyz const *, csXyz const *, s8)
Definition d_particle.cpp:636
static void drawModel(JPABaseEmitter *, f32(*)[4])
Definition d_particle.cpp:708
static dPa_modelEcallBack & getEcallback()
Definition d_particle.h:196
static void resetModel(JPABaseEmitter *)
Definition d_particle.cpp:690
Definition d_particle.h:140
virtual ~dPa_modelPcallBack()
Definition d_particle.h:142
virtual void draw(JPABaseEmitter *, JPABaseParticle *)
Definition d_particle.cpp:461
Definition d_particle.h:134
virtual void execute(JPABaseEmitter *, JPABaseParticle *)
Definition d_particle.cpp:2400
virtual ~dPa_particleTracePcallBack_c()
Definition d_particle.h:136
Definition d_particle.h:123
u8 field_0x4
Definition d_particle.h:131
virtual ~dPa_selectTexEcallBack()
Definition d_particle.h:127
virtual void setup(JPABaseEmitter *, cXyz const *, csXyz const *, s8)
Definition d_particle.cpp:2414
dPa_selectTexEcallBack(u8 param_0)
Definition d_particle.h:125
virtual void draw(JPABaseEmitter *)
Definition d_particle.cpp:746
Definition d_particle.h:112
dPa_setColorEcallBack(const GXColor &color)
Definition d_particle.h:114
virtual ~dPa_setColorEcallBack()
Definition d_particle.h:116
virtual void setup(JPABaseEmitter *, cXyz const *, csXyz const *, s8)
Definition d_particle.cpp:2451
virtual void draw(JPABaseEmitter *)
Definition d_particle.cpp:2445
GXColor mColor
Definition d_particle.h:120
Definition d_particle.h:255
cXyz field_0x00
Definition d_particle.h:260
GXColor field_0x10
Definition d_particle.h:262
GXColor field_0x0c
Definition d_particle.h:261
dPa_simpleData_c()
Definition d_particle.cpp:809
~dPa_simpleData_c()
Definition d_particle.cpp:806
Definition d_particle.h:51
u16 field_0xe
Definition d_particle.h:70
virtual void executeAfter(JPABaseEmitter *)
Definition d_particle.cpp:758
u8 field_0xa
Definition d_particle.h:68
dPa_simpleEcallBack()
Definition d_particle.cpp:751
u16 mID
Definition d_particle.h:67
dPa_simpleData_c * mData
Definition d_particle.h:71
JPABaseEmitter * createEmitter(JPAEmitterManager *)
Definition d_particle.cpp:815
virtual ~dPa_simpleEcallBack()
Definition d_particle.h:59
JPABaseEmitter * mEmitter
Definition d_particle.h:66
u16 getID() const
Definition d_particle.h:64
s16 field_0xc
Definition d_particle.h:69
JPABaseEmitter * create(JPAEmitterManager *, u16, u8)
Definition d_particle.cpp:795
virtual void draw(JPABaseEmitter *)
Definition d_particle.cpp:789
void removeEmitter()
Definition d_particle.h:63
u32 set(cXyz const *, dKy_tevstr_c const *, u8, _GXColor const &, _GXColor const &, int, f32)
Definition d_particle.cpp:837
Definition d_particle.h:106
virtual ~dPa_wbPcallBack_c()
Definition d_particle.h:108
virtual void execute(JPABaseEmitter *, JPABaseParticle *)
Definition d_particle.cpp:1956
Definition d_particle.h:100
virtual ~dPa_windPcallBack()
Definition d_particle.h:102
virtual void execute(JPABaseEmitter *, JPABaseParticle *)
Definition d_particle.cpp:930
Definition m_Do_dvd_thread.h:26
static SECTION_DATA u8 color[4]
Definition d_a_obj_crope.cpp:225
static s32 status
Definition fstload.c:6
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_hozelda.cpp:36
Definition d_a_ep.cpp:51
Definition d_a_ep.cpp:155
Definition d_a_balloon_2D.h:178
Definition d_a_ep.cpp:68
Definition d_a_ep.cpp:134
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:66
Definition d_a_ep.cpp:49
Definition d_a_ep.cpp:70
void cleanup()
Definition d_particle.cpp:1352
static u8 mStatus
Definition d_particle.h:467
dPa_simpleEcallBack * getSimple(u16)
Definition d_particle.cpp:1689
static dPa_fsenthPcallBack mFsenthPcallBack
Definition d_particle.h:459
void drawFogPri0_B(JPADrawInfo *i_drawInfo)
Definition d_particle.h:384
void * m_sceneRes
Definition d_particle.h:474
JPABaseEmitter * set(u8, u16, cXyz const *, dKy_tevstr_c const *, csXyz const *, cXyz const *, u8, dPa_levelEcallBack *, s8, _GXColor const *, _GXColor const *, cXyz const *, f32)
static JPAEmitterManager * getEmitterManager()
Definition d_particle.h:416
static JPAEmitterManager * mEmitterMng
Definition d_particle.h:457
static dPa_wbPcallBack_c mWaterBubblePcallBack
Definition d_particle.h:458
JPABaseEmitter * getEmitter(u32 param_0)
Definition d_particle.h:366
JPABaseEmitter * setNormal(u16 param_1, const cXyz *param_2, const dKy_tevstr_c *param_3, const csXyz *param_4, const cXyz *param_5, u8 param_6, dPa_levelEcallBack *param_7, s8 param_8, const GXColor *param_9, const GXColor *param_10, const cXyz *param_11, f32 param_12)
Definition d_particle.h:376
void drawNormalPri0_B(JPADrawInfo *i_drawInfo)
Definition d_particle.h:385
void removeScene(bool)
Definition d_particle.cpp:1340
void draw2DmenuBack(JPADrawInfo *i_drawInfo)
Definition d_particle.h:402
static dPa_particleTracePcallBack_c mParticleTracePCB
Definition d_particle.h:466
static dPa_light8PcallBack mLight8PcallBack
Definition d_particle.h:461
static dPa_gen_b_light8EcallBack m_b_Light8EcallBack
Definition d_particle.h:462
u32 setStopContinue(u32)
Definition d_particle.cpp:1817
static dPa_particleTracePcallBack_c * getParticleTracePCB()
Definition d_particle.h:442
void calcMenu()
Definition d_particle.cpp:1376
static s32 getPolyColor(cBgS_PolyInfo &, int, _GXColor *, _GXColor *, u8 *, f32 *)
Definition d_particle.cpp:1620
void createRoomScene()
Definition d_particle.cpp:1266
void createCommon(void const *)
Definition d_particle.cpp:1242
void drawNormal(JPADrawInfo *i_drawInfo)
Definition d_particle.h:391
void drawProjection(JPADrawInfo *i_drawInfo)
Definition d_particle.h:389
static dPa_gen_d_light8EcallBack m_d_Light8EcallBack
Definition d_particle.h:464
static dPa_gen_d_light8PcallBack * getGen_d_Light8PcallBack()
Definition d_particle.h:426
static Mtx mWindViewMatrix
Definition d_particle.h:456
JKRExpHeap * m_resHeap
Definition d_particle.h:472
static dPa_fsenthPcallBack * getFsenthPcallBack()
Definition d_particle.h:446
void drawNormalFog(JPADrawInfo *i_drawInfo)
Definition d_particle.h:393
bool removeRoomScene(bool)
Definition d_particle.cpp:1320
void calc3D()
Definition d_particle.cpp:1357
u8 field_0x19
Definition d_particle.h:477
void drawFogPri2(JPADrawInfo *i_drawInfo)
Definition d_particle.h:392
static JPAParticleCallBack * getWaterBubblePcallBack()
Definition d_particle.h:450
void draw2Dfore(JPADrawInfo *i_drawInfo)
Definition d_particle.h:399
void drawFogPri3(JPADrawInfo *i_drawInfo)
Definition d_particle.h:394
JKRSolidHeap * mHeap
Definition d_particle.h:470
static dPa_gen_b_light8PcallBack * getGen_b_Light8PcallBack()
Definition d_particle.h:422
JKRSolidHeap * m_sceneHeap
Definition d_particle.h:473
void calc2D()
Definition d_particle.cpp:1369
u32 setSimple(u16, cXyz const *, dKy_tevstr_c const *, u8, _GXColor const &, _GXColor const &, int, f32)
static dPa_selectTexEcallBack * getTsuboSelectTexEcallBack(int idx)
Definition d_particle.h:412
u16 setCommonPoly(u32 *, cBgS_PolyInfo *, cXyz const *, cXyz const *, dKy_tevstr_c const *, u32, u32, csXyz const *, cXyz const *, s8)
Definition d_particle.cpp:1871
void levelAllForceOnEventMove()
Definition d_particle.h:406
static bool isStatus(u8 status)
Definition d_particle.h:410
static dPa_gen_b_light8EcallBack * getGen_b_Light8EcallBack()
Definition d_particle.h:430
u8 field_0x18
Definition d_particle.h:476
static void offStatus(u8 status)
Definition d_particle.h:409
void drawFogPri1(JPADrawInfo *i_drawInfo)
Definition d_particle.h:390
static void onStatus(u8 status)
Definition d_particle.h:408
JPAResourceManager * mCommonResMng
Definition d_particle.h:471
void drawNormalPri0_A(JPADrawInfo *i_drawInfo)
Definition d_particle.h:387
static dPa_selectTexEcallBack mTsubo[8]
Definition d_particle.h:1146
static u8 mLifeBall[24]
Definition d_particle.h:455
static dPa_light8EcallBack mLight8EcallBack
Definition d_particle.h:460
void createScene(void const *)
Definition d_particle.cpp:1305
void draw2Dback(JPADrawInfo *i_drawInfo)
Definition d_particle.h:400
static dPa_gen_b_light8PcallBack m_b_Light8PcallBack
Definition d_particle.h:463
dPa_simpleEcallBack field_0x1c[25]
Definition d_particle.h:480
u8 field_0x1b
Definition d_particle.h:479
static dPa_gen_d_light8PcallBack m_d_Light8PcallBack
Definition d_particle.h:465
static dPa_light8PcallBack * getLight8PcallBack()
Definition d_particle.h:418
void drawFogPri0_A(JPADrawInfo *i_drawInfo)
Definition d_particle.h:386
u8 field_0x1a
Definition d_particle.h:478
level_c field_0x210
Definition d_particle.h:481
void setWaterRipple(u32 *, cBgS_PolyInfo &, cXyz const *, f32, dKy_tevstr_c const *, cXyz const *, s8)
Definition d_particle.cpp:1465
void draw2DmenuFore(JPADrawInfo *i_drawInfo)
Definition d_particle.h:401
void drawNormalP1(JPADrawInfo *i_drawInfo)
Definition d_particle.h:395
u32 setPoly(u32, u16, cBgS_PolyInfo &, cXyz const *, dKy_tevstr_c const *, csXyz const *, cXyz const *, int, dPa_levelEcallBack *, s8, cXyz const *)
Definition d_particle.cpp:1797
void drawDarkworld(JPADrawInfo *i_drawInfo)
Definition d_particle.h:396
bool newSimple(u16, u8, u32 *)
Definition d_particle.cpp:1663
bool readScene(u8, mDoDvdThd_toMainRam_c **)
Definition d_particle.cpp:1288
static u8 getRM_ID(u16)
Definition d_particle.cpp:1236
static dPa_gen_d_light8EcallBack * getGen_d_Light8EcallBack()
Definition d_particle.h:434
JKRExpHeap * getResHeap()
Definition d_particle.h:404
void forceOnEventMove(u32 param_0)
Definition d_particle.h:365
void drawFogScreen(JPADrawInfo *i_drawInfo)
Definition d_particle.h:397
void draw(JPADrawInfo *, u8)
Definition d_particle.cpp:1385
u32 set(u32, u8, u16, cXyz const *, dKy_tevstr_c const *, csXyz const *, cXyz const *, u8, dPa_levelEcallBack *, s8, _GXColor const *, _GXColor const *, cXyz const *, f32)
void setHitMark(u16, fopAc_ac_c *, cXyz const *, csXyz const *, cXyz const *, u32)
Definition d_particle.cpp:1403
dPa_control_c()
Definition d_particle.cpp:1221
void drawFogPri4(JPADrawInfo *i_drawInfo)
Definition d_particle.h:388
u32 setSimpleFoot(u32, u32 *, cBgS_PolyInfo &, cXyz const *, dKy_tevstr_c const *, int, csXyz const *, cXyz const *, dPa_levelEcallBack *, s8, cXyz const *)
Definition d_particle.cpp:1830
void draw2Dgame(JPADrawInfo *i_drawInfo)
Definition d_particle.h:398
static dPa_light8EcallBack * getLight8EcallBack()
Definition d_particle.h:438
u32 setNormal(u32 param_0, u16 param_1, const cXyz *param_2, const dKy_tevstr_c *param_3, const csXyz *param_4, const cXyz *param_5, u8 param_6, dPa_levelEcallBack *param_7, s8 param_8, const GXColor *param_9, const GXColor *param_10, const cXyz *param_11, f32 param_12)
Definition d_particle.h:368
JPAResourceManager * mSceneResMng
Definition d_particle.h:475
Definition d_a_ep.cpp:64
virtual void cleanup()
Definition d_particle.h:21
virtual ~dPa_levelEcallBack()
Definition d_particle.h:19
virtual void setup(JPABaseEmitter *, const cXyz *, const csXyz *, s8)=0
Definition d_particle.h:148
void draw(f32(*)[4])
Definition d_particle.cpp:598
bool set(J3DModelData *, dKy_tevstr_c const &, u8, void *, u8, u8)
Definition d_particle.cpp:504
u8 mRotAxis
Definition d_particle.h:166
u8 field_0x393
Definition d_particle.h:169
u8 getRotAxis()
Definition d_particle.h:160
void setup()
Definition d_particle.cpp:563
~model_c()
Definition d_particle.cpp:662
void cleanup()
Definition d_particle.cpp:584
dKy_tevstr_c field_0x8
Definition d_particle.h:165
J3DModelData * field_0x0
Definition d_particle.h:163
u8 field_0x392
Definition d_particle.h:168
model_c()
Definition d_particle.h:154
J3DModelData * getModelData()
Definition d_particle.h:161
void reset()
Definition d_particle.h:156
u8 field_0x391
Definition d_particle.h:167
J3DAnmBase * field_0x4
Definition d_particle.h:164
Definition d_a_ep.cpp:19
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8