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

#include <d_save.h>

+ Collaboration diagram for dSv_info_c:

Public Member Functions

void onSwitch (int, int)
 
void offSwitch (int, int)
 
void isSwitch (int, int) const
 
void offSwitch (int, int)
 
void isSwitch (int, int) const
 
void onSwitch (int, int)
 
void offSwitch (int, int)
 
void isSwitch (int, int) const
 
void isSwitch (int, int) const
 
void isSwitch (int, int) const
 
void init ()
 
void getSave (int i_stageNo)
 
void putSave (int i_stageNo)
 
void initZone ()
 
u32 createZone (int i_roomNo)
 
void onSwitch (int i_no, int i_roomNo)
 
void offSwitch (int i_no, int i_roomNo)
 
BOOL isSwitch (int i_no, int i_roomNo) const
 
BOOL revSwitch (int i_no, int i_roomNo)
 
void onItem (int i_no, int i_roomNo)
 
BOOL isItem (int i_no, int i_roomNo) const
 
void onActor (int i_no, int i_roomNo)
 
void offActor (int i_no, int i_roomNo)
 
BOOL isActor (int i_no, int i_roomNo) const
 
int memory_to_card (char *card_ptr, int dataNum)
 
int card_to_memory (char *card_ptr, int dataNum)
 
int initdata_to_card (char *card_ptr, int dataNum)
 
dSv_save_cgetSavedata ()
 
dSv_memory_cgetMemory ()
 
dSv_zone_cgetZones ()
 
dSv_zone_cgetZone (int id)
 
dSv_player_cgetPlayer ()
 
dSv_event_cgetTmp ()
 
dSv_restart_cgetRestart ()
 
dSv_turnRestart_cgetTurnRestart ()
 
dSv_event_cgetEvent ()
 
dSv_danBit_cgetDan ()
 
dSv_MiniGame_cgetMiniGame ()
 
s64 getStartTime () const
 
s64 getSaveTotalTime () const
 
void setStartTime (s64 time)
 
void setSaveTotalTime (s64 time)
 
void initDan (s8 i_stage)
 
void resetDan ()
 
u8 getDataNum () const
 
void setDataNum (u8 num)
 
void removeZone (int zoneNo)
 
u8 getNoFile () const
 
void setNoFile (u8 file)
 
u8 getNewFile () const
 
void setNewFile (u8 file)
 

Static Public Attributes

static const int MEMORY_SWITCH = 0x80
 
static const int DAN_SWITCH = 0x40
 
static const int ZONE_SWITCH = 0x20
 
static const int ONEZONE_SWITCH = 0x10
 
static const int MEMORY_ITEM = 0x80
 
static const int DAN_ITEM = 0x20
 
static const int ZONE_ITEM = 0x20
 
static const int ONEZONE_ITEM = 0x10
 
static const int ZONE_MAX = 0x20
 

Private Attributes

dSv_save_c mSavedata
 
dSv_memory_c mMemory
 
dSv_danBit_c mDan
 
dSv_zone_c mZone [ZONE_MAX]
 
dSv_restart_c mRestart
 
dSv_event_c mTmp
 
dSv_turnRestart_c mTurnRestart
 
u8 field_0xf14 [4]
 
u8 mDataNum
 
u8 mNewFile
 
u8 mNoFile
 
u8 field_0xf1b [13]
 
s64 mStartTime
 
s64 mSaveTotalTime
 

Member Function Documentation

◆ card_to_memory()

int dSv_info_c::card_to_memory ( char card_ptr,
int  dataNum 
)

◆ createZone()

u32 dSv_info_c::createZone ( int  i_roomNo)

◆ getDan()

dSv_danBit_c & dSv_info_c::getDan ( )
inline

◆ getDataNum()

u8 dSv_info_c::getDataNum ( ) const
inline

◆ getEvent()

dSv_event_c & dSv_info_c::getEvent ( )
inline

◆ getMemory()

dSv_memory_c & dSv_info_c::getMemory ( )
inline

◆ getMiniGame()

dSv_MiniGame_c & dSv_info_c::getMiniGame ( )
inline

◆ getNewFile()

u8 dSv_info_c::getNewFile ( ) const
inline

◆ getNoFile()

u8 dSv_info_c::getNoFile ( ) const
inline

◆ getPlayer()

dSv_player_c & dSv_info_c::getPlayer ( )
inline

◆ getRestart()

dSv_restart_c & dSv_info_c::getRestart ( )
inline

◆ getSave()

void dSv_info_c::getSave ( int  i_stageNo)

◆ getSavedata()

dSv_save_c & dSv_info_c::getSavedata ( )
inline

◆ getSaveTotalTime()

s64 dSv_info_c::getSaveTotalTime ( ) const
inline

◆ getStartTime()

s64 dSv_info_c::getStartTime ( ) const
inline

◆ getTmp()

dSv_event_c & dSv_info_c::getTmp ( )
inline

◆ getTurnRestart()

dSv_turnRestart_c & dSv_info_c::getTurnRestart ( )
inline

◆ getZone()

dSv_zone_c & dSv_info_c::getZone ( int  id)
inline

◆ getZones()

dSv_zone_c * dSv_info_c::getZones ( )
inline

◆ init()

void dSv_info_c::init ( )

◆ initDan()

void dSv_info_c::initDan ( s8  i_stage)
inline

◆ initdata_to_card()

int dSv_info_c::initdata_to_card ( char card_ptr,
int  dataNum 
)

◆ initZone()

void dSv_info_c::initZone ( )

◆ isActor()

BOOL dSv_info_c::isActor ( int  i_no,
int  i_roomNo 
) const

◆ isItem()

BOOL dSv_info_c::isItem ( int  i_no,
int  i_roomNo 
) const

◆ isSwitch() [1/6]

BOOL dSv_info_c::isSwitch ( int  i_no,
int  i_roomNo 
) const

◆ isSwitch() [2/6]

BOOL dSv_info_c::isSwitch ( int  i_no,
int  i_roomNo 
) const

◆ isSwitch() [3/6]

void dSv_info_c::isSwitch ( int  ,
int   
) const

◆ isSwitch() [4/6]

void dSv_info_c::isSwitch ( int  ,
int   
) const

◆ isSwitch() [5/6]

void dSv_info_c::isSwitch ( int  ,
int   
) const

◆ isSwitch() [6/6]

void dSv_info_c::isSwitch ( int  ,
int   
) const

◆ memory_to_card()

int dSv_info_c::memory_to_card ( char card_ptr,
int  dataNum 
)

◆ offActor()

void dSv_info_c::offActor ( int  i_no,
int  i_roomNo 
)

◆ offSwitch() [1/4]

void dSv_info_c::offSwitch ( int  i_no,
int  i_roomNo 
)

◆ offSwitch() [2/4]

void dSv_info_c::offSwitch ( int  i_no,
int  i_roomNo 
)

◆ offSwitch() [3/4]

void dSv_info_c::offSwitch ( int  ,
int   
)

◆ offSwitch() [4/4]

void dSv_info_c::offSwitch ( int  ,
int   
)

◆ onActor()

void dSv_info_c::onActor ( int  i_no,
int  i_roomNo 
)

◆ onItem()

void dSv_info_c::onItem ( int  i_no,
int  i_roomNo 
)

◆ onSwitch() [1/3]

void dSv_info_c::onSwitch ( int  i_no,
int  i_roomNo 
)

◆ onSwitch() [2/3]

void dSv_info_c::onSwitch ( int  i_no,
int  i_roomNo 
)

◆ onSwitch() [3/3]

void dSv_info_c::onSwitch ( int  ,
int   
)

◆ putSave()

void dSv_info_c::putSave ( int  i_stageNo)

◆ removeZone()

void dSv_info_c::removeZone ( int  zoneNo)
inline

◆ resetDan()

void dSv_info_c::resetDan ( )
inline

◆ revSwitch()

BOOL dSv_info_c::revSwitch ( int  i_no,
int  i_roomNo 
)

◆ setDataNum()

void dSv_info_c::setDataNum ( u8  num)
inline

◆ setNewFile()

void dSv_info_c::setNewFile ( u8  file)
inline

◆ setNoFile()

void dSv_info_c::setNoFile ( u8  file)
inline

◆ setSaveTotalTime()

void dSv_info_c::setSaveTotalTime ( s64  time)
inline

◆ setStartTime()

void dSv_info_c::setStartTime ( s64  time)
inline

Member Data Documentation

◆ DAN_ITEM

const int dSv_info_c::DAN_ITEM = 0x20
static

◆ DAN_SWITCH

const int dSv_info_c::DAN_SWITCH = 0x40
static

◆ field_0xf14

u8 dSv_info_c::field_0xf14[4]
private

◆ field_0xf1b

u8 dSv_info_c::field_0xf1b[13]
private

◆ mDan

dSv_danBit_c dSv_info_c::mDan
private

◆ mDataNum

u8 dSv_info_c::mDataNum
private

◆ MEMORY_ITEM

const int dSv_info_c::MEMORY_ITEM = 0x80
static

◆ MEMORY_SWITCH

const int dSv_info_c::MEMORY_SWITCH = 0x80
static

◆ mMemory

dSv_memory_c dSv_info_c::mMemory
private

◆ mNewFile

u8 dSv_info_c::mNewFile
private

◆ mNoFile

u8 dSv_info_c::mNoFile
private

◆ mRestart

dSv_restart_c dSv_info_c::mRestart
private

◆ mSavedata

dSv_save_c dSv_info_c::mSavedata
private

◆ mSaveTotalTime

s64 dSv_info_c::mSaveTotalTime
private

◆ mStartTime

s64 dSv_info_c::mStartTime
private

◆ mTmp

dSv_event_c dSv_info_c::mTmp
private

◆ mTurnRestart

dSv_turnRestart_c dSv_info_c::mTurnRestart
private

◆ mZone

dSv_zone_c dSv_info_c::mZone[ZONE_MAX]
private

◆ ONEZONE_ITEM

const int dSv_info_c::ONEZONE_ITEM = 0x10
static

◆ ONEZONE_SWITCH

const int dSv_info_c::ONEZONE_SWITCH = 0x10
static

◆ ZONE_ITEM

const int dSv_info_c::ZONE_ITEM = 0x20
static

◆ ZONE_MAX

const int dSv_info_c::ZONE_MAX = 0x20
static

◆ ZONE_SWITCH

const int dSv_info_c::ZONE_SWITCH = 0x20
static

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