NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_ice_manager.hpp
1
#pragma once
2
3
#include <game/bases/d_actor.hpp>
4
#include <game/bases/d_ice_effect_scale.hpp>
5
6
class
dIceInfo
{
7
public
:
8
~dIceInfo
();
9
10
int
mMode;
11
mVec3_c
mPos;
12
mVec3_c
mSize;
13
dIceEfScale_c
mEfScale;
14
};
15
16
class
dIceMng_c {
17
public
:
18
/// @unofficial
19
enum
PROC_e
{
20
PROC_FROZEN,
21
PROC_MELT,
22
PROC_2,
23
PROC_DEFAULT
24
};
25
26
/// @unofficial
27
enum
DESTROY_MODE_e
{
28
DESTROY_NONE,
29
DESTROY_BREAK,
30
DESTROY_VANISH = 3
31
};
32
33
dIceMng_c
(
dActor_c
*owner);
34
~dIceMng_c
();
35
36
void
initialize();
37
PROC_e
manageProc();
38
void
breakEffect();
39
void
removeIce();
40
bool
checkInstantBreak(
int
);
41
bool
createIce(
dIceInfo
*info,
int
count);
42
void
setNonMeltTime();
43
void
stopMeltShake();
44
45
void
setDestroyMode(DESTROY_MODE_e mode) { mDestroyMode = mode; }
46
void
set_14(
int
value) { m_14 = value; }
47
void
set_2c(
int
value) { m_2c = value; }
48
49
u8 mPad1[0x4];
50
int
mThawTimer;
51
int
mThawDuration;
52
int
mActive;
53
u8 mPad3[0x4];
54
int
m_14;
55
DESTROY_MODE_e
mDestroyMode;
56
u8 mPad4[0x10];
57
int
m_2c;
58
int
mPlrNo;
59
u8 mPad5[0x38];
60
};
dActor_c
The minimum required implementation for a stage actor.
Definition
d_actor.hpp:18
dIceEfScale_c
Definition
d_ice_effect_scale.hpp:3
dIceInfo
Definition
d_ice_manager.hpp:6
dIceMng_c
Definition
d_ice_manager.hpp:16
dIceMng_c::DESTROY_MODE_e
DESTROY_MODE_e
Definition
d_ice_manager.hpp:27
dIceMng_c::PROC_e
PROC_e
Definition
d_ice_manager.hpp:19
mVec3_c
A three-dimensional floating point vector.
Definition
m_vec.hpp:122
include
game
bases
d_ice_manager.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.15.0