diff options
| author | robojumper <robojumper@gmail.com> | 2025-04-20 14:19:18 +0200 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2025-04-21 21:51:06 +0200 |
| commit | 2eead00a497dfa47b04462b22a8f100bb7fdff69 (patch) | |
| tree | 0e08e26832f8a4681ad132f49fe13d984f6b1b43 /include/d/lyt | |
| parent | 397eb596cdd77181a73a952b81d1d15d4c52f154 (diff) | |
d_lyt_area_caption OK
Diffstat (limited to 'include/d/lyt')
| -rw-r--r-- | include/d/lyt/d_lyt_area_caption.h | 13 | ||||
| -rw-r--r-- | include/d/lyt/meter/d_lyt_meter.h | 4 |
2 files changed, 11 insertions, 6 deletions
diff --git a/include/d/lyt/d_lyt_area_caption.h b/include/d/lyt/d_lyt_area_caption.h index af132d0c..8f71818d 100644 --- a/include/d/lyt/d_lyt_area_caption.h +++ b/include/d/lyt/d_lyt_area_caption.h @@ -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 diff --git a/include/d/lyt/meter/d_lyt_meter.h b/include/d/lyt/meter/d_lyt_meter.h index a246ae74..102157a0 100644 --- a/include/d/lyt/meter/d_lyt_meter.h +++ b/include/d/lyt/meter/d_lyt_meter.h @@ -109,6 +109,10 @@ public: return mPanesNotHiddenByAreaCaption[8]; } + void setGanbariGaugeHiddenByAreaCaption(bool visible) { + mPanesNotHiddenByAreaCaption[15] = visible; + } + bool getField_0x1377E() const { return field_0x1377E; } |
