diff options
Diffstat (limited to 'include/d/d_com_inf_game.h')
| -rw-r--r-- | include/d/d_com_inf_game.h | 34 |
1 files changed, 31 insertions, 3 deletions
diff --git a/include/d/d_com_inf_game.h b/include/d/d_com_inf_game.h index fd99d3cd..bcc7db8b 100644 --- a/include/d/d_com_inf_game.h +++ b/include/d/d_com_inf_game.h @@ -474,6 +474,12 @@ public: u8 getScopeType() { return mScopeType; } void setScopeType(u8 type) { mScopeType = type; } + void setItemScopeWipeTimer(u8 timer) { mItemScopeWipeTimer = timer; } + f32 getItemScopeWipeScale() { return mItemScopeWipeScale; } + void setItemScopeWipeScale(f32 scale) { mItemScopeWipeScale = scale; } + bool getScopeWipeFlag() { return mScopeWipeFlag; } + void setScopeWipeFlag(bool flag) { mScopeWipeFlag = flag; } + u8 getOperateWind() { return mOperateWind; } void setOperateWindCancelOff() { mOperateWind = 0; } void setOperateWindChangeOff() { mOperateWind = 1; } @@ -602,6 +608,7 @@ public: void setActionIconArchive(JKRArchive * pArc) { mpActionIconArchive = pArc; } JKRArchive* getActionIconArchive() { return mpActionIconArchive; } void setScopeResArchive(JKRArchive * pArc) { mpScopeResArchive = pArc; } + JKRArchive* getScopeResArchive() { return mpScopeResArchive; } JKRArchive* getCameraResArchive() { return mpCameraResArchive; } void setCameraResArchive(JKRArchive * pArc) { mpCameraResArchive = pArc; } JKRArchive* getSwimResArchive() { return mpSwimResArchive; } @@ -772,7 +779,7 @@ public: /* 0x4 */ s8 mCameraID; } mPlayerInfo[1]; /* 0x48AC */ fopAc_ac_c* mpPlayerPtr[3]; // 0: Link, 1: Partner, 2: Ship - /* 0x48B8 */ f32 field_0x48b8; + /* 0x48B8 */ f32 mItemScopeWipeScale; /* 0x48BC */ f32 mItemLifeCount; /* 0x48C0 */ s32 mItemRupeeCount; /* 0x48C4 */ s32 mAirMeter; @@ -800,7 +807,7 @@ public: /* 0x4924 */ u16 mItemNowLife; /* 0x4926 */ s16 mItemNowRupee; /* 0x4928 */ bool mItemSwimTimerStatus; - /* 0x4929 */ u8 field_0x4929; + /* 0x4929 */ u8 mItemScopeWipeTimer; /* 0x492A */ u8 mMesgStatus; /* 0x492B */ u8 mScopeMesgStatus; /* 0x492C */ u8 field_0x492c; @@ -855,7 +862,7 @@ public: /* 0x4965 */ u8 field_0x4965; /* 0x4966 */ char mInputPassword[0x11]; /* 0x4977 */ u8 mMesgBgm; - /* 0x4978 */ u8 field_0x4978; + /* 0x4978 */ u8 mScopeWipeFlag; /* 0x4979 */ u8 m2dShow; /* 0x497A */ u8 field_0x497a; /* 0x497B */ u8 field_0x497B[0x497C - 0x497B]; @@ -2752,6 +2759,26 @@ inline void dComIfGp_setScopeType(u8 type) { g_dComIfG_gameInfo.play.setScopeType(type); } +inline void dComIfGp_setItemScopeWipeTimer(u8 timer) { + g_dComIfG_gameInfo.play.setItemScopeWipeTimer(timer); +} + +inline f32 dComIfGp_getItemScopeWipeScale() { + return g_dComIfG_gameInfo.play.getItemScopeWipeScale(); +} + +inline void dComIfGp_setItemScopeWipeScale(f32 scale) { + g_dComIfG_gameInfo.play.setItemScopeWipeScale(scale); +} + +inline bool dComIfGp_getScopeWipeFlag() { + return g_dComIfG_gameInfo.play.getScopeWipeFlag(); +} + +inline void dComIfGp_setScopeWipeFlag(bool flag) { + g_dComIfG_gameInfo.play.setScopeWipeFlag(flag); +} + inline u8 dComIfGp_getOperateWind() { return g_dComIfG_gameInfo.play.getOperateWind(); } @@ -3937,6 +3964,7 @@ inline JKRArchive* dComIfGp_getErrorResArchive() { return g_dComIfG_gameInfo.pla inline void dComIfGp_setActionIconArchive(JKRArchive * pArc) { g_dComIfG_gameInfo.play.setActionIconArchive(pArc); } inline JKRArchive* dComIfGp_getActionIconArchive() { return g_dComIfG_gameInfo.play.getActionIconArchive(); } inline void dComIfGp_setScopeResArchive(JKRArchive * pArc) { g_dComIfG_gameInfo.play.setScopeResArchive(pArc); } +inline JKRArchive* dComIfGp_getScopeResArchive() { return g_dComIfG_gameInfo.play.getScopeResArchive(); } inline JKRArchive* dComIfGp_getCameraResArchive() { return g_dComIfG_gameInfo.play.getCameraResArchive(); } inline void dComIfGp_setCameraResArchive(JKRArchive * pArc) { g_dComIfG_gameInfo.play.setCameraResArchive(pArc); } inline JKRArchive* dComIfGp_getSwimResArchive() { return g_dComIfG_gameInfo.play.getSwimResArchive(); } |
