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

#include <d_tresure.h>

+ Collaboration diagram for dTres_c:

Classes

struct  data_s
 
struct  list_class
 
struct  type_group_list
 
class  typeGroupData_c
 

Public Member Functions

void getFirstData (u8)
 
void getNextData (dTres_c::typeGroupData_c *)
 
void getTypeToTypeGroupNo (u8)
 

Static Public Member Functions

static int createWork ()
 
static void create ()
 
static void remove ()
 
static void reset ()
 
static void addData (dTres_c::list_class *, s8)
 
static void checkTreasureBox (dTres_c::data_s *)
 
static void onStatus (u8, int, int)
 
static void offStatus (u8, int, int)
 
static int getBossIconFloorNo (int *)
 
static typeGroupData_cgetFirstData (u8)
 
static typeGroupData_cgetNextData (dTres_c::typeGroupData_c *)
 
static typeGroupData_cgetNextData (dTres_c::typeGroupData_c const *)
 
static void setPosition (int, u8, Vec const *, int)
 
static int getTypeGroupNoToType (u8)
 
static u8 getTypeToTypeGroupNo (u8)
 
static int getTypeGroupNumber (int index)
 
static void setPosition (int i_tboxNo, Vec const *i_pos)
 
static void setLightDropPostion (int i_tboxNo, const Vec *i_pos)
 

Static Public Attributes

static u8 mTypeGroupListAll [204+4]
 
static u8 const typeToTypeGroup [17][2]
 
static type_group_list mTypeGroupListAll [17]
 
static typeGroupData_cmTypeGroupData
 
static u16 mNum
 

Member Function Documentation

◆ addData()

void dTres_c::addData ( dTres_c::list_class p_list,
s8  roomNo 
)
static

◆ checkTreasureBox()

void dTres_c::checkTreasureBox ( dTres_c::data_s param_0)
static

◆ create()

void dTres_c::create ( )
static

◆ createWork()

int dTres_c::createWork ( )
static

◆ getBossIconFloorNo()

int dTres_c::getBossIconFloorNo ( int o_floorNo)
static

◆ getFirstData() [1/2]

static typeGroupData_c * dTres_c::getFirstData ( u8  )
static

◆ getFirstData() [2/2]

dTres_c::typeGroupData_c * dTres_c::getFirstData ( u8  listIdx)

◆ getNextData() [1/3]

static typeGroupData_c * dTres_c::getNextData ( dTres_c::typeGroupData_c )
static

◆ getNextData() [2/3]

dTres_c::typeGroupData_c * dTres_c::getNextData ( dTres_c::typeGroupData_c p_data)

◆ getNextData() [3/3]

dTres_c::typeGroupData_c * dTres_c::getNextData ( dTres_c::typeGroupData_c const p_data)
static

◆ getTypeGroupNoToType()

int dTres_c::getTypeGroupNoToType ( u8  i_typeGroupNo)
static

◆ getTypeGroupNumber()

static int dTres_c::getTypeGroupNumber ( int  index)
inlinestatic

◆ getTypeToTypeGroupNo() [1/2]

static u8 dTres_c::getTypeToTypeGroupNo ( u8  )
static

◆ getTypeToTypeGroupNo() [2/2]

u8 dTres_c::getTypeToTypeGroupNo ( u8  i_type)

◆ offStatus()

void dTres_c::offStatus ( u8  listIdx,
int  param_1,
int  flag 
)
static

◆ onStatus()

void dTres_c::onStatus ( u8  listIdx,
int  param_1,
int  flag 
)
static

◆ remove()

void dTres_c::remove ( )
static

◆ reset()

void dTres_c::reset ( )
static

◆ setLightDropPostion()

static void dTres_c::setLightDropPostion ( int  i_tboxNo,
const Vec i_pos 
)
inlinestatic

◆ setPosition() [1/2]

static void dTres_c::setPosition ( int  i_tboxNo,
Vec const i_pos 
)
inlinestatic

◆ setPosition() [2/2]

void dTres_c::setPosition ( int  dataNo,
u8  listIdx,
Vec const i_pos,
int  i_roomNo 
)
static

Member Data Documentation

◆ mNum

u16 dTres_c::mNum
static

◆ mTypeGroupData

dTres_c::typeGroupData_c * dTres_c::mTypeGroupData
static

◆ mTypeGroupListAll [1/2]

type_group_list dTres_c::mTypeGroupListAll[17]
static

◆ mTypeGroupListAll [2/2]

dTres_c::type_group_list dTres_c::mTypeGroupListAll
static

◆ typeToTypeGroup

u8 const dTres_c::typeToTypeGroup
static
Initial value:
= {
{0xFF, 0x00}, {0x00, 0x01}, {0x01, 0x02}, {0x02, 0x03}, {0x03, 0x04}, {0x04, 0x05},
{0x05, 0x06}, {0x06, 0x07}, {0x07, 0x08}, {0x80, 0x09}, {0x81, 0x0A}, {0x82, 0x0B},
{0x83, 0x0C}, {0x84, 0x0D}, {0x85, 0x0E}, {0x87, 0x0F}, {0x88, 0x10},
}

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