A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
Render::AnmMgr Class Reference

Description

Definition at line 36 of file AnmMgr.hh.

Public Member Functions

 AnmMgr (DrawMdl *drawMdl)
 
void linkAnims (size_t idx, const Abstract::g3d::ResFile *resFile, const char *name, AnmType anmType)
 
void playAnim (f32 frame, f32 rate, size_t idx)
 
const AnmNodeChractiveAnim (AnmType anmType) const
 

Private Attributes

DrawMdlm_parent
 
std::list< AnmNodeChrm_anmList
 
std::array< AnmNodeChr *, static_cast< size_t >(AnmType::Max) - 1 > m_activeAnims
 

Constructor & Destructor Documentation

◆ AnmMgr()

Render::AnmMgr::AnmMgr ( DrawMdl * drawMdl)
inline0x80555750

Definition at line 39 of file AnmMgr.hh.

Member Function Documentation

◆ activeAnim()

const AnmNodeChr * Render::AnmMgr::activeAnim ( AnmType anmType) const
inlinenodiscard0x80557340

Definition at line 46 of file AnmMgr.hh.

◆ linkAnims()

void Render::AnmMgr::linkAnims ( size_t idx,
const Abstract::g3d::ResFile * resFile,
const char * name,
AnmType anmType )
0x8055597C

Definition at line 6 of file AnmMgr.cc.

◆ playAnim()

void Render::AnmMgr::playAnim ( f32 frame,
f32 rate,
size_t idx )
0x805573CC

Definition at line 19 of file AnmMgr.cc.

Member Data Documentation

◆ m_activeAnims

std::array<AnmNodeChr *, static_cast<size_t>(AnmType::Max) - 1> Render::AnmMgr::m_activeAnims
private

Definition at line 53 of file AnmMgr.hh.

◆ m_anmList

std::list<AnmNodeChr> Render::AnmMgr::m_anmList
private

Definition at line 52 of file AnmMgr.hh.

◆ m_parent

DrawMdl* Render::AnmMgr::m_parent
private

Definition at line 51 of file AnmMgr.hh.