New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
EffectCreateUtil.h
Go to the documentation of this file.
1#pragma once
2
3#include <effect/EffectID.h>
4#include <utility/Angle3.h>
5
6#include <math/seadMatrix.h>
7
8class EffectObj;
9class FollowEffect;
10
12{
13 // NSMBW: mEf + dEf
14
15public:
16 // Address: 0x022AB080
17 static bool createEffect(EffectID id, const sead::Vector3f* trans = nullptr, const Angle3* angle = nullptr, const sead::Vector3f* scale = nullptr);
18 // Address: 0x022AB0F4
19 static bool createEffect(EffectID id, const sead::Matrixf& mtx, bool mtx_has_scale);
20
21 // Address: 0x022AB158
22 static bool createPlayerEffect(s32 player_no, EffectID id, const sead::Vector3f* trans = nullptr, const Angle3* angle = nullptr, const sead::Vector3f* scale = nullptr);
23 // Address: Deleted
24 static bool createPlayerEffect(s32 player_no, EffectID id, const sead::Matrixf& mtx, bool mtx_has_scale);
25
26 // Address: 0x022AB1BC
27 static bool createPlayerEffect(s32 player_no, EffectObj* effect, EffectID id, const sead::Vector3f* trans = nullptr, const Angle3* angle = nullptr, const sead::Vector3f* scale = nullptr);
28 // Address: 0x022AB224
29 static bool createPlayerEffect(s32 player_no, EffectObj* effect, EffectID id, const sead::Matrixf& mtx, bool mtx_has_scale);
30
31 // Address: 0x022AB288
32 static bool createPlayerEffect(s32 player_no, FollowEffect* effect, EffectID id, const sead::Vector3f* trans = nullptr, const Angle3* angle = nullptr, const sead::Vector3f* scale = nullptr);
33 // Address: Deleted
34 static bool createPlayerEffect(s32 player_no, FollowEffect* effect, EffectID id, const sead::Matrixf& mtx, bool mtx_has_scale);
35
36 // Address: 0x022AB2F0
37 static bool isCreateAboveLayer0(const sead::Vector3f& effect_pos);
38};
Definition EffectCreateUtil.h:12
static bool createPlayerEffect(s32 player_no, EffectObj *effect, EffectID id, const sead::Vector3f *trans=nullptr, const Angle3 *angle=nullptr, const sead::Vector3f *scale=nullptr)
static bool isCreateAboveLayer0(const sead::Vector3f &effect_pos)
static bool createEffect(EffectID id, const sead::Matrixf &mtx, bool mtx_has_scale)
static bool createPlayerEffect(s32 player_no, EffectID id, const sead::Vector3f *trans=nullptr, const Angle3 *angle=nullptr, const sead::Vector3f *scale=nullptr)
static bool createPlayerEffect(s32 player_no, FollowEffect *effect, EffectID id, const sead::Matrixf &mtx, bool mtx_has_scale)
static bool createPlayerEffect(s32 player_no, EffectObj *effect, EffectID id, const sead::Matrixf &mtx, bool mtx_has_scale)
static bool createEffect(EffectID id, const sead::Vector3f *trans=nullptr, const Angle3 *angle=nullptr, const sead::Vector3f *scale=nullptr)
static bool createPlayerEffect(s32 player_no, EffectID id, const sead::Matrixf &mtx, bool mtx_has_scale)
static bool createPlayerEffect(s32 player_no, FollowEffect *effect, EffectID id, const sead::Vector3f *trans=nullptr, const Angle3 *angle=nullptr, const sead::Vector3f *scale=nullptr)
Definition EffectObj.h:6
Definition FollowEffect.h:6