Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_menu_fishing.h
Go to the documentation of this file.
1
#ifndef D_MENU_D_MENU_FISHING_H
2
#define D_MENU_D_MENU_FISHING_H
3
4
#include "
d/d_com_inf_game.h
"
5
6
class
CPaneMgr
;
7
struct
CSTControl
;
8
class
J2DTextBox
;
9
class
STControl
;
10
class
dMsgString_c
;
11
class
mDoDvdThd_mountArchive_c
;
12
13
class
dMenu_Fishing_c
:
public
dDlst_base_c
{
14
public
:
15
16
enum
dMenu_Fishing_Status
{
17
CLOSED
= 0,
18
READY_OPEN
= 1,
19
READY_MOVE
= 2,
20
READY_CLOSE
= 3,
21
};
22
23
/* 801C4D54 */
dMenu_Fishing_c
(
JKRExpHeap
*,
STControl
*,
CSTControl
*);
24
/* 801C504C */
void
_create
();
25
/* 801C50B4 */
void
_move
();
26
/* 801C514C */
void
_draw
();
27
/* 801C5204 */
bool
isSync
();
28
/* 801C522C */
void
init
();
29
/* 801C52E4 */
int
_open
();
30
/* 801C5470 */
int
_close
();
31
/* 801C556C */
void
wait_init
();
32
/* 801C55A8 */
void
wait_move
();
33
/* 801C55D8 */
void
screenSetBase
();
34
/* 801C5D3C */
void
screenSetDoIcon
();
35
/* 801C5EB8 */
void
setAButtonString
(
u16
);
36
/* 801C5F68 */
void
setBButtonString
(
u16
);
37
/* 801C6018 */
u8
getFigure
(
int
);
38
/* 801C605C */
void
setFishParam
(
int
,
u16
,
u8
);
39
/* 801C6210 */
void
setHIO
(
bool
);
40
41
/* 801C659C */
virtual
void
draw
() {
_draw
(); }
42
/* 801C4D98 */
virtual
~dMenu_Fishing_c
();
43
44
u8
getStatus
() {
return
mStatus
; }
45
46
private
:
47
/* 0x004 */
JKRExpHeap
*
mpHeap
;
48
/* 0x008 */
JKRArchive
*
mpArchive
;
49
/* 0x00C */
STControl
*
mpStick
;
50
/* 0x010 */
CSTControl
*
mpCStick
;
51
/* 0x014 */
mDoDvdThd_mountArchive_c
*
mpMount
;
52
/* 0x018 */
J2DScreen
*
mpScreen
;
53
/* 0x01C */
J2DScreen
*
mpIconScreen
;
54
/* 0x020 */
J2DTextBox
*
mpAButtonString
[5];
// Displays string based on stringID on A button Always empty
55
/* 0x034 */
J2DTextBox
*
mpBButtonString
[5];
// Displays string based on stringID on B button. Only "Back" here
56
/* 0x048 */
CPaneMgr
*
mpParent
;
57
/* 0x04C */
CPaneMgr
*
mpFishParent
[
MAX_FINDABLE_FISHES
];
// Displays fishes based on index and if collected once
58
/* 0x064 */
CPaneMgr
*
mpFishParts
[6][6];
59
/* 0x0F4 */
CPaneMgr
*
mpFishInfoParent
[2];
// 0: Blue info box ; 1: Red info box
60
/* 0x0FC */
CPaneMgr
*
mpButtonAB
[2];
// Controls the position and scale of the buttons. 0: A ; 1: B
61
/* 0x104 */
CPaneMgr
*
mpButtonText
[2];
// Controls the position and scale of the button texts. 0: A ; 1: B
62
/* 0x10C */
J2DTextBox
*
field_0x10c
[2][6];
// Displays the actual inches into the blue box of every fish
63
/* 0x13C */
J2DTextBox
*
field_0x13c
[2][6];
// Displays the actual number of caught fishes into the red box of every fish
64
/* 0x16C */
J2DTextBox
*
field_0x16c
[2][6];
// Displays string "inches" next to the blue box of every fish
65
/* 0x19C */
J2DTextBox
*
field_0x19c
[2][6];
// Displays string "fish" next to the red box of every fish
66
/* 0x1CC */
J2DTextBox
*
mpFishNameString
[
MAX_FINDABLE_FISHES
];
// Displays name of every caught fish
67
/* 0x1E4 */
J2DTextBox
*
mpInfoLargestString
;
// Displays "Largest" next to the blue box
68
/* 0x1E8 */
J2DTextBox
*
mpInfoNumCaughtString
;
// Displays "No. Caught" next to the red box
69
/* 0x1EC */
J2DTextBox
*
field_0x1ec
;
// unused
70
/* 0x1F0 */
J2DPicture
*
mpBlackTex
;
71
/* 0x1F4 */
dMsgString_c
*
mpString
;
72
/* 0x1F8 */
s16
mFishListScreenFrames
;
73
/* 0x1FA */
u8
mStatus
;
74
/* 0x1FB */
u8
mProcess
;
75
};
76
77
#endif
/* D_MENU_D_MENU_FISHING_H */
cLib_calcTimer
T cLib_calcTimer(T *value)
Definition
c_lib.h:74
CPaneMgr
Definition
d_pane_class.h:13
J2DPicture
Definition
J2DPicture.h:55
J2DScreen
Definition
J2DScreen.h:48
J2DTextBox
Definition
J2DTextBox.h:57
JKRArchive
Definition
JKRArchive.h:57
STControl
Definition
d_lib.h:16
dDlst_base_c
Definition
d_drawlist.h:31
dMenu_Fishing_c
Definition
d_menu_fishing.h:13
dMenu_Fishing_c::field_0x1ec
J2DTextBox * field_0x1ec
Definition
d_menu_fishing.h:69
dMenu_Fishing_c::mpScreen
J2DScreen * mpScreen
Definition
d_menu_fishing.h:52
dMenu_Fishing_c::mpInfoNumCaughtString
J2DTextBox * mpInfoNumCaughtString
Definition
d_menu_fishing.h:68
dMenu_Fishing_c::field_0x19c
J2DTextBox * field_0x19c[2][6]
Definition
d_menu_fishing.h:65
dMenu_Fishing_c::mpString
dMsgString_c * mpString
Definition
d_menu_fishing.h:71
dMenu_Fishing_c::mpHeap
JKRExpHeap * mpHeap
Definition
d_menu_fishing.h:47
dMenu_Fishing_c::setBButtonString
void setBButtonString(u16)
Definition
d_menu_fishing.cpp:374
dMenu_Fishing_c::_draw
void _draw()
Definition
d_menu_fishing.cpp:123
dMenu_Fishing_c::mpFishNameString
J2DTextBox * mpFishNameString[MAX_FINDABLE_FISHES]
Definition
d_menu_fishing.h:66
dMenu_Fishing_c::mpMount
mDoDvdThd_mountArchive_c * mpMount
Definition
d_menu_fishing.h:51
dMenu_Fishing_c::setFishParam
void setFishParam(int, u16, u8)
Definition
d_menu_fishing.cpp:404
dMenu_Fishing_c::mpFishParent
CPaneMgr * mpFishParent[MAX_FINDABLE_FISHES]
Definition
d_menu_fishing.h:57
dMenu_Fishing_c::mpFishInfoParent
CPaneMgr * mpFishInfoParent[2]
Definition
d_menu_fishing.h:59
dMenu_Fishing_c::mProcess
u8 mProcess
Definition
d_menu_fishing.h:74
dMenu_Fishing_c::mpBButtonString
J2DTextBox * mpBButtonString[5]
Definition
d_menu_fishing.h:55
dMenu_Fishing_c::getFigure
u8 getFigure(int)
Definition
d_menu_fishing.cpp:387
dMenu_Fishing_c::_create
void _create()
Definition
d_menu_fishing.cpp:102
dMenu_Fishing_c::mpParent
CPaneMgr * mpParent
Definition
d_menu_fishing.h:56
dMenu_Fishing_c::mStatus
u8 mStatus
Definition
d_menu_fishing.h:73
dMenu_Fishing_c::draw
virtual void draw()
Definition
d_menu_fishing.h:41
dMenu_Fishing_c::_close
int _close()
Definition
d_menu_fishing.cpp:191
dMenu_Fishing_c::mFishListScreenFrames
s16 mFishListScreenFrames
Definition
d_menu_fishing.h:72
dMenu_Fishing_c::setHIO
void setHIO(bool)
Definition
d_menu_fishing.cpp:441
dMenu_Fishing_c::screenSetDoIcon
void screenSetDoIcon()
Definition
d_menu_fishing.cpp:339
dMenu_Fishing_c::screenSetBase
void screenSetBase()
Definition
d_menu_fishing.cpp:224
dMenu_Fishing_c::setAButtonString
void setAButtonString(u16)
Definition
d_menu_fishing.cpp:361
dMenu_Fishing_c::wait_move
void wait_move()
Definition
d_menu_fishing.cpp:216
dMenu_Fishing_c::mpStick
STControl * mpStick
Definition
d_menu_fishing.h:49
dMenu_Fishing_c::mpButtonText
CPaneMgr * mpButtonText[2]
Definition
d_menu_fishing.h:61
dMenu_Fishing_c::getStatus
u8 getStatus()
Definition
d_menu_fishing.h:44
dMenu_Fishing_c::mpInfoLargestString
J2DTextBox * mpInfoLargestString
Definition
d_menu_fishing.h:67
dMenu_Fishing_c::mpButtonAB
CPaneMgr * mpButtonAB[2]
Definition
d_menu_fishing.h:60
dMenu_Fishing_c::init
void init()
Definition
d_menu_fishing.cpp:142
dMenu_Fishing_c::wait_init
void wait_init()
Definition
d_menu_fishing.cpp:210
dMenu_Fishing_c::mpIconScreen
J2DScreen * mpIconScreen
Definition
d_menu_fishing.h:53
dMenu_Fishing_c::dMenu_Fishing_Status
dMenu_Fishing_Status
Definition
d_menu_fishing.h:16
dMenu_Fishing_c::READY_MOVE
@ READY_MOVE
Definition
d_menu_fishing.h:19
dMenu_Fishing_c::READY_CLOSE
@ READY_CLOSE
Definition
d_menu_fishing.h:20
dMenu_Fishing_c::READY_OPEN
@ READY_OPEN
Definition
d_menu_fishing.h:18
dMenu_Fishing_c::CLOSED
@ CLOSED
Definition
d_menu_fishing.h:17
dMenu_Fishing_c::mpArchive
JKRArchive * mpArchive
Definition
d_menu_fishing.h:48
dMenu_Fishing_c::field_0x16c
J2DTextBox * field_0x16c[2][6]
Definition
d_menu_fishing.h:64
dMenu_Fishing_c::field_0x13c
J2DTextBox * field_0x13c[2][6]
Definition
d_menu_fishing.h:63
dMenu_Fishing_c::~dMenu_Fishing_c
virtual ~dMenu_Fishing_c()
Definition
d_menu_fishing.cpp:47
dMenu_Fishing_c::field_0x10c
J2DTextBox * field_0x10c[2][6]
Definition
d_menu_fishing.h:62
dMenu_Fishing_c::mpBlackTex
J2DPicture * mpBlackTex
Definition
d_menu_fishing.h:70
dMenu_Fishing_c::mpCStick
CSTControl * mpCStick
Definition
d_menu_fishing.h:50
dMenu_Fishing_c::_open
int _open()
Definition
d_menu_fishing.cpp:157
dMenu_Fishing_c::_move
void _move()
Definition
d_menu_fishing.cpp:111
dMenu_Fishing_c::mpFishParts
CPaneMgr * mpFishParts[6][6]
Definition
d_menu_fishing.h:58
dMenu_Fishing_c::isSync
bool isSync()
Definition
d_menu_fishing.cpp:134
dMenu_Fishing_c::mpAButtonString
J2DTextBox * mpAButtonString[5]
Definition
d_menu_fishing.h:54
dMsgString_c
Definition
d_msg_string.h:9
mDoDvdThd_mountArchive_c
Definition
m_Do_dvd_thread.h:78
d_com_inf_game.h
CSTControl
Definition
d_lib.h:73
JKRExpHeap
Definition
d_a_balloon_2D.h:178
s16
signed short s16
Definition
types.h:5
u16
unsigned short u16
Definition
types.h:9
u8
unsigned char u8
Definition
types.h:8
include
d
d_menu_fishing.h
Generated by
1.9.8