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

Description

Definition at line 25 of file g3d_respltt.h.

Public Member Functions

 NW4R_G3D_RESOURCE_FUNC_DEF (ResPltt)
 
void Init ()
 
ulong GetRevision () const
 
bool CheckRevision () const
 
void DCStore (bool sync)
 
u16 * GetPlttData ()
 
const u16 * GetPlttData () const
 
GXTlutFmt GetFmt () const
 
ulong GetNumEntries () const
 
- Public Member Functions inherited from nw4r::g3d::ResCommon< ResPlttData >
 ResCommon (void *pData)
 
 ResCommon (const void *pData)
 
bool IsValid () const
 
ResPlttDataptr ()
 
const ResPlttDataptr () const
 
ResPlttDataref ()
 
const ResPlttDataref () const
 
ResPlttDataofs_to_ptr_raw (s32 ofs)
 
const ResPlttDataofs_to_ptr_raw (s32 ofs) const
 
ResPlttDataofs_to_ptr (s32 ofs)
 
const ResPlttDataofs_to_ptr (s32 ofs) const
 
ResPlttData ofs_to_obj (s32 ofs)
 
const ResPlttData ofs_to_obj (s32 ofs) const
 

Static Public Attributes

static const ulong SIGNATURE = 'PLT0'
 
static const int REVISION = 1
 

Member Function Documentation

◆ Init()

void nw4r::g3d::ResPltt::Init ( )
inline

Definition at line 33 of file g3d_respltt.h.

◆ GetRevision()

ulong nw4r::g3d::ResPltt::GetRevision ( ) const
inline

Definition at line 37 of file g3d_respltt.h.

◆ CheckRevision()

bool nw4r::g3d::ResPltt::CheckRevision ( ) const
inline

Definition at line 41 of file g3d_respltt.h.

◆ GetPlttData() [1/2]

u16 * nw4r::g3d::ResPltt::GetPlttData ( )
inline

Definition at line 47 of file g3d_respltt.h.

◆ GetPlttData() [2/2]

const u16 * nw4r::g3d::ResPltt::GetPlttData ( ) const
inline

Definition at line 57 of file g3d_respltt.h.

◆ GetFmt()

GXTlutFmt nw4r::g3d::ResPltt::GetFmt ( ) const
inline

Definition at line 67 of file g3d_respltt.h.

◆ GetNumEntries()

ulong nw4r::g3d::ResPltt::GetNumEntries ( ) const
inline

Definition at line 71 of file g3d_respltt.h.

Member Data Documentation

◆ SIGNATURE

const ulong nw4r::g3d::ResPltt::SIGNATURE = 'PLT0'
static

Definition at line 27 of file g3d_respltt.h.

◆ REVISION

const int nw4r::g3d::ResPltt::REVISION = 1
static

Definition at line 28 of file g3d_respltt.h.