Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
HBMBase.cpp File Reference

Classes

struct  AnmControllerTable
 

Namespaces

namespace  homebutton
 

Enumerations

enum  HBMAllocatorType { HBM_ALLOCATOR_APPLI , HBM_ALLOCATOR_LOCAL , HBM_ALLOCATOR_NW4HBM }
 

Functions

void * HBMAllocMem (u32 size)
 
void HBMFreeMem (void *mem)
 
void HBMCreate (const HBMDataInfo *pHBInfo)
 
void HBMDelete ()
 
void HBMInit ()
 
HBMSelectBtnNum HBMCalc (const HBMControllerData *pController)
 
void HBMDraw ()
 
HBMSelectBtnNum HBMGetSelectBtnNum ()
 
void HBMSetAdjustFlag (bool flag)
 
void HBMStartBlackOut ()
 
void HBMPlaySound (int num)
 
void HBMUpdateSoundArchivePlayer (void)
 
void HBMSetSoundVolume (f32 volume)
 
void HBMStopSound (void)
 
void HBMCreateSound (const char *path, void *memBuf, u32 memSize)
 
void HBMDeleteSound (void)
 
void HBMUpdateSound (void)
 
static HBMAllocatorType getAllocatorType (const HBMDataInfo *pHBInfo)
 
static u32 homebutton::get_comma_length (char *pBuf)
 
static void homebutton::SpeakerCallback (OSAlarm *alm, OSContext *)
 
static void homebutton::MotorCallback (OSAlarm *alm, OSContext *)
 
static void homebutton::RetrySimpleSyncCallback (OSAlarm *alm, OSContext *)
 
static void homebutton::SimpleSyncCallback (s32 result, s32 num)
 
static void homebutton::drawBlackPlate (f32 left, f32 top, f32 right, f32 bottom)
 
static void homebutton::initgx ()
 

Variables

static MEMAllocator sAllocator
 
static MEMAllocator sSoundAllocator
 
MEMAllocatorspAllocator = &sAllocator
 
static const AnmControllerTable homebutton::scAnmTable [12]
 
static const AnmControllerTable homebutton::scGroupAnmTable [74]
 

Enumeration Type Documentation

◆ HBMAllocatorType

Enumerator
HBM_ALLOCATOR_APPLI 
HBM_ALLOCATOR_LOCAL 
HBM_ALLOCATOR_NW4HBM 

Function Documentation

◆ getAllocatorType()

static HBMAllocatorType getAllocatorType ( const HBMDataInfo * pHBInfo)
static

◆ HBMAllocMem()

void * HBMAllocMem ( u32 size)

◆ HBMCalc()

HBMSelectBtnNum HBMCalc ( const HBMControllerData * pController)

◆ HBMCreate()

void HBMCreate ( const HBMDataInfo * pHBInfo)

◆ HBMCreateSound()

void HBMCreateSound ( const char * path,
void * memBuf,
u32 memSize )

◆ HBMDelete()

void HBMDelete ( void )

◆ HBMDeleteSound()

void HBMDeleteSound ( void )

◆ HBMDraw()

void HBMDraw ( void )

◆ HBMFreeMem()

void HBMFreeMem ( void * mem)

◆ HBMGetSelectBtnNum()

HBMSelectBtnNum HBMGetSelectBtnNum ( void )

◆ HBMInit()

void HBMInit ( void )

◆ HBMPlaySound()

void HBMPlaySound ( int num)

◆ HBMSetAdjustFlag()

void HBMSetAdjustFlag ( bool flag)

◆ HBMSetSoundVolume()

void HBMSetSoundVolume ( f32 volume)

◆ HBMStartBlackOut()

void HBMStartBlackOut ( void )

◆ HBMStopSound()

void HBMStopSound ( void )

◆ HBMUpdateSound()

void HBMUpdateSound ( void )

◆ HBMUpdateSoundArchivePlayer()

void HBMUpdateSoundArchivePlayer ( void )

Variable Documentation

◆ sAllocator

MEMAllocator sAllocator
static

◆ spAllocator

MEMAllocator* spAllocator = &sAllocator

◆ sSoundAllocator

MEMAllocator sSoundAllocator
static