Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_menu_map_common.h
Go to the documentation of this file.
1#ifndef D_MENU_D_MENU_MAP_COMMON_H
2#define D_MENU_D_MENU_MAP_COMMON_H
3
4#include "dolphin/types.h"
5
6class J2DPicture;
7class JKRArchive;
9
11 /* 801C2718 */ dMenuMapCommon_c();
12 /* 801C27B4 */ virtual ~dMenuMapCommon_c();
13 /* 801C28D8 */ void initiate(JKRArchive*);
14 /* 801C38E4 */ void drawIcon(f32, f32, f32, f32);
15 /* 801C3EC4 */ void iconScale(int, f32, f32, f32);
16 /* 801C43A8 */ bool setIconInfo(u8, f32, f32, f32, f32, f32, u8);
17 /* 801C443C */ void clearIconInfo();
18 /* 801C4494 */ void setBlendRatio(u8, f32, f32);
19 /* 801C452C */ void blinkMove(s16);
20 /* 801C4600 */ void moveLightDropAnime();
21 /* 801C4738 */ float getIconSizeX(u8 index);
22 /* 801C4778 */ float getIconSizeY(u8 index);
23 /* 801C47C4 */ void debugIcon();
24
29
30 struct data {
31 /* 0x00 */ float _0;
32 /* 0x04 */ float _4;
33 /* 0x08 */ float _8;
34 /* 0x0C */ float _C;
35 /* 0x10 */ float _10;
36 /* 0x14 */ u8 _14;
37 /* 0x15 */ u8 _15;
38 };
39
40 struct Stage_c {
41 // Incomplete class
42
43 struct data {
44 // Unknown name
45
46 /* 0x00 */ char mName[8];
47 /* 0x08 */ u8 mRoomNo;
48 /* 0x09 */ u8 mRegionNo;
49 /* 0x0A */ u16 mAreaName;
50 /* 0x0C */ f32 mOffsetX;
51 /* 0x10 */ f32 mOffsetZ;
52 };
53
54 /* 0x0 */ u8 mCount;
55 /* 0x4 */ data mData[0];
56 };
57
58 class RoomData_c {
59 public:
60 struct data {
61 /* 0x0 */ u8 mSize;
62 /* 0x1 */ u8 field_0x1[3];
63 /* 0x4 */ u8 mData[0];
64 };
65
70
71 /* 0x0 */ data* mpRoomData;
73 };
74
75 /* 0x004 */ J2DPicture* mPictures[23];
76 /* 0x060 */ J2DPicture* _60;
79 /* 0x06C */ u32 _6c;
80 /* 0x070 */ data _70[128];
81 /* 0xC70 */ u16 mIconNum;
82 /* 0xC72 */ s16 _c72;
83 /* 0xC74 */ s16 _c74;
84 /* 0xC76 */ u16 _c76;
85 /* 0xC78 */ float _c78;
86 /* 0xC7C */ float _c7c;
87 /* 0xC80 */ float _c80;
88 /* 0xC84 */ float _c84;
89 /* 0xC88 */ float _c88;
90 /* 0xC8C */ float mCenterPosX;
91 /* 0xC90 */ u8 _c90;
92};
93
94#endif /* D_MENU_D_MENU_MAP_COMMON_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition J2DPicture.h:55
Definition JKRArchive.h:57
Definition d_menu_map_common.h:58
data * mpRoomData
Definition d_menu_map_common.h:71
RoomData_c * mpNextData
Definition d_menu_map_common.h:72
data * getRoomData()
Definition d_menu_map_common.h:66
void setNextData(RoomData_c *i_nextData)
Definition d_menu_map_common.h:69
void setRoomData(void *i_data)
Definition d_menu_map_common.h:68
RoomData_c * getNextData()
Definition d_menu_map_common.h:67
Definition d_select_cursor.h:26
Definition d_menu_map_common.h:60
u8 mSize
Definition d_menu_map_common.h:61
u8 mData[0]
Definition d_menu_map_common.h:63
u8 field_0x1[3]
Definition d_menu_map_common.h:62
Definition d_menu_map_common.h:43
f32 mOffsetX
Definition d_menu_map_common.h:50
f32 mOffsetZ
Definition d_menu_map_common.h:51
u16 mAreaName
Definition d_menu_map_common.h:49
char mName[8]
Definition d_menu_map_common.h:46
u8 mRegionNo
Definition d_menu_map_common.h:48
u8 mRoomNo
Definition d_menu_map_common.h:47
Definition d_menu_map_common.h:40
u8 mCount
Definition d_menu_map_common.h:54
data mData[0]
Definition d_menu_map_common.h:55
Definition d_menu_map_common.h:30
float _8
Definition d_menu_map_common.h:33
u8 _14
Definition d_menu_map_common.h:36
float _10
Definition d_menu_map_common.h:35
u8 _15
Definition d_menu_map_common.h:37
float _C
Definition d_menu_map_common.h:34
float _4
Definition d_menu_map_common.h:32
float _0
Definition d_menu_map_common.h:31
Definition d_menu_map_common.h:10
void iconScale(int, f32, f32, f32)
Definition d_menu_map_common.cpp:398
float _c88
Definition d_menu_map_common.h:89
u8 _c90
Definition d_menu_map_common.h:91
float _c80
Definition d_menu_map_common.h:87
float _c78
Definition d_menu_map_common.h:85
s16 _c74
Definition d_menu_map_common.h:83
void setBlendRatio(u8, f32, f32)
Definition d_menu_map_common.cpp:539
s16 _c72
Definition d_menu_map_common.h:82
void clearIconInfo()
Definition d_menu_map_common.cpp:523
J2DPicture * _60
Definition d_menu_map_common.h:76
float _c7c
Definition d_menu_map_common.h:86
void setCenterPosX(f32 center_pos, u8 param_2)
Definition d_menu_map_common.h:25
float getIconSizeX(u8 index)
Definition d_menu_map_common.cpp:590
data _70[128]
Definition d_menu_map_common.h:80
u16 _c76
Definition d_menu_map_common.h:84
u16 mIconNum
Definition d_menu_map_common.h:81
void initiate(JKRArchive *)
Definition d_menu_map_common.cpp:73
float getIconSizeY(u8 index)
Definition d_menu_map_common.cpp:601
float _c84
Definition d_menu_map_common.h:88
u32 _6c
Definition d_menu_map_common.h:79
void moveLightDropAnime()
Definition d_menu_map_common.cpp:564
float mCenterPosX
Definition d_menu_map_common.h:90
dSelect_cursor_c * mpPortalIcon
Definition d_menu_map_common.h:78
virtual ~dMenuMapCommon_c()
Definition d_menu_map_common.cpp:50
void drawIcon(f32, f32, f32, f32)
Definition d_menu_map_common.cpp:289
J2DPicture * mPictures[23]
Definition d_menu_map_common.h:75
void debugIcon()
Definition d_menu_map_common.cpp:611
dMenuMapCommon_c()
Definition d_menu_map_common.cpp:29
void blinkMove(s16)
Definition d_menu_map_common.cpp:549
bool setIconInfo(u8, f32, f32, f32, f32, f32, u8)
Definition d_menu_map_common.cpp:505
dSelect_cursor_c * mpDrawCursor
Definition d_menu_map_common.h:77
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8