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
6
class
J2DPicture
;
7
class
JKRArchive
;
8
class
dSelect_cursor_c
;
9
10
struct
dMenuMapCommon_c
{
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
25
void
setCenterPosX
(
f32
center_pos
,
u8
param_2
) {
26
mCenterPosX
=
center_pos
;
27
_c90
=
param_2
;
28
}
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
66
data
*
getRoomData
() {
return
mpRoomData
; }
67
RoomData_c
*
getNextData
() {
return
mpNextData
; }
68
void
setRoomData
(
void
*
i_data
) {
mpRoomData
= (
data
*)
i_data
; }
69
void
setNextData
(
RoomData_c
*
i_nextData
) {
mpNextData
=
i_nextData
; }
70
71
/* 0x0 */
data
*
mpRoomData
;
72
/* 0x4 */
RoomData_c
*
mpNextData
;
73
};
74
75
/* 0x004 */
J2DPicture
*
mPictures
[23];
76
/* 0x060 */
J2DPicture
*
_60
;
77
/* 0x064 */
dSelect_cursor_c
*
mpDrawCursor
;
78
/* 0x068 */
dSelect_cursor_c
*
mpPortalIcon
;
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 */
cLib_calcTimer
T cLib_calcTimer(T *value)
Definition
c_lib.h:74
J2DPicture
Definition
J2DPicture.h:55
JKRArchive
Definition
JKRArchive.h:57
dMenuMapCommon_c::RoomData_c
Definition
d_menu_map_common.h:58
dMenuMapCommon_c::RoomData_c::mpRoomData
data * mpRoomData
Definition
d_menu_map_common.h:71
dMenuMapCommon_c::RoomData_c::mpNextData
RoomData_c * mpNextData
Definition
d_menu_map_common.h:72
dMenuMapCommon_c::RoomData_c::getRoomData
data * getRoomData()
Definition
d_menu_map_common.h:66
dMenuMapCommon_c::RoomData_c::setNextData
void setNextData(RoomData_c *i_nextData)
Definition
d_menu_map_common.h:69
dMenuMapCommon_c::RoomData_c::setRoomData
void setRoomData(void *i_data)
Definition
d_menu_map_common.h:68
dMenuMapCommon_c::RoomData_c::getNextData
RoomData_c * getNextData()
Definition
d_menu_map_common.h:67
dSelect_cursor_c
Definition
d_select_cursor.h:26
dMenuMapCommon_c::RoomData_c::data
Definition
d_menu_map_common.h:60
dMenuMapCommon_c::RoomData_c::data::mSize
u8 mSize
Definition
d_menu_map_common.h:61
dMenuMapCommon_c::RoomData_c::data::mData
u8 mData[0]
Definition
d_menu_map_common.h:63
dMenuMapCommon_c::RoomData_c::data::field_0x1
u8 field_0x1[3]
Definition
d_menu_map_common.h:62
dMenuMapCommon_c::Stage_c::data
Definition
d_menu_map_common.h:43
dMenuMapCommon_c::Stage_c::data::mOffsetX
f32 mOffsetX
Definition
d_menu_map_common.h:50
dMenuMapCommon_c::Stage_c::data::mOffsetZ
f32 mOffsetZ
Definition
d_menu_map_common.h:51
dMenuMapCommon_c::Stage_c::data::mAreaName
u16 mAreaName
Definition
d_menu_map_common.h:49
dMenuMapCommon_c::Stage_c::data::mName
char mName[8]
Definition
d_menu_map_common.h:46
dMenuMapCommon_c::Stage_c::data::mRegionNo
u8 mRegionNo
Definition
d_menu_map_common.h:48
dMenuMapCommon_c::Stage_c::data::mRoomNo
u8 mRoomNo
Definition
d_menu_map_common.h:47
dMenuMapCommon_c::Stage_c
Definition
d_menu_map_common.h:40
dMenuMapCommon_c::Stage_c::mCount
u8 mCount
Definition
d_menu_map_common.h:54
dMenuMapCommon_c::Stage_c::mData
data mData[0]
Definition
d_menu_map_common.h:55
dMenuMapCommon_c::data
Definition
d_menu_map_common.h:30
dMenuMapCommon_c::data::_8
float _8
Definition
d_menu_map_common.h:33
dMenuMapCommon_c::data::_14
u8 _14
Definition
d_menu_map_common.h:36
dMenuMapCommon_c::data::_10
float _10
Definition
d_menu_map_common.h:35
dMenuMapCommon_c::data::_15
u8 _15
Definition
d_menu_map_common.h:37
dMenuMapCommon_c::data::_C
float _C
Definition
d_menu_map_common.h:34
dMenuMapCommon_c::data::_4
float _4
Definition
d_menu_map_common.h:32
dMenuMapCommon_c::data::_0
float _0
Definition
d_menu_map_common.h:31
dMenuMapCommon_c
Definition
d_menu_map_common.h:10
dMenuMapCommon_c::iconScale
void iconScale(int, f32, f32, f32)
Definition
d_menu_map_common.cpp:398
dMenuMapCommon_c::_c88
float _c88
Definition
d_menu_map_common.h:89
dMenuMapCommon_c::_c90
u8 _c90
Definition
d_menu_map_common.h:91
dMenuMapCommon_c::_c80
float _c80
Definition
d_menu_map_common.h:87
dMenuMapCommon_c::_c78
float _c78
Definition
d_menu_map_common.h:85
dMenuMapCommon_c::_c74
s16 _c74
Definition
d_menu_map_common.h:83
dMenuMapCommon_c::setBlendRatio
void setBlendRatio(u8, f32, f32)
Definition
d_menu_map_common.cpp:539
dMenuMapCommon_c::_c72
s16 _c72
Definition
d_menu_map_common.h:82
dMenuMapCommon_c::clearIconInfo
void clearIconInfo()
Definition
d_menu_map_common.cpp:523
dMenuMapCommon_c::_60
J2DPicture * _60
Definition
d_menu_map_common.h:76
dMenuMapCommon_c::_c7c
float _c7c
Definition
d_menu_map_common.h:86
dMenuMapCommon_c::setCenterPosX
void setCenterPosX(f32 center_pos, u8 param_2)
Definition
d_menu_map_common.h:25
dMenuMapCommon_c::getIconSizeX
float getIconSizeX(u8 index)
Definition
d_menu_map_common.cpp:590
dMenuMapCommon_c::_70
data _70[128]
Definition
d_menu_map_common.h:80
dMenuMapCommon_c::_c76
u16 _c76
Definition
d_menu_map_common.h:84
dMenuMapCommon_c::mIconNum
u16 mIconNum
Definition
d_menu_map_common.h:81
dMenuMapCommon_c::initiate
void initiate(JKRArchive *)
Definition
d_menu_map_common.cpp:73
dMenuMapCommon_c::getIconSizeY
float getIconSizeY(u8 index)
Definition
d_menu_map_common.cpp:601
dMenuMapCommon_c::_c84
float _c84
Definition
d_menu_map_common.h:88
dMenuMapCommon_c::_6c
u32 _6c
Definition
d_menu_map_common.h:79
dMenuMapCommon_c::moveLightDropAnime
void moveLightDropAnime()
Definition
d_menu_map_common.cpp:564
dMenuMapCommon_c::mCenterPosX
float mCenterPosX
Definition
d_menu_map_common.h:90
dMenuMapCommon_c::mpPortalIcon
dSelect_cursor_c * mpPortalIcon
Definition
d_menu_map_common.h:78
dMenuMapCommon_c::~dMenuMapCommon_c
virtual ~dMenuMapCommon_c()
Definition
d_menu_map_common.cpp:50
dMenuMapCommon_c::drawIcon
void drawIcon(f32, f32, f32, f32)
Definition
d_menu_map_common.cpp:289
dMenuMapCommon_c::mPictures
J2DPicture * mPictures[23]
Definition
d_menu_map_common.h:75
dMenuMapCommon_c::debugIcon
void debugIcon()
Definition
d_menu_map_common.cpp:611
dMenuMapCommon_c::dMenuMapCommon_c
dMenuMapCommon_c()
Definition
d_menu_map_common.cpp:29
dMenuMapCommon_c::blinkMove
void blinkMove(s16)
Definition
d_menu_map_common.cpp:549
dMenuMapCommon_c::setIconInfo
bool setIconInfo(u8, f32, f32, f32, f32, f32, u8)
Definition
d_menu_map_common.cpp:505
dMenuMapCommon_c::mpDrawCursor
dSelect_cursor_c * mpDrawCursor
Definition
d_menu_map_common.h:77
types.h
u32
unsigned long u32
Definition
types.h:10
f32
float f32
Definition
types.h:22
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_map_common.h
Generated by
1.9.8