NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
scn_mdl_simple.hpp
1
#pragma once
2
3
#include <lib/nw4r/g3d/anm_obj.hpp>
4
#include <lib/nw4r/g3d/res_mdl.hpp>
5
#include <lib/nw4r/g3d/scn_leaf.hpp>
6
7
namespace
nw4r {
8
namespace
g3d
{
9
10
class
ScnMdlSimple
:
public
ScnLeaf
{
11
public
:
12
enum
AnmObjType {
13
ANMOBJTYPE_CHR,
14
ANMOBJTYPE_VIS,
15
ANMOBJTYPE_MATCLR,
16
ANMOBJTYPE_TEXPAT,
17
ANMOBJTYPE_TEXSRT,
18
ANMOBJTYPE_SHP,
19
ANMOBJTYPE_NOT_SPECIFIED,
20
21
ANMOBJTYPE_VTX = ANMOBJTYPE_SHP
22
};
23
24
virtual
void
SetAnmObj(
nw4r::g3d::AnmObj
*, nw4r::g3d::ScnMdlSimple::AnmObjType);
25
virtual
void
RemoveAnmObj(
nw4r::g3d::AnmObj
*);
26
virtual
void
RemoveAnmObj(nw4r::g3d::ScnMdlSimple::AnmObjType);
27
virtual
nw4r::g3d::AnmObj
*GetAnmObj(nw4r::g3d::ScnMdlSimple::AnmObjType)
const
;
28
virtual
nw4r::g3d::AnmObj
*GetAnmObj(nw4r::g3d::ScnMdlSimple::AnmObjType);
29
30
static
ScnMdlSimple
*Construct(
MEMAllocator
*,
size_t
*,
ResMdl
,
int
);
31
32
void
EnableScnMdlCallbackTiming(
ScnObj::Timing
);
33
34
bool
GetScnMtxPos(
nw4r::math::MTX34
*, nw4r::g3d::ScnObj::ScnObjMtxType,
unsigned
long
)
const
;
35
36
ResMdl
mpResMdl;
37
char
pad2[0x30];
// not sure how much of the pad is in here vs in ObjMdl
38
void
*mpCallback;
39
40
NW4R_G3D_TYPE_OBJ_DECL(
ScnMdlSimple
);
41
};
42
43
}
// namespace g3d
44
}
// namespace nw4r
nw4r::g3d::AnmObj
Definition
anm_obj.hpp:13
nw4r::g3d::ResMdl
Definition
res_mdl.hpp:38
nw4r::g3d::ScnLeaf
Definition
scn_leaf.hpp:8
nw4r::g3d::ScnMdlSimple
Definition
scn_mdl_simple.hpp:10
nw4r::g3d::ScnObj::Timing
Timing
Definition
scn_obj.hpp:42
nw4r::g3d
3D graphics drawing library.
Definition
docgroup.h:10
MEMAllocator
Definition
MEMHeapCommon.h:21
nw4r::math::MTX34
A 3x4 matrix.
Definition
mtx.hpp:15
include
lib
nw4r
g3d
scn_mdl_simple.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2