mirror of
https://github.com/zeldaret/ss
synced 2026-05-23 23:05:20 -04:00
d_lyt_area_caption OK
This commit is contained in:
@@ -6,9 +6,16 @@ public:
|
||||
static bool checkButtonAPressed();
|
||||
static bool checkButtonBPressed();
|
||||
static bool checkButtonZPressed();
|
||||
static bool checkButtonCPressed();
|
||||
static bool checkButtonMinusPressed();
|
||||
static bool checkButtonPlusPressed();
|
||||
static bool checkButton1Pressed();
|
||||
static bool checkButton2Pressed();
|
||||
|
||||
static bool checkButtonDpadUpPressed();
|
||||
static bool checkButtonDpadDownPressed();
|
||||
static bool checkButtonDpadLeftPressed();
|
||||
static bool checkButtonDpadRightPressed();
|
||||
|
||||
static bool checkButtonAHeld();
|
||||
static bool checkButtonZHeld();
|
||||
|
||||
@@ -54,6 +54,17 @@ public:
|
||||
bool isAreaTypeOverworldOrSkyloft() const;
|
||||
s32 getSTIFunk1() const;
|
||||
|
||||
s32 getSTIFbyte4() const;
|
||||
bool isSTIFbyte4_2or3or4() const;
|
||||
bool isSTIFbyte4_5or6() const;
|
||||
bool isSTIFbyte4_7or8or9or10or11() const;
|
||||
bool isSTIFbyte4_1() const {
|
||||
return getSTIFbyte4() == 1;
|
||||
}
|
||||
bool isSTIFbyte4_0() const {
|
||||
return getSTIFbyte4() == 0;
|
||||
}
|
||||
|
||||
s32 getAreaType() const;
|
||||
s32 getMapNameId() const;
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "d/lyt/d2d.h"
|
||||
#include "s/s_State.hpp"
|
||||
#include "s/s_StateMgr.hpp"
|
||||
|
||||
class dLytAreaCaptionParts_c {
|
||||
public:
|
||||
@@ -23,13 +22,15 @@ public:
|
||||
STATE_FUNC_DECLARE(dLytAreaCaptionParts_c, Out);
|
||||
|
||||
private:
|
||||
bool shouldImmediatelyDismiss() const;
|
||||
|
||||
/* 0x000 */ UI_STATE_MGR_DECLARE(dLytAreaCaptionParts_c);
|
||||
/* 0x040 */ d2d::ResAccIf_c mResAcc;
|
||||
/* 0x0EB */ d2d::dLytSub mLyt;
|
||||
/* 0x110 */ d2d::AnmGroup_c mAnmGroups[4];
|
||||
/* 0x540 */ dTextBox_c *mTextBoxes[3];
|
||||
/* 0x54C */ u8 field_0x54C;
|
||||
/* 0x54D */ u8 field_0x54D;
|
||||
/* 0x54C */ bool field_0x54C;
|
||||
/* 0x54D */ bool field_0x54D;
|
||||
/* 0x54E */ u8 mFirst;
|
||||
/* 0x54F */ bool mAnmCtrlInUse[4];
|
||||
};
|
||||
@@ -63,10 +64,10 @@ private:
|
||||
void doSetTextIfWaiting(const char *);
|
||||
void doSetArea(int id);
|
||||
void doCheck();
|
||||
dLytAreaCaptionParts_c mParts[2];
|
||||
|
||||
s32 mPartToDraw;
|
||||
bool mVisible;
|
||||
/* 0x000 */ dLytAreaCaptionParts_c mParts[2];
|
||||
/* 0xAA8 */ s32 mPartToDraw;
|
||||
/* 0xAAC */ bool mVisible;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -109,6 +109,10 @@ public:
|
||||
return mPanesNotHiddenByAreaCaption[8];
|
||||
}
|
||||
|
||||
void setGanbariGaugeHiddenByAreaCaption(bool visible) {
|
||||
mPanesNotHiddenByAreaCaption[15] = visible;
|
||||
}
|
||||
|
||||
bool getField_0x1377E() const {
|
||||
return field_0x1377E;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user