Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
dStage_roomControl_c Class Reference

#include <d_stage.h>

+ Collaboration diagram for dStage_roomControl_c:

Classes

struct  bankData
 
struct  bankDataEntry
 
struct  nameData
 
class  roomDzs_c
 

Public Member Functions

 dStage_roomControl_c ()
 
void init (void)
 
void initZone ()
 
dStage_roomStatus_cgetStatusRoomDt (int)
 
BOOL checkRoomDisp (int) const
 
int loadRoom (int, u8 *, bool)
 
void zoneCountCheck (int) const
 
dKy_tevstr_cgetTevStr (int i_roomNo)
 
void setStatusFlag (int i_roomNo, u8 flag)
 
BOOL checkStatusFlag (int i_roomNo, u8 flag) const
 
void offStatusFlag (int i_roomNo, u8 flag)
 
void onStatusFlag (int i_roomNo, u8 flag)
 

Static Public Member Functions

static void createRoomDzs (u8 i_num)
 
static voidaddRoomDzs (u8 i_num, u8 roomNo)
 
static void removeRoomDzs ()
 
static int getZoneNo (int i_roomNo)
 
static JKRExpHeapgetMemoryBlock (int)
 
static void setStayNo (int)
 
static void setNextStayNo (int)
 
static JKRExpHeapcreateMemoryBlock (int, u32)
 
static void destroyMemoryBlock ()
 
static void setArcBank (int, char const *)
 
static chargetArcBank (int)
 
static bool resetArchiveBank (int)
 
static void SetTimePass (int)
 
static void setZoneNo (int, int)
 
static s8 GetTimePass ()
 
static s8 getStayNo ()
 
static u8 getRegionNo (int i_roomNo)
 
static s8 getMemoryBlockID (int i_roomNo)
 
static void onStatusDraw (int i_roomNo)
 
static dStage_FileList2_dt_cgetFileList2 (int i_roomNo)
 
static chargetDemoArcName ()
 
static nameDatagetArcBankName ()
 
static bankDatagetArcBankData ()
 
static void setRoomReadId (s8 id)
 
static s8 getRoomReadId ()
 
static void offNoChangeRoom ()
 
static void onNoChangeRoom ()
 
static void setProcID (u32 id)
 
static u32 getProcID ()
 
static void setStatusProcID (int i_roomNo, fpc_ProcID i_id)
 
static int getStatusProcID (int i_roomNo)
 
static void setRegionNo (int i_roomNo, u8 i_regionNo)
 
static void setZoneCount (int i_roomNo, int count)
 
static void setMemoryBlockID (int i_roomNo, int i_blockID)
 
static void setFileList2 (int i_roomNo, dStage_FileList2_dt_c *list)
 
static void setBgW (int param_0, dBgW_base *i_bgw)
 

Static Public Attributes

static u8 mStatus [65792]
 
static JKRExpHeapmMemoryBlock [19]
 
static char mArcBank [32][10] = {0}
 
static dStage_roomStatus_c mStatus [0x40]
 
static char mDemoArcName [10]
 
static u32 mProcID
 
static nameDatamArcBankName
 
static bankDatamArcBankData
 
static roomDzs_c m_roomDzs
 
static s8 mStayNo
 
static s8 mOldStayNo
 
static s8 mNextStayNo
 
static s8 m_time_pass
 
static u8 mNoChangeRoom
 

Private Attributes

u8 field_0x0 [4]
 

Constructor & Destructor Documentation

◆ dStage_roomControl_c()

dStage_roomControl_c::dStage_roomControl_c ( )
inline

Member Function Documentation

◆ addRoomDzs()

static void * dStage_roomControl_c::addRoomDzs ( u8  i_num,
u8  roomNo 
)
inlinestatic

◆ checkRoomDisp()

BOOL dStage_roomControl_c::checkRoomDisp ( int  i_roomNo) const

◆ checkStatusFlag()

BOOL dStage_roomControl_c::checkStatusFlag ( int  i_roomNo,
u8  flag 
) const
inline

◆ createMemoryBlock()

JKRExpHeap * dStage_roomControl_c::createMemoryBlock ( int  i_blockIdx,
u32  i_heapSize 
)
static

◆ createRoomDzs()

static void dStage_roomControl_c::createRoomDzs ( u8  i_num)
inlinestatic

◆ destroyMemoryBlock()

void dStage_roomControl_c::destroyMemoryBlock ( )
static

◆ getArcBank()

char * dStage_roomControl_c::getArcBank ( int  i_bank)
static

◆ getArcBankData()

static bankData * dStage_roomControl_c::getArcBankData ( )
inlinestatic

◆ getArcBankName()

static nameData * dStage_roomControl_c::getArcBankName ( )
inlinestatic

◆ getDemoArcName()

static char * dStage_roomControl_c::getDemoArcName ( )
inlinestatic

◆ getFileList2()

static dStage_FileList2_dt_c * dStage_roomControl_c::getFileList2 ( int  i_roomNo)
inlinestatic

◆ getMemoryBlock()

JKRExpHeap * dStage_roomControl_c::getMemoryBlock ( int  i_roomNo)
static

◆ getMemoryBlockID()

static s8 dStage_roomControl_c::getMemoryBlockID ( int  i_roomNo)
inlinestatic

◆ getProcID()

static u32 dStage_roomControl_c::getProcID ( )
inlinestatic

◆ getRegionNo()

static u8 dStage_roomControl_c::getRegionNo ( int  i_roomNo)
inlinestatic

◆ getRoomReadId()

static s8 dStage_roomControl_c::getRoomReadId ( )
inlinestatic

◆ getStatusProcID()

static int dStage_roomControl_c::getStatusProcID ( int  i_roomNo)
inlinestatic

◆ getStatusRoomDt()

dStage_roomStatus_c * dStage_roomControl_c::getStatusRoomDt ( int  i_statusIdx)

◆ getStayNo()

static s8 dStage_roomControl_c::getStayNo ( )
inlinestatic

◆ getTevStr()

dKy_tevstr_c * dStage_roomControl_c::getTevStr ( int  i_roomNo)
inline

◆ GetTimePass()

static s8 dStage_roomControl_c::GetTimePass ( )
inlinestatic

◆ getZoneNo()

static int dStage_roomControl_c::getZoneNo ( int  i_roomNo)
inlinestatic

◆ init()

void dStage_roomControl_c::init ( void  )

◆ initZone()

void dStage_roomControl_c::initZone ( )

◆ loadRoom()

int dStage_roomControl_c::loadRoom ( int  roomCount,
u8 rooms,
bool  param_2 
)

◆ offNoChangeRoom()

static void dStage_roomControl_c::offNoChangeRoom ( )
inlinestatic

◆ offStatusFlag()

void dStage_roomControl_c::offStatusFlag ( int  i_roomNo,
u8  flag 
)
inline

◆ onNoChangeRoom()

static void dStage_roomControl_c::onNoChangeRoom ( )
inlinestatic

◆ onStatusDraw()

static void dStage_roomControl_c::onStatusDraw ( int  i_roomNo)
inlinestatic

◆ onStatusFlag()

void dStage_roomControl_c::onStatusFlag ( int  i_roomNo,
u8  flag 
)
inline

◆ removeRoomDzs()

static void dStage_roomControl_c::removeRoomDzs ( )
inlinestatic

◆ resetArchiveBank()

bool dStage_roomControl_c::resetArchiveBank ( int  i_bank)
static

◆ setArcBank()

void dStage_roomControl_c::setArcBank ( int  i_bank,
char const bankName 
)
static

◆ setBgW()

static void dStage_roomControl_c::setBgW ( int  param_0,
dBgW_base i_bgw 
)
inlinestatic

◆ setFileList2()

static void dStage_roomControl_c::setFileList2 ( int  i_roomNo,
dStage_FileList2_dt_c list 
)
inlinestatic

◆ setMemoryBlockID()

static void dStage_roomControl_c::setMemoryBlockID ( int  i_roomNo,
int  i_blockID 
)
inlinestatic

◆ setNextStayNo()

void dStage_roomControl_c::setNextStayNo ( int  nextStayNo)
static

◆ setProcID()

static void dStage_roomControl_c::setProcID ( u32  id)
inlinestatic

◆ setRegionNo()

static void dStage_roomControl_c::setRegionNo ( int  i_roomNo,
u8  i_regionNo 
)
inlinestatic

◆ setRoomReadId()

static void dStage_roomControl_c::setRoomReadId ( s8  id)
inlinestatic

◆ setStatusFlag()

void dStage_roomControl_c::setStatusFlag ( int  i_roomNo,
u8  flag 
)
inline

◆ setStatusProcID()

static void dStage_roomControl_c::setStatusProcID ( int  i_roomNo,
fpc_ProcID  i_id 
)
inlinestatic

◆ setStayNo()

void dStage_roomControl_c::setStayNo ( int  i_roomNo)
static

◆ SetTimePass()

void dStage_roomControl_c::SetTimePass ( int  i_timepass)
static

◆ setZoneCount()

static void dStage_roomControl_c::setZoneCount ( int  i_roomNo,
int  count 
)
inlinestatic

◆ setZoneNo()

void dStage_roomControl_c::setZoneNo ( int  i_roomNo,
int  i_zoneNo 
)
static

◆ zoneCountCheck()

void dStage_roomControl_c::zoneCountCheck ( int  i_roomNo) const

Member Data Documentation

◆ field_0x0

u8 dStage_roomControl_c::field_0x0[4]
private

◆ m_roomDzs

dStage_roomControl_c::roomDzs_c dStage_roomControl_c::m_roomDzs
static

◆ m_time_pass

s8 dStage_roomControl_c::m_time_pass
static

◆ mArcBank

char dStage_roomControl_c::mArcBank = {0}
static

◆ mArcBankData

dStage_roomControl_c::bankData * dStage_roomControl_c::mArcBankData
static

◆ mArcBankName

dStage_roomControl_c::nameData * dStage_roomControl_c::mArcBankName
static

◆ mDemoArcName

char dStage_roomControl_c::mDemoArcName
static

◆ mMemoryBlock

JKRExpHeap * dStage_roomControl_c::mMemoryBlock
static
Initial value:
= {
}
T cLib_calcTimer(T *value)
Definition c_lib.h:74

◆ mNextStayNo

s8 dStage_roomControl_c::mNextStayNo
static

◆ mNoChangeRoom

u8 dStage_roomControl_c::mNoChangeRoom
static

◆ mOldStayNo

s8 dStage_roomControl_c::mOldStayNo
static

◆ mProcID

u32 dStage_roomControl_c::mProcID
static

◆ mStatus [1/2]

dStage_roomStatus_c dStage_roomControl_c::mStatus[0x40]
static

◆ mStatus [2/2]

dStage_roomStatus_c dStage_roomControl_c::mStatus
static

◆ mStayNo

s8 dStage_roomControl_c::mStayNo
static

The documentation for this class was generated from the following files: