NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Toggle main menu visibility
Introduction
Documentation
References
Namespace Reference
Class Reference
File Reference
Contributing
Build System Overview
Contribution Guidelines
Decompilation Progress
Todo List
Other Pages
Game Bugs
Unused Elements
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
anm_tex_pat.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
anmTexPat_c
:
public
banm_c {
8
public
:
9
virtual
~anmTexPat_c
();
10
virtual
void
remove();
11
virtual
void
play();
12
virtual
banm_c::anmType_e
getType(
void
)
const
{
return
banm_c::TYPE_ANM_TEX_PAT; };
13
14
static
size_t
heapCost(
nw4r::g3d::ResMdl
mdl,
nw4r::g3d::ResAnmTexPat
anmTexPat,
long
count,
bool
calcAligned);
15
bool
create(
nw4r::g3d::ResMdl
mdl,
nw4r::g3d::ResAnmTexPat
anmTexPat,
mAllocator_c
*allocator,
size_t
*objSize,
long
count);
16
void
setAnm(
m3d::bmdl_c
&mdl,
nw4r::g3d::ResAnmTexPat
anmTexPat,
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
float
getFrameStart(
long
idx)
const
;
28
29
class
child_c
:
public
fanm_c
{
30
public
:
31
virtual
banm_c::anmType_e
getType(
void
)
const
{
return
banm_c::TYPE_ANM_TEX_PAT; };
32
virtual
~child_c
() {}
33
34
static
size_t
heapCost(
nw4r::g3d::ResMdl
mdl,
nw4r::g3d::ResAnmTexPat
anmTexPat,
bool
calcAligned);
35
bool
create(
nw4r::g3d::ResMdl
mdl,
nw4r::g3d::ResAnmTexPat
anmTexPat,
mAllocator_c
*allocator,
size_t
*objSize);
36
void
setAnm(
m3d::bmdl_c
&mdl,
nw4r::g3d::ResAnmTexPat
anmTexPat,
m3d::playMode_e
playMode);
37
void
releaseAnm();
38
void
setFrmCtrlDefault(
nw4r::g3d::ResAnmTexPat
&anmTexPat,
m3d::playMode_e
playMode);
39
};
29
class
child_c
:
public
fanm_c
{
…
};
40
41
child_c
*children;
42
};
7
class
anmTexPat_c
:
public
banm_c {
…
};
43
}
m3d::anmTexPat_c::child_c
Definition
anm_tex_pat.hpp:29
m3d::anmTexPat_c
Definition
anm_tex_pat.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::ResAnmTexPat
Definition
res_anm.hpp:49
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_pat.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2