d_lyt_pause_disp_00 with a few nonmatching functions

This commit is contained in:
robojumper
2025-08-09 15:48:22 +02:00
parent dda24ef01a
commit 0847c40aa0
6 changed files with 459 additions and 241 deletions
+4
View File
@@ -40,6 +40,10 @@ public:
return mCursorIf.getHit();
}
dCursorInterface_c *getCursorIf() {
return &mCursorIf;
}
static dCsBase_c *GetInstance() {
return sInstance;
}
+10
View File
@@ -17,6 +17,16 @@ public:
bool execute();
bool draw();
void drawDirectly();
void requestIn(bool scroll);
void requestOut(bool scroll);
void requestSelect();
void requestRing();
void requestUnselect();
bool requestSelectGuide();
bool requestSelectMpls();
STATE_FUNC_DECLARE(dLytPauseDisp00_c, None);
STATE_FUNC_DECLARE(dLytPauseDisp00_c, In);
STATE_FUNC_DECLARE(dLytPauseDisp00_c, Wait);
+16
View File
@@ -22,24 +22,40 @@ u8 getSongLifeTreeStatus();
/** 0: no sword, 6: TMS */
s32 getCurrentSwordLevel();
u16 getCurrentSwordItemId();
bool isSwordRestrictedBokoBase();
u16 getCurrentGoddessHarpItemId();
bool isHarpRestrictedBokoBase();
u16 getCurrentEarringsItemId();
u16 getTabletItemIdForIndex(s32 index);
u16 getTriforceItemIdForIndex(s32 index);
u16 getSongItemIdForIndex(s32 index);
bool hasGoddessHarp();
bool hasSong(s32 index);
bool hasWaterDragonScale();
u16 getCurrentWaterDragonScaleItemId();
bool isWaterDragonScaleRestricted();
bool hasSailcloth();
s32 getCurrentMittsLevel();
u16 getCurrentMittsItemId();
bool isMittsRestricted();
u16 getCurrentSailclothItemId();
u16 getCurrentWalletItemId();
u16 getCurrentHeartPieceItemId();
void getItemLabel(s32 itemId, SizedString<32> &buf);
void getCaptionItemLabel(s32 itemId, SizedString<32> &buf);
void getDowsingLabel(s32 itemId, SizedString<32> &buf);
+4
View File
@@ -315,6 +315,10 @@ public:
mVec2_c operator-(const mVec2_c &v) const {
return mVec2_c(x - v.x, y - v.y);
}
f32 squareDistanceTo(const mVec2_c &other) const {
return (*this - other).squaredLength();
}
};
#endif