d_kankyo work

This commit is contained in:
Jasper St. Pierre
2023-12-01 21:21:00 -08:00
parent 6f6c73dc8b
commit 440287c60c
3 changed files with 291 additions and 48 deletions
+6 -1
View File
@@ -421,11 +421,13 @@ public:
field_0x493d = slot;
field_0x493e = i_itemNo;
}
void setAStatus(u8 status) { mCurrButtonBAction = status; }
void setDoStatus(u8 status) { mCurrButtonAAction = status; }
void setRStatusForce(u8 status) { field_0x4930 = status; }
u8 getScopeType() { return mbCamOverrideFarPlane; }
void setScopeType(u8 v) { mbCamOverrideFarPlane = v; }
void setCurrentGrafPort(J2DOrthoGraph* i_graf) { mCurrentGrafPort = i_graf; }
void setCurrentWindow(dDlst_window_c* i_window) { mCurrentWindow = i_window; }
void setCurrentView(view_class* i_view) { mCurrentView = i_view; }
@@ -2041,6 +2043,9 @@ inline void dComIfGp_setItem(u8 slot, u8 i_itemNo) {
g_dComIfG_gameInfo.play.setItem(slot, i_itemNo);
}
inline u8 dComIfGp_getScopeType() { return g_dComIfG_gameInfo.play.getScopeType(); }
inline void dComIfGp_setScopeType(u8 v) { g_dComIfG_gameInfo.play.setScopeType(v); }
inline void dComIfGp_setCurrentGrafPort(J2DOrthoGraph* i_graf) {
g_dComIfG_gameInfo.play.setCurrentGrafPort(i_graf);
}
+3 -2
View File
@@ -207,7 +207,8 @@ public:
/* 0x038 */ LIGHT_INFLUENCE mLightInfluence[30];
/* 0x3F8 */ LIGHT_INFLUENCE* mpPLights[200];
/* 0x718 */ LIGHT_INFLUENCE* mpEfLights[10];
/* 0x740 */ u8 field_0x740[0x764 - 0x740];
/* 0x740 */ LIGHT_INFLUENCE mColChgLight;
/* 0x760 */ u32 field_0x760;
/* 0x764 */ EFLIGHT_PROC mEfLightProc;
/* 0x78C */ stage_plight_info_class* mpPlightInfo;
/* 0x790 */ WIND_INFLUENCE* mpWindInfluence[30];
@@ -346,7 +347,7 @@ public:
/* 0xC90 */ u8 mColPatModeGather;
/* 0xC91 */ u8 mFogAdjEnable;
/* 0xC92 */ u8 mFogAdjTableType;
/* 0xC93 */ u8 mItemGetCol_chg;
/* 0xC93 */ u8 mColChgFlag;
/* 0xC94 */ u8 mInitAnimTimer;
/* 0xC95 */ u8 mSchbit;
/* 0xC96 */ u8 mbVrboxInvisible;