NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
anm_tex_srt.hpp
1
#pragma once
2
#include <game/mLib/m_3d/banm.hpp>
3
#include <game/mLib/m_3d/bmdl.hpp>
4
#include <game/mLib/m_3d/fanm.hpp>
5
6
namespace
m3d
{
7
class
anmTexSrt_c
:
public
banm_c {
8
public
:
9
virtual
~anmTexSrt_c
();
10
virtual
void
remove();
11
virtual
void
play();
12
virtual
banm_c::anmType_e
getType(
void
)
const
{
return
TYPE_ANM_TEX_SRT; };
13
14
static
size_t
heapCost(
nw4r::g3d::ResMdl
mdl,
nw4r::g3d::ResAnmTexSrt
anmTexSrt,
long
count,
bool
calcAligned);
15
bool
create(
nw4r::g3d::ResMdl
mdl,
nw4r::g3d::ResAnmTexSrt
anmTexSrt,
mAllocator_c
*allocator,
size_t
*objSize,
long
count);
16
void
setAnm(
m3d::bmdl_c
&mdl,
nw4r::g3d::ResAnmTexSrt
anmTexSrt,
long
idx,
m3d::playMode_e
playMode);
17
void
releaseAnm(
long
idx);
18
void
play(
long
idx);
19
float
getFrame(
long
idx)
const
;
20
void
setFrame(
float
frame,
long
idx);
21
float
getRate(
long
idx)
const
;
22
void
setRate(
float
rate,
long
idx);
23
bool
isStop(
long
idx)
const
;
24
bool
checkFrame(
float
frame,
long
idx)
const
;
25
void
setPlayMode(
m3d::playMode_e
playMode,
long
idx);
26
float
getFrameMax(
long
idx)
const
;
27
void
setFrameStart(
float
frame,
long
idx);
28
29
class
child_c
:
public
fanm_c
{
30
public
:
31
virtual
banm_c::anmType_e
getType(
void
)
const
{
return
TYPE_ANM_TEX_SRT; };
32
virtual
~child_c
() {}
33
34
static
size_t
heapCost(
nw4r::g3d::ResMdl
mdl,
nw4r::g3d::ResAnmTexSrt
anmTexSrt,
bool
calcAligned);
35
bool
create(
nw4r::g3d::ResMdl
mdl,
nw4r::g3d::ResAnmTexSrt
anmTexSrt,
mAllocator_c
*allocator,
size_t
*objSize);
36
void
setAnm(
m3d::bmdl_c
&mdl,
nw4r::g3d::ResAnmTexSrt
anmTexSrt,
m3d::playMode_e
playMode);
37
void
releaseAnm();
38
void
setFrmCtrlDefault(
nw4r::g3d::ResAnmTexSrt
&anmTexSrt,
m3d::playMode_e
playMode);
39
};
40
41
child_c
*children;
42
};
43
}
m3d::anmTexSrt_c::child_c
Definition
anm_tex_srt.hpp:29
m3d::anmTexSrt_c
Definition
anm_tex_srt.hpp:7
m3d::banm_c::anmType_e
anmType_e
Definition
banm.hpp:21
m3d::bmdl_c
Definition
bmdl.hpp:8
m3d::fanm_c::fanm_c
fanm_c()
Constructs an animation object.
Definition
fanm.cpp:3
mAllocator_c
An allocator class that wraps an EGG:Allocator .
Definition
m_allocator.hpp:8
nw4r::g3d::ResAnmTexSrt
Definition
res_anm.hpp:62
nw4r::g3d::ResMdl
Definition
res_mdl.hpp:38
m3d
mLib 3D library
Definition
anm_chr.hpp:5
m3d::playMode_e
playMode_e
Definition
banm.hpp:7
include
game
mLib
m_3d
anm_tex_srt.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2