NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
scn_leaf.hpp
1
#pragma once
2
#include <nw4r/g3d.h>
3
#include <nw4r/math.h>
4
5
namespace
m3d
{
6
class
scnLeaf_c {
7
public
:
8
/// @unofficial
9
enum
leafType_e
{
10
TYPE_BMDL,
11
TYPE_UNUSED,
12
TYPE_PROC
13
};
14
15
scnLeaf_c
();
16
virtual
~scnLeaf_c
();
17
18
virtual
leafType_e
getType()
const
= 0;
19
virtual
void
remove();
20
virtual
void
entry();
21
22
void
setOption(ulong option, ulong value);
23
bool
getOption(ulong option, ulong *value)
const
;
24
void
setScale(
float
x,
float
y,
float
z);
25
void
setScale(
const
nw4r::math::VEC3
&scale);
26
void
setLocalMtx(
const
nw4r::math::MTX34
*mtx);
27
void
getLocalMtx(
nw4r::math::MTX34
*mtx)
const
;
28
void
getViewMtx(
nw4r::math::MTX34
*mtx)
const
;
29
void
calc(
bool
keepEnabledAfter);
30
void
calcVtx(
bool
keepEnabledAfter);
31
void
setPriorityDraw(
int
prioOpa,
int
prioXlu);
32
33
nw4r::g3d::ScnObj
*getScn()
const
{
return
mpScn; }
34
35
protected
:
36
nw4r::g3d::ScnLeaf
*mpScn;
37
};
38
}
m3d::scnLeaf_c
Definition
scn_leaf.hpp:6
m3d::scnLeaf_c::leafType_e
leafType_e
Definition
scn_leaf.hpp:9
nw4r::g3d::ScnLeaf
Definition
g3d_scnobj.h:315
nw4r::g3d::ScnObj
Definition
g3d_scnobj.h:39
m3d
mLib 3D library
Definition
anm_chr.hpp:5
nw4r::math::MTX34
Definition
math_types.h:208
nw4r::math::VEC3
Definition
math_types.h:81
include
game
mLib
m_3d
scn_leaf.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2