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

Description

Definition at line 8 of file d_lytbase.hpp.

Public Member Functions

virtual bool build (const char *, d2d::ResAccMult_c *)
 Builds the layout from a binary layout file.
 
LytTextBox_cfindTextBox (const char *)
 
void allocStringBuffer (nw4r::lyt::Pane *)
 
bool ReadResourceEx (const char *, int, bool)
 
bool ReadResource (const char *, bool)
 
bool ReadResource2 (const char *, int)
 
bool ReadResource3 (const char *, int)
 
void NPaneRegister (const char **, nw4r::lyt::Pane **, int)
 
void WPaneRegister (const char **, nw4r::lyt::Window **, int)
 
void PPaneRegister (const char **, nw4r::lyt::Picture **, int)
 
void TPaneRegister (const char **, LytTextBox_c **, int)
 
void TPaneNameRegister (const char **, const int *, int, int)
 
void AnimeResRegister (const char **, int)
 
void GroupRegister (const char **, const int *, int)
 
void AnimeStartBaseSetup (int)
 
void AnimeStartSetup (int, bool)
 
void LoopAnimeStartSetup (int)
 
void ReverseAnimeStartSetup (int, bool)
 
void AnimeEndSetup (int)
 
void AllAnimeEndSetup ()
 
void AnimePlay ()
 
bool isAnime (int)
 
bool isAllAnime ()
 
void FUN_800c9770 (void *, float *)
 
bool doDelete ()
 
- Public Member Functions inherited from d2d::Multi_c
 Multi_c ()
 Creates a layout.
 
virtual ~Multi_c ()
 Destroys the layout.
 
virtual void draw ()
 Draws the layout.
 
virtual void calc ()
 Applies the view matrix.
 
void entry ()
 Registers the layout to be drawn.
 
void calcBefore ()
 Calculates an animation step before the main calculation.
 
void calcAfter ()
 Calculates the view rectangle and view matrix after the main calculation.
 
nw4r::lyt::PanegetRootPane ()
 Gets the root pane of the layout.
 
nw4r::lyt::PanefindPaneByName (const char *name)
 Finds a pane by name.
 
nw4r::lyt::TextBoxfindTextBoxByName (const char *name)
 Finds a text box pane by name.
 
nw4r::lyt::PicturefindPictureByName (const char *name)
 Finds a picture pane by name.
 
nw4r::lyt::WindowfindWindowByName (const char *name)
 Finds a window pane by name.
 
- Public Member Functions inherited from m2d::Base_c
void entry ()
 

Public Attributes

d2d::ResAccMultLoader_c mResAccessorLoader
 
m2d::AnmResV2_cmpAnimRes
 
m2d::AnmGroup_cmpAnimGroup
 
bool * mpEnabledAnims
 
int mAnimCount
 
int mGroupCount
 
int mLastStartedAnimNum
 
- Public Attributes inherited from d2d::Multi_c
ResAccMult_cmpResAccessor
 The resource accessor for the layout.
 
mVec2_c mPos
 The position of the layout.
 
ScissorMask mScissorMask
 The scissor mask for the layout.
 
- Public Attributes inherited from m2d::Base_c
u8 mDrawOrder
 

Static Public Attributes

static TagProcessor_c s_TagPrc
 

Member Function Documentation

◆ build()

virtual bool LytBase_c::build ( const char * name,
d2d::ResAccMult_c * resAcc )
virtual

Builds the layout from a binary layout file.

Parameters
nameThe name of the binary layout file.
resAccThe resource accessor to use. If nullptr, uses the internal accessor.
Returns
Whether the layout was built successfully.

Reimplemented from d2d::Multi_c.

◆ ReadResource3()

bool LytBase_c::ReadResource3 ( const char * ,
int  )

Not in Shield version.

◆ FUN_800c9770()

void LytBase_c::FUN_800c9770 ( void * ,
float *  )

Member Data Documentation

◆ mResAccessorLoader

d2d::ResAccMultLoader_c LytBase_c::mResAccessorLoader

Definition at line 46 of file d_lytbase.hpp.

◆ mpAnimRes

m2d::AnmResV2_c* LytBase_c::mpAnimRes

Definition at line 48 of file d_lytbase.hpp.

◆ mpAnimGroup

m2d::AnmGroup_c* LytBase_c::mpAnimGroup

Definition at line 49 of file d_lytbase.hpp.

◆ mpEnabledAnims

bool* LytBase_c::mpEnabledAnims

Definition at line 51 of file d_lytbase.hpp.

◆ mAnimCount

int LytBase_c::mAnimCount

Definition at line 52 of file d_lytbase.hpp.

◆ mGroupCount

int LytBase_c::mGroupCount

Definition at line 54 of file d_lytbase.hpp.

◆ mLastStartedAnimNum

int LytBase_c::mLastStartedAnimNum

Definition at line 56 of file d_lytbase.hpp.

◆ s_TagPrc

TagProcessor_c LytBase_c::s_TagPrc
static

Definition at line 59 of file d_lytbase.hpp.