NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::lyt::Layout Class Reference
Inheritance diagram for nw4r::lyt::Layout:
[legend]

Description

Definition at line 56 of file lyt_layout.h.

Public Member Functions

virtual bool Build (const void *pLytBinary, ResourceAccessor *pAccessor)
 
virtual AnimTransformCreateAnimTransform ()
 
virtual AnimTransformCreateAnimTransform (const void *pAnmBinary, ResourceAccessor *pAccessor)
 
virtual AnimTransformCreateAnimTransform (const nw4r::lyt::AnimResource &, nw4r::lyt::ResourceAccessor *)
 
virtual void BindAnimation (AnimTransform *pAnimTrans)
 
virtual void UnbindAnimation (AnimTransform *pAnimTrans)
 
virtual void UnbindAllAnimation ()
 
virtual bool BindAnimationAuto (const nw4r::lyt::AnimResource &, nw4r::lyt::ResourceAccessor *)
 
virtual void SetAnimationEnable (AnimTransform *pAnimTrans, bool enable)
 
virtual void CalculateMtx (const DrawInfo &rInfo)
 
virtual void Draw (const DrawInfo &rInfo)
 
virtual void Animate (ulong option)
 
virtual void SetTagProcessor (ut::WideTagProcessor *pProcessor)
 
ut::Rect GetLayoutRect () const
 
PaneGetRootPane () const
 
GroupContainerGetGroupContainer () const
 

Static Public Member Functions

static MEMAllocatorGetAllocator ()
 
static void SetAllocator (MEMAllocator *pAllocator)
 
static void * AllocMemory (ulong size)
 
static void FreeMemory (void *pBlock)
 

Static Public Attributes

static const ulong SIGNATURE = 'RLYT'
 
static const ulong SIGNATURE_ANIMATION = 'RLAN'
 

Static Protected Member Functions

static PaneBuildPaneObj (s32 kind, const void *pBinary, const ResBlockSet &rBlockSet) DECOMP_DONT_INLINE
 

Protected Attributes

AnimTransformList mAnimTransList
 
PanempRootPane
 
GroupContainermpGroupContainer
 
Size mLayoutSize
 

Static Protected Attributes

static const ulong SIGNATURE_TEXTURELIST = 'txl1'
 
static const ulong SIGNATURE_FONTLIST = 'fnl1'
 
static const ulong SIGNATURE_MATERIALLIST = 'mat1'
 
static const ulong SIGNATURE_ANIMATIONINFO = 'pai1'
 
static const ulong SIGNATURE_PANESTART = 'pas1'
 
static const ulong SIGNATURE_PANEEND = 'pae1'
 
static const ulong SIGNATURE_GROUPSTART = 'grs1'
 
static const ulong SIGNATURE_GROUPEND = 'gre1'
 
static MEMAllocatormspAllocator
 

Member Function Documentation

◆ GetRootPane()

Pane * nw4r::lyt::Layout::GetRootPane ( ) const
inline

Definition at line 92 of file lyt_layout.h.

◆ GetGroupContainer()

GroupContainer * nw4r::lyt::Layout::GetGroupContainer ( ) const
inline

Definition at line 96 of file lyt_layout.h.

◆ GetAllocator()

static MEMAllocator * nw4r::lyt::Layout::GetAllocator ( )
inlinestatic

Definition at line 100 of file lyt_layout.h.

◆ SetAllocator()

static void nw4r::lyt::Layout::SetAllocator ( MEMAllocator * pAllocator)
inlinestatic

Definition at line 103 of file lyt_layout.h.

◆ AllocMemory()

static void * nw4r::lyt::Layout::AllocMemory ( ulong size)
inlinestatic

Definition at line 107 of file lyt_layout.h.

◆ FreeMemory()

static void nw4r::lyt::Layout::FreeMemory ( void * pBlock)
inlinestatic

Definition at line 110 of file lyt_layout.h.

Member Data Documentation

◆ SIGNATURE

const ulong nw4r::lyt::Layout::SIGNATURE = 'RLYT'
static

Definition at line 58 of file lyt_layout.h.

◆ SIGNATURE_ANIMATION

const ulong nw4r::lyt::Layout::SIGNATURE_ANIMATION = 'RLAN'
static

Definition at line 59 of file lyt_layout.h.

◆ SIGNATURE_TEXTURELIST

const ulong nw4r::lyt::Layout::SIGNATURE_TEXTURELIST = 'txl1'
staticprotected

Definition at line 115 of file lyt_layout.h.

◆ SIGNATURE_FONTLIST

const ulong nw4r::lyt::Layout::SIGNATURE_FONTLIST = 'fnl1'
staticprotected

Definition at line 116 of file lyt_layout.h.

◆ SIGNATURE_MATERIALLIST

const ulong nw4r::lyt::Layout::SIGNATURE_MATERIALLIST = 'mat1'
staticprotected

Definition at line 117 of file lyt_layout.h.

◆ SIGNATURE_ANIMATIONINFO

const ulong nw4r::lyt::Layout::SIGNATURE_ANIMATIONINFO = 'pai1'
staticprotected

Definition at line 119 of file lyt_layout.h.

◆ SIGNATURE_PANESTART

const ulong nw4r::lyt::Layout::SIGNATURE_PANESTART = 'pas1'
staticprotected

Definition at line 121 of file lyt_layout.h.

◆ SIGNATURE_PANEEND

const ulong nw4r::lyt::Layout::SIGNATURE_PANEEND = 'pae1'
staticprotected

Definition at line 122 of file lyt_layout.h.

◆ SIGNATURE_GROUPSTART

const ulong nw4r::lyt::Layout::SIGNATURE_GROUPSTART = 'grs1'
staticprotected

Definition at line 124 of file lyt_layout.h.

◆ SIGNATURE_GROUPEND

const ulong nw4r::lyt::Layout::SIGNATURE_GROUPEND = 'gre1'
staticprotected

Definition at line 125 of file lyt_layout.h.

◆ mAnimTransList

AnimTransformList nw4r::lyt::Layout::mAnimTransList
protected

Definition at line 132 of file lyt_layout.h.

◆ mpRootPane

Pane* nw4r::lyt::Layout::mpRootPane
protected

Definition at line 133 of file lyt_layout.h.

◆ mpGroupContainer

GroupContainer* nw4r::lyt::Layout::mpGroupContainer
protected

Definition at line 134 of file lyt_layout.h.

◆ mLayoutSize

Size nw4r::lyt::Layout::mLayoutSize
protected

Definition at line 135 of file lyt_layout.h.

◆ mspAllocator

MEMAllocator* nw4r::lyt::Layout::mspAllocator
staticprotected

Definition at line 137 of file lyt_layout.h.