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
6class CPaneMgr;
7struct CSTControl;
8class J2DTextBox;
9class STControl;
10class dMsgString_c;
12
14public:
15
22
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
46private:
47 /* 0x004 */ JKRExpHeap* mpHeap;
48 /* 0x008 */ JKRArchive* mpArchive;
49 /* 0x00C */ STControl* mpStick;
50 /* 0x010 */ CSTControl* mpCStick;
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;
73 /* 0x1FA */ u8 mStatus;
74 /* 0x1FB */ u8 mProcess;
75};
76
77#endif /* D_MENU_D_MENU_FISHING_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_pane_class.h:13
Definition J2DPicture.h:55
Definition J2DScreen.h:48
Definition J2DTextBox.h:57
Definition JKRArchive.h:57
Definition d_lib.h:16
Definition d_drawlist.h:31
Definition d_menu_fishing.h:13
J2DTextBox * field_0x1ec
Definition d_menu_fishing.h:69
J2DScreen * mpScreen
Definition d_menu_fishing.h:52
J2DTextBox * mpInfoNumCaughtString
Definition d_menu_fishing.h:68
J2DTextBox * field_0x19c[2][6]
Definition d_menu_fishing.h:65
dMsgString_c * mpString
Definition d_menu_fishing.h:71
JKRExpHeap * mpHeap
Definition d_menu_fishing.h:47
void setBButtonString(u16)
Definition d_menu_fishing.cpp:374
void _draw()
Definition d_menu_fishing.cpp:123
J2DTextBox * mpFishNameString[MAX_FINDABLE_FISHES]
Definition d_menu_fishing.h:66
mDoDvdThd_mountArchive_c * mpMount
Definition d_menu_fishing.h:51
void setFishParam(int, u16, u8)
Definition d_menu_fishing.cpp:404
CPaneMgr * mpFishParent[MAX_FINDABLE_FISHES]
Definition d_menu_fishing.h:57
CPaneMgr * mpFishInfoParent[2]
Definition d_menu_fishing.h:59
u8 mProcess
Definition d_menu_fishing.h:74
J2DTextBox * mpBButtonString[5]
Definition d_menu_fishing.h:55
u8 getFigure(int)
Definition d_menu_fishing.cpp:387
void _create()
Definition d_menu_fishing.cpp:102
CPaneMgr * mpParent
Definition d_menu_fishing.h:56
u8 mStatus
Definition d_menu_fishing.h:73
virtual void draw()
Definition d_menu_fishing.h:41
int _close()
Definition d_menu_fishing.cpp:191
s16 mFishListScreenFrames
Definition d_menu_fishing.h:72
void setHIO(bool)
Definition d_menu_fishing.cpp:441
void screenSetDoIcon()
Definition d_menu_fishing.cpp:339
void screenSetBase()
Definition d_menu_fishing.cpp:224
void setAButtonString(u16)
Definition d_menu_fishing.cpp:361
void wait_move()
Definition d_menu_fishing.cpp:216
STControl * mpStick
Definition d_menu_fishing.h:49
CPaneMgr * mpButtonText[2]
Definition d_menu_fishing.h:61
u8 getStatus()
Definition d_menu_fishing.h:44
J2DTextBox * mpInfoLargestString
Definition d_menu_fishing.h:67
CPaneMgr * mpButtonAB[2]
Definition d_menu_fishing.h:60
void init()
Definition d_menu_fishing.cpp:142
void wait_init()
Definition d_menu_fishing.cpp:210
J2DScreen * mpIconScreen
Definition d_menu_fishing.h:53
dMenu_Fishing_Status
Definition d_menu_fishing.h:16
@ READY_MOVE
Definition d_menu_fishing.h:19
@ READY_CLOSE
Definition d_menu_fishing.h:20
@ READY_OPEN
Definition d_menu_fishing.h:18
@ CLOSED
Definition d_menu_fishing.h:17
JKRArchive * mpArchive
Definition d_menu_fishing.h:48
J2DTextBox * field_0x16c[2][6]
Definition d_menu_fishing.h:64
J2DTextBox * field_0x13c[2][6]
Definition d_menu_fishing.h:63
virtual ~dMenu_Fishing_c()
Definition d_menu_fishing.cpp:47
J2DTextBox * field_0x10c[2][6]
Definition d_menu_fishing.h:62
J2DPicture * mpBlackTex
Definition d_menu_fishing.h:70
CSTControl * mpCStick
Definition d_menu_fishing.h:50
int _open()
Definition d_menu_fishing.cpp:157
void _move()
Definition d_menu_fishing.cpp:111
CPaneMgr * mpFishParts[6][6]
Definition d_menu_fishing.h:58
bool isSync()
Definition d_menu_fishing.cpp:134
J2DTextBox * mpAButtonString[5]
Definition d_menu_fishing.h:54
Definition d_msg_string.h:9
Definition m_Do_dvd_thread.h:78
Definition d_lib.h:73
Definition d_a_balloon_2D.h:178
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8