SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
EffectUtil.hpp
1#pragma once
2
3#include <revolution.h>
4#include <JSystem/JGeometry.hpp>
5
7class LiveActor;
8class HitSensor;
9class SingleEmitter;
10class MultiEmitter;
11class LayoutActor;
12
13namespace MR {
14 namespace Effect {
15 void deleteParticleEmitter(ParticleEmitter *);
16 void setLinkSingleEmitter(ParticleEmitter *, SingleEmitter *);
17 };
18
19 bool isExistEffectKeeper(const LiveActor *);
20
21 bool isRegisteredEffect(const LiveActor *, const char *);
22
23 bool isEffectValid(const LiveActor *, const char *);
24 void deleteEffect(LiveActor *, const char *);
25
26 void pauseOffEffectAll(LiveActor *);
27
28 void deleteEffectAll(LiveActor *);
29
30 void emitEffect(LiveActor *, const char *);
31
32 MultiEmitter* getEffect(const LayoutActor *, const char *);
33
34 void addEffect(LiveActor *, const char *);
35
36 void onDrawEffect(LiveActor *);
37 void offDrawEffect(LiveActor *);
38 void forceDeleteEffect(LiveActor *, const char *);
39 void forceDeleteEffectAll(LiveActor *);
40
41 void addEffectHitNormal(LiveActor *, const char *);
42
43 void setEffectHostMtx(LiveActor *, const char *, MtxPtr);
44
45 void emitEffectHitBetweenSensors(LiveActor *, const HitSensor *, const HitSensor *, f32, const char *);
46
47 void initEffectAfterPlacement(LiveActor *);
48
49 void setEffectHostSRT(LiveActor *, const char *, const TVec3f *, const TVec3f *, const TVec3f *);
50};
The basis of a drawable actor that can contain states (see: Nerve)
Definition LiveActor.hpp:24