NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
ef_emitterform.h
1#ifndef NW4R_EF_EMITTER_FORM_H
2#define NW4R_EF_EMITTER_FORM_H
3#include <nw4r/types_nw4r.h>
4
5namespace nw4r {
6namespace ef {
7
8class EmitterForm {
9public:
10 EmitterForm() {}
11
12 virtual void Emission(Emitter* pEmitter, ParticleManager* pManager,
13 int count, ulong flags, f32* pParams, u16 life,
14 f32 lifeRnd, const math::MTX34* pSpace) = 0; // at 0x8
15
16 void CalcVelocity(math::VEC3* pVel, Emitter* pEmitter,
17 const math::VEC3& rPos, const math::VEC3& rNormal,
18 const math::VEC3& rFromOrigin,
19 const math::VEC3& rFromYAxis) const;
20
21 u16 CalcLife(u16 life, f32 lifeRnd, Emitter* pEmitter);
22};
23
24} // namespace ef
25} // namespace nw4r
26
27#endif