Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_menu_insect.h
Go to the documentation of this file.
1#ifndef D_MENU_D_MENU_INSECT_H
2#define D_MENU_D_MENU_INSECT_H
3
4#include "d/d_drawlist.h"
5#include "d/d_save.h"
6
7class CPaneMgr;
8struct CSTControl;
9class J2DTextBox;
10class STControl;
12class dMsgString_c;
15class JKRArchive;
16
18public:
19 /* 801D8114 */ dMenu_Insect_c(JKRExpHeap*, STControl*, CSTControl*, u8);
20 /* 801D8658 */ void _create();
21 /* 801D86C8 */ void _move();
22 /* 801D8760 */ void _draw();
23 /* 801D88EC */ bool isSync();
24 /* 801D8914 */ void init();
25 /* 801D894C */ int _open();
26 /* 801D8B2C */ int _close();
27 /* 801D8C68 */ void wait_init();
28 /* 801D8CCC */ void wait_move();
29 /* 801D8E00 */ void explain_open_init();
30 /* 801D91E4 */ void explain_open_move();
31 /* 801D9264 */ void explain_move_init();
32 /* 801D9268 */ void explain_move_move();
33 /* 801D9290 */ void select_move_init();
34 /* 801D92DC */ void select_move_move();
35 /* 801D9504 */ void explain_close_init();
36 /* 801D95AC */ void explain_close_move();
37 /* 801D9644 */ void screenSetBase();
38 /* 801D98F0 */ void screenSetExplain();
39 /* 801D9BD0 */ void screenSetDoIcon();
40 /* 801D9D4C */ static u8 getGetInsectNum();
41 /* 801D9DCC */ u8 getInsectItemID(int, int);
42 /* 801D9DE4 */ bool isGetInsect(int, int);
43 /* 801D9E20 */ bool isGiveInsect(int, int);
44 /* 801D9ED4 */ static bool isGiveInsect(u8);
45 /* 801D9E7C */ static bool isCatchInsect(u8);
46 /* 801D9F3C */ static u8 isCatchNotGiveInsect(u8);
47 /* 801D9F8C */ void cursorMove();
48 /* 801DA1EC */ void setCursorPos();
49 /* 801DA2FC */ u8 dpdMove();
50 /* 801DA304 */ void setAButtonString(u16);
51 /* 801DA3B4 */ void setBButtonString(u16);
52 /* 801DA464 */ void setHIO(bool);
53
54 /* 801DA630 */ virtual void draw() { _draw(); }
55 /* 801D82F4 */ virtual ~dMenu_Insect_c();
56
57 u8 getStatus() { return mStatus; }
58
59private:
60 /* 0x04 */ JKRExpHeap* mpHeap;
61 /* 0x08 */ JKRArchive* mpArchive;
62 /* 0x0C */ STControl* mpStick;
63 /* 0x10 */ CSTControl* mpCStick;
67 /* 0x20 */ J2DScreen* mpScreen;
72 /* 0x54 */ J2DPicture* field_0x54[2];
75 /* 0x64 */ CPaneMgr* mpParent;
76 /* 0x68 */ CPaneMgr* mpExpParent;
78 /* 0xCC */ CPaneMgr* mpInfoText;
79 /* 0xD0 */ CPaneMgr* mpExpSubWin[2];
80 /* 0xD8 */ CPaneMgr* mpButtonAB[2];
81 /* 0xE0 */ CPaneMgr* mpButtonText[2];
83 /* 0xEC */ ResTIMG* mpExpItemTex;
84 /* 0xF0 */ s16 field_0xf0;
85 /* 0xF2 */ u8 mStatus;
86 /* 0xF3 */ u8 field_0xf3;
87 /* 0xF4 */ u8 field_0xf4;
88 /* 0xF5 */ u8 field_0xf5;
89 /* 0xF6 */ u8 field_0xf6;
90 /* 0xF7 */ u8 field_0xf7;
91 /* 0xF8 */ u8 field_0xf8;
92 /* 0xF9 */ u8 field_0xf9;
93 /* 0xFA */ u8 field_0xfa;
94 /* 0xFB */ u8 field_0xfb;
95 /* 0xFC */ u8 field_0xfc;
96};
97
98#endif /* D_MENU_D_MENU_INSECT_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_insect.h:17
CPaneMgr * mpINSParent[MAX_INSECT_NUM]
Definition d_menu_insect.h:77
ResTIMG * mpExpItemTex
Definition d_menu_insect.h:83
void setAButtonString(u16)
Definition d_menu_insect.cpp:723
void select_move_init()
Definition d_menu_insect.cpp:394
void wait_move()
Definition d_menu_insect.cpp:278
JKRExpHeap * mpHeap
Definition d_menu_insect.h:60
void cursorMove()
Definition d_menu_insect.cpp:644
J2DPicture * field_0x54[2]
Definition d_menu_insect.h:72
void explain_close_init()
Definition d_menu_insect.cpp:439
void _move()
Definition d_menu_insect.cpp:156
void explain_open_init()
Definition d_menu_insect.cpp:302
JKRArchive * mpArchive
Definition d_menu_insect.h:61
static u8 getGetInsectNum()
Definition d_menu_insect.cpp:564
void screenSetExplain()
Definition d_menu_insect.cpp:509
int _close()
Definition d_menu_insect.cpp:243
static bool isCatchInsect(u8)
Definition d_menu_insect.cpp:617
virtual ~dMenu_Insect_c()
Definition d_menu_insect.cpp:75
J2DTextBox * mpAButtonString[5]
Definition d_menu_insect.h:70
CPaneMgr * mpExpSubWin[2]
Definition d_menu_insect.h:79
u8 mStatus
Definition d_menu_insect.h:85
u8 field_0xf6
Definition d_menu_insect.h:89
J2DScreen * mpScreen
Definition d_menu_insect.h:67
void _draw()
Definition d_menu_insect.cpp:168
u8 dpdMove()
Definition d_menu_insect.cpp:718
void screenSetBase()
Definition d_menu_insect.cpp:466
u8 field_0xf7
Definition d_menu_insect.h:90
J2DScreen * mpExpScreen
Definition d_menu_insect.h:68
u8 field_0xfb
Definition d_menu_insect.h:94
u8 field_0xf5
Definition d_menu_insect.h:88
J2DTextBox * mpBButtonString[5]
Definition d_menu_insect.h:71
u8 field_0xf4
Definition d_menu_insect.h:87
CSTControl * mpCStick
Definition d_menu_insect.h:63
CPaneMgr * mpButtonText[2]
Definition d_menu_insect.h:81
J2DPicture * mpBlackTex
Definition d_menu_insect.h:74
void init()
Definition d_menu_insect.cpp:196
u8 field_0xf3
Definition d_menu_insect.h:86
void setHIO(bool)
Definition d_menu_insect.cpp:749
void setCursorPos()
Definition d_menu_insect.cpp:702
CPaneMgr * mpExpParent
Definition d_menu_insect.h:76
u8 field_0xfc
Definition d_menu_insect.h:95
virtual void draw()
Definition d_menu_insect.h:54
u8 field_0xf8
Definition d_menu_insect.h:91
u8 field_0xf9
Definition d_menu_insect.h:92
u8 getInsectItemID(int, int)
Definition d_menu_insect.cpp:586
void explain_move_init()
Definition d_menu_insect.cpp:381
CPaneMgr * mpButtonAB[2]
Definition d_menu_insect.h:80
CPaneMgr * mpParent
Definition d_menu_insect.h:75
void explain_move_move()
Definition d_menu_insect.cpp:386
mDoDvdThd_mountArchive_c * mpMount
Definition d_menu_insect.h:64
int _open()
Definition d_menu_insect.cpp:201
static u8 isCatchNotGiveInsect(u8)
Definition d_menu_insect.cpp:636
void select_move_move()
Definition d_menu_insect.cpp:401
bool isSync()
Definition d_menu_insect.cpp:188
bool isGetInsect(int, int)
Definition d_menu_insect.cpp:599
dSelect_cursor_c * mpDrawCursor
Definition d_menu_insect.h:65
u8 field_0xfa
Definition d_menu_insect.h:93
u8 getStatus()
Definition d_menu_insect.h:57
J2DScreen * mpIconScreen
Definition d_menu_insect.h:69
void screenSetDoIcon()
Definition d_menu_insect.cpp:537
J2DTextBox * field_0x5c
Definition d_menu_insect.h:73
void wait_init()
Definition d_menu_insect.cpp:268
void explain_open_move()
Definition d_menu_insect.cpp:370
dMsgString_c * mpString
Definition d_menu_insect.h:82
STControl * mpStick
Definition d_menu_insect.h:62
s16 field_0xf0
Definition d_menu_insect.h:84
void explain_close_move()
Definition d_menu_insect.cpp:451
dMsgScrn3Select_c * mpSelect_c
Definition d_menu_insect.h:66
bool isGiveInsect(int, int)
Definition d_menu_insect.cpp:605
CPaneMgr * mpInfoText
Definition d_menu_insect.h:78
void setBButtonString(u16)
Definition d_menu_insect.cpp:736
void _create()
Definition d_menu_insect.cpp:146
Definition d_msg_scrn_3select.h:14
Definition d_msg_string.h:9
Definition d_select_cursor.h:26
Definition m_Do_dvd_thread.h:78
Definition d_lib.h:73
Definition d_a_balloon_2D.h:178
Image data header.
Definition d_menu_dmap_map.cpp:109
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8