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

#include <ResAnmChr.hh>

Description

Represents the CHR0 file format, which pertains to model movement animations.

Definition at line 14 of file ResAnmChr.hh.

Classes

struct  Data
 
struct  InfoData
 

Public Member Functions

 STATIC_ASSERT (sizeof(InfoData)==0xC)
 
 STATIC_ASSERT (sizeof(Data)==0x2C)
 
 ResAnmChr (const void *data)
 
void read (EGG::Stream &stream)
 
u16 frameCount () const
 
AnmPolicy policy () const
 

Private Attributes

const Datam_rawData
 
InfoData m_infoData
 

Constructor & Destructor Documentation

◆ ResAnmChr()

Abstract::g3d::ResAnmChr::ResAnmChr ( const void * data)
inline

Definition at line 43 of file ResAnmChr.hh.

Member Function Documentation

◆ frameCount()

u16 Abstract::g3d::ResAnmChr::frameCount ( ) const
inlinenodiscard

Definition at line 53 of file ResAnmChr.hh.

◆ policy()

AnmPolicy Abstract::g3d::ResAnmChr::policy ( ) const
inlinenodiscard

Definition at line 57 of file ResAnmChr.hh.

◆ read()

void Abstract::g3d::ResAnmChr::read ( EGG::Stream & stream)
inline

Definition at line 48 of file ResAnmChr.hh.

Member Data Documentation

◆ m_infoData

InfoData Abstract::g3d::ResAnmChr::m_infoData
private

Definition at line 63 of file ResAnmChr.hh.

◆ m_rawData

const Data* Abstract::g3d::ResAnmChr::m_rawData
private

Definition at line 62 of file ResAnmChr.hh.