d_kankyo work

This commit is contained in:
Jasper St. Pierre
2023-09-30 18:01:05 -07:00
parent c983ef2106
commit f44e135b45
5 changed files with 283 additions and 34 deletions
+12
View File
@@ -514,6 +514,18 @@ inline void dComIfGs_onEventBit(u16 id) {
g_dComIfG_gameInfo.save.getEvent().onEventBit(id);
}
inline void dComIfGs_offEventBit(u16 id) {
g_dComIfG_gameInfo.save.getEvent().offEventBit(id);
}
inline void dComIfGs_onTmpBit(u16 id) {
g_dComIfG_gameInfo.save.getTmp().onEventBit(id);
}
inline void dComIfGs_offTmpBit(u16 id) {
g_dComIfG_gameInfo.save.getTmp().offEventBit(id);
}
inline void dComIfGs_setRestartRoomParam(u32 i_param) {
g_dComIfG_gameInfo.save.getRestart().setRoomParam(i_param);
}
-6
View File
@@ -413,10 +413,4 @@ void dKy_set_vrboxkumocol_ratio(f32 ratio);
cXyz dKy_get_orion_pos();
cXyz dKy_get_hokuto_pos();
/* 80197AB8-80197FE4 .text dKankyo_DayProc__Fv */
// supposed to be generated after sinit...
static void dKankyo_DayProc() {
/* Nonmatching */
}
#endif /* D_KANKYO_D_KANKYO_H */
+1
View File
@@ -656,6 +656,7 @@ public:
dSv_ocean_c& getOcean() { return mSavedata.getOcean(); }
dSv_event_c& getEvent() { return mSavedata.getEvent(); }
dSv_restart_c& getRestart() { return mRestart; }
dSv_event_c& getTmp() { return mTmp; }
dSv_turnRestart_c& getTurnRestart() { return mTurnRestart; }
dSv_memory_c& getMemory() { return mMemory; }
dSv_danBit_c& getDan() { return mDan; }