mirror of
https://github.com/zeldaret/ss
synced 2026-07-11 14:48:32 -04:00
d_lyt_pause_disp_00 with a few nonmatching functions
This commit is contained in:
@@ -40,6 +40,10 @@ public:
|
||||
return mCursorIf.getHit();
|
||||
}
|
||||
|
||||
dCursorInterface_c *getCursorIf() {
|
||||
return &mCursorIf;
|
||||
}
|
||||
|
||||
static dCsBase_c *GetInstance() {
|
||||
return sInstance;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user