mirror of
https://github.com/zeldaret/ss
synced 2026-09-10 03:52:24 -04:00
d_lyt_msg_window 91%
This commit is contained in:
@@ -88,6 +88,8 @@ private:
|
||||
|
||||
/* 0x2FC */ s32 field_0x2FC;
|
||||
|
||||
/* 0x300 */ u8 _0x300[0x329 - 0x300];
|
||||
|
||||
/* 0x329 */ bool field_0x329;
|
||||
/* 0x32A */ bool field_0x32A;
|
||||
|
||||
|
||||
+5
-1
@@ -3,8 +3,12 @@
|
||||
|
||||
class dPad {
|
||||
public:
|
||||
|
||||
static bool checkButtonAPressed();
|
||||
static bool checkButtonBPressed();
|
||||
static bool checkButtonZPressed();
|
||||
static bool checkButtonPlusPressed();
|
||||
|
||||
static bool checkButtonAHeld();
|
||||
static bool checkButtonZHeld();
|
||||
};
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ public:
|
||||
bool checkSomethingMeter();
|
||||
|
||||
private:
|
||||
MSG_WINDOW_STATE_MGR_INLINE(dLytAutoCaption_c)
|
||||
/* 0x010 */ UI_STATE_MGR_DECLARE(dLytAutoCaption_c);
|
||||
/* 0x068 */ d2d::ResAccIf_c mResAcc;
|
||||
/* 0x3C4 */ d2d::LytBase_c mLyt;
|
||||
|
||||
@@ -34,6 +34,7 @@ public:
|
||||
bool checkSomethingMeter();
|
||||
|
||||
private:
|
||||
MSG_WINDOW_STATE_MGR_INLINE(dLytAutoExplain_c)
|
||||
/* 0x010 */ UI_STATE_MGR_DECLARE(dLytAutoExplain_c);
|
||||
/* 0x068 */ d2d::ResAccIf_c mResAcc;
|
||||
/* 0x3C4 */ d2d::LytBase_c mLyt;
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
#include "m/m_vec.h"
|
||||
#include "nw4r/lyt/lyt_pane.h"
|
||||
|
||||
#define MSG_WINDOW_STATE_MGR_INLINE(className) void changeState(const sFStateID_c<className> &newState) { mStateMgr.changeState(newState); }
|
||||
|
||||
class dLytMsgWindowSubtype : public m2d::Base_c {
|
||||
public:
|
||||
/* vt 0x08 */ virtual ~dLytMsgWindowSubtype() {}
|
||||
|
||||
@@ -41,6 +41,7 @@ public:
|
||||
private:
|
||||
static SizedString<64> getTextLabel();
|
||||
|
||||
MSG_WINDOW_STATE_MGR_INLINE(dLytMsgWindowDemo_c)
|
||||
/* 0x010 */ UI_STATE_MGR_DECLARE(dLytMsgWindowDemo_c);
|
||||
/* 0x04C */ d2d::ResAccIf_c mResAcc;
|
||||
/* 0x3BC */ d2d::LytBase_c mLyt;
|
||||
|
||||
@@ -2,10 +2,13 @@
|
||||
#define D_LYT_MSG_WINDOW_GET_H
|
||||
|
||||
#include "d/d_tag_processor.h"
|
||||
#include "d/d_textwindow_unk.h"
|
||||
#include "d/lyt/d2d.h"
|
||||
#include "d/lyt/d_lyt_common_a_btn.h"
|
||||
#include "d/lyt/d_textbox.h"
|
||||
#include "d/lyt/msg_window/d_lyt_msg_window_common.h"
|
||||
#include "s/s_State.hpp"
|
||||
#include "toBeSorted/lyt_vec2f.h"
|
||||
|
||||
class dLytMsgWindowGet_c : public dLytMsgWindowSubtype {
|
||||
public:
|
||||
@@ -39,8 +42,27 @@ public:
|
||||
STATE_FUNC_DECLARE(dLytMsgWindowGet_c, Visible);
|
||||
STATE_FUNC_DECLARE(dLytMsgWindowGet_c, Out);
|
||||
|
||||
dLytMsgWindowCharData *getCharData() {
|
||||
return mBlurRelated.getCharData();
|
||||
}
|
||||
|
||||
private:
|
||||
/* 0x010 */ UI_STATE_MGR_DECLARE(dLytMsgWindowGet_c);
|
||||
MSG_WINDOW_STATE_MGR_INLINE(dLytMsgWindowGet_c)
|
||||
/* 0x0010 */ UI_STATE_MGR_DECLARE(dLytMsgWindowGet_c);
|
||||
/* 0x004C */ d2d::SubPaneList mSubpaneList;
|
||||
/* 0x005C */ d2d::SubPaneListNode mNodes[1];
|
||||
/* 0x0068 */ d2d::ResAccIf_c mResAcc;
|
||||
/* 0x03D8 */ d2d::LytBase_c mLyt;
|
||||
/* 0x0468 */ d2d::AnmGroup_c mAnm[3];
|
||||
/* 0x0528 */ dTextBox_c *mpTextboxes[2];
|
||||
/* 0x0530 */ nw4r::lyt::Pane *mpPanes[6];
|
||||
/* 0x0548 */ dTagProcessor_c *mpTagProcessor;
|
||||
/* 0x054C */ u8 _0x054C[8];
|
||||
/* 0x0554 */ dLytCommonABtn_c mBtn;
|
||||
/* 0x06E8 */ dLytTextLight mText;
|
||||
/* 0x07C4 */ MsgWindowBlurRelated mBlurRelated;
|
||||
|
||||
/* 0x55B8 */ bool mShouldBeOpen;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
#define D_LYT_MSG_WINDOW_LINK_H
|
||||
|
||||
#include "d/d_tag_processor.h"
|
||||
#include "d/d_textwindow_unk.h"
|
||||
#include "d/lyt/d2d.h"
|
||||
#include "d/lyt/d_lyt_common_a_btn.h"
|
||||
#include "d/lyt/d_textbox.h"
|
||||
#include "d/lyt/msg_window/d_lyt_msg_window_common.h"
|
||||
#include "s/s_State.hpp"
|
||||
@@ -39,8 +41,26 @@ public:
|
||||
STATE_FUNC_DECLARE(dLytMsgWindowLink_c, Visible);
|
||||
STATE_FUNC_DECLARE(dLytMsgWindowLink_c, Out);
|
||||
|
||||
dLytMsgWindowCharData *getCharData() {
|
||||
return mBlurRelated.getCharData();
|
||||
}
|
||||
|
||||
private:
|
||||
/* 0x010 */ UI_STATE_MGR_DECLARE(dLytMsgWindowLink_c);
|
||||
MSG_WINDOW_STATE_MGR_INLINE(dLytMsgWindowLink_c)
|
||||
/* 0x0010 */ UI_STATE_MGR_DECLARE(dLytMsgWindowLink_c);
|
||||
/* 0x004C */ d2d::SubPaneList mSubpaneList;
|
||||
/* 0x005C */ d2d::SubPaneListNode mNodes[1];
|
||||
/* 0x0068 */ d2d::ResAccIf_c mResAcc;
|
||||
/* 0x03D8 */ d2d::LytBase_c mLyt;
|
||||
/* 0x0468 */ d2d::AnmGroup_c mAnm[4];
|
||||
/* 0x0568 */ dTextBox_c *mpTextboxes[2];
|
||||
/* 0x0570 */ nw4r::lyt::Pane *mpPanes[5];
|
||||
/* 0x0584 */ dTagProcessor_c *mpTagProcessor;
|
||||
/* 0x0588 */ u8 _0x0588[0x05C0 - 0x0588];
|
||||
/* 0x05C0 */ dLytCommonABtn_c mBtn;
|
||||
/* 0x0770 */ dLytTextLight mText;
|
||||
/* 0x084C */ MsgWindowBlurRelated mBlurRelated;
|
||||
/* 0x583C */ bool mShouldBeOpen;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -42,6 +42,7 @@ public:
|
||||
STATE_FUNC_DECLARE(dLytMsgWindowStone_c, Out);
|
||||
|
||||
private:
|
||||
MSG_WINDOW_STATE_MGR_INLINE(dLytMsgWindowStone_c)
|
||||
/* 0x010 */ UI_STATE_MGR_DECLARE(dLytMsgWindowStone_c);
|
||||
/* 0x04C */ d2d::SubPaneList mSubpaneList;
|
||||
/* 0x05C */ d2d::SubPaneListNode mNodes[1];
|
||||
|
||||
@@ -53,6 +53,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
MSG_WINDOW_STATE_MGR_INLINE(dLytMsgWindowSword_c)
|
||||
/* 0x0010 */ UI_STATE_MGR_DECLARE(dLytMsgWindowSword_c);
|
||||
/* 0x004C */ d2d::SubPaneList mSubpaneList;
|
||||
/* 0x005C */ d2d::SubPaneListNode mNodes[1];
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
#define D_LYT_MSG_WINDOW_TALK_H
|
||||
|
||||
#include "d/d_tag_processor.h"
|
||||
#include "d/d_textwindow_unk.h"
|
||||
#include "d/lyt/d2d.h"
|
||||
#include "d/lyt/d_lyt_common_a_btn.h"
|
||||
#include "d/lyt/d_textbox.h"
|
||||
#include "d/lyt/msg_window/d_lyt_msg_window_common.h"
|
||||
#include "s/s_State.hpp"
|
||||
@@ -39,8 +41,26 @@ public:
|
||||
STATE_FUNC_DECLARE(dLytMsgWindowTalk_c, Visible);
|
||||
STATE_FUNC_DECLARE(dLytMsgWindowTalk_c, Out);
|
||||
|
||||
dLytMsgWindowCharData *getCharData() {
|
||||
return mBlurRelated.getCharData();
|
||||
}
|
||||
|
||||
private:
|
||||
/* 0x010 */ UI_STATE_MGR_DECLARE(dLytMsgWindowTalk_c);
|
||||
MSG_WINDOW_STATE_MGR_INLINE(dLytMsgWindowTalk_c)
|
||||
/* 0x0010 */ UI_STATE_MGR_DECLARE(dLytMsgWindowTalk_c);
|
||||
/* 0x004C */ d2d::SubPaneList mSubpaneList;
|
||||
/* 0x005C */ d2d::SubPaneListNode mNodes[1];
|
||||
/* 0x0068 */ d2d::ResAccIf_c mResAcc;
|
||||
/* 0x03D8 */ d2d::LytBase_c mLyt;
|
||||
/* 0x0468 */ d2d::AnmGroup_c mAnm[4];
|
||||
/* 0x0568 */ dTextBox_c *mpTextboxes[2];
|
||||
/* 0x0570 */ nw4r::lyt::Pane *mpPanes[5];
|
||||
/* 0x0584 */ dTagProcessor_c *mpTagProcessor;
|
||||
/* 0x0588 */ u8 _0x0588[0x05C0 - 0x0588];
|
||||
/* 0x05C0 */ dLytCommonABtn_c mBtn;
|
||||
/* 0x0770 */ dLytTextLight mText;
|
||||
/* 0x084C */ MsgWindowBlurRelated mBlurRelated;
|
||||
/* 0x583C */ bool mShouldBeOpen;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -43,6 +43,7 @@ public:
|
||||
STATE_FUNC_DECLARE(dLytMsgWindowWood_c, Out);
|
||||
|
||||
private:
|
||||
MSG_WINDOW_STATE_MGR_INLINE(dLytMsgWindowWood_c)
|
||||
/* 0x010 */ UI_STATE_MGR_DECLARE(dLytMsgWindowWood_c);
|
||||
/* 0x04C */ d2d::SubPaneList mSubpaneList;
|
||||
/* 0x05C */ d2d::SubPaneListNode mNodes[1];
|
||||
|
||||
@@ -8,4 +8,14 @@ inline f32 get_805751A4() {
|
||||
return lbl_805751A4;
|
||||
}
|
||||
|
||||
extern "C" s32 lbl_80575134;
|
||||
inline s32 get_80575134() {
|
||||
return lbl_80575134;
|
||||
}
|
||||
|
||||
extern "C" s32 lbl_8057511C;
|
||||
inline s32 get_8057511C() {
|
||||
return lbl_8057511C;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -5,5 +5,6 @@
|
||||
|
||||
extern "C" void *lbl_80575DE0;
|
||||
extern "C" void fn_803996B0(void *, const char *msgLabelName, u16, s32);
|
||||
extern "C" void fn_803998A0(void *, u16, u16);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user