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

Description

Definition at line 29 of file snd_PlayerHeap.h.

Public Types

typedef ut::LinkList< PlayerHeap, 0x18 > LinkList
 

Public Member Functions

virtual void * Alloc (ulong size)
 
bool Create (void *startAddress, ulong size)
 
void Clear ()
 
void Destroy ()
 
ulong GetFreeSize () const
 
void AttachSound (BasicSound *sound)
 
void DetachSound (BasicSound *sound)
 
void AttachSoundPlayer (SoundPlayer *player)
 

Public Attributes

ut::LinkListNode mLink
 

Private Attributes

BasicSoundmSound
 
SoundPlayermPlayer
 
void * mStartAddress
 
void * mEndAddress
 
void * mAllocAddress
 

Member Typedef Documentation

◆ LinkList

Member Function Documentation

◆ Alloc()

virtual void * nw4r::snd::detail::PlayerHeap::Alloc ( ulong size)
virtual

◆ AttachSoundPlayer()

void nw4r::snd::detail::PlayerHeap::AttachSoundPlayer ( SoundPlayer * player)
inline

Definition at line 55 of file snd_PlayerHeap.h.

Member Data Documentation

◆ mSound

BasicSound* nw4r::snd::detail::PlayerHeap::mSound
private

Definition at line 60 of file snd_PlayerHeap.h.

◆ mPlayer

SoundPlayer* nw4r::snd::detail::PlayerHeap::mPlayer
private

Definition at line 61 of file snd_PlayerHeap.h.

◆ mStartAddress

void* nw4r::snd::detail::PlayerHeap::mStartAddress
private

Definition at line 62 of file snd_PlayerHeap.h.

◆ mEndAddress

void* nw4r::snd::detail::PlayerHeap::mEndAddress
private

Definition at line 63 of file snd_PlayerHeap.h.

◆ mAllocAddress

void* nw4r::snd::detail::PlayerHeap::mAllocAddress
private

Definition at line 64 of file snd_PlayerHeap.h.

◆ mLink

ut::LinkListNode nw4r::snd::detail::PlayerHeap::mLink

Definition at line 66 of file snd_PlayerHeap.h.