NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_2d.hpp
1
#pragma once
2
#include <game/bases/d_resource.hpp>
3
#include <game/mLib/m_2d/base.hpp>
4
#include <game/mLib/m_vec.hpp>
5
#include <nw4r/lyt.h>
6
#include <nw4r/math.h>
7
8
namespace
d2d {
9
10
/// @unofficial
11
struct
ClipSettings {
12
ClipSettings() : mPos(0.0f, 0.0f), mSize(0.0f, 0.0f), mEnabled(
false
) {}
13
14
ClipSettings &operator=(
const
ClipSettings &other) {
15
mPos = other.mPos;
16
mSize = other.mSize;
17
mEnabled = other.mEnabled;
18
return
*
this
;
19
}
20
21
mVec2_c
mPos;
22
mVec2_c
mSize;
23
bool
mEnabled;
24
};
25
26
class
Multi_c
:
public
m2d::Base_c
{
27
public
:
28
virtual
~Multi_c
();
29
virtual
void
draw();
30
virtual
void
calc();
31
virtual
bool
build(
const
char
*,
ResAccMult_c
*);
32
33
void
entry();
34
nw4r::lyt::Pane
*getRootPane();
35
36
private
:
37
nw4r::lyt::Layout
mLayout;
38
nw4r::lyt::DrawInfo
mDrawInfo;
39
40
public
:
41
ResAccMult_c
*mpResAccessor;
42
mVec2_c
mPos;
43
44
ClipSettings
mClipSettings;
45
46
private
:
47
u32 mFlags;
48
u32 mUnknown_98;
49
};
50
51
}
// namespace d2d
d2d::Multi_c
Definition
d_2d.hpp:26
d2d::ResAccMult_c
Definition
d_resource.hpp:9
m2d::Base_c
Definition
base.hpp:7
mVec2_c
A two-dimensional floating point vector.
Definition
m_vec.hpp:9
nw4r::lyt::DrawInfo
Definition
lyt_drawInfo.h:11
nw4r::lyt::Layout
Definition
lyt_layout.h:56
nw4r::lyt::Pane
Definition
lyt_pane.h:77
d2d::ClipSettings
Definition
d_2d.hpp:11
include
game
bases
d_2d.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2