diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2023-02-25 18:23:13 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-25 18:23:13 -0800 |
| commit | bf663a0e3d3f5a2fb7bf8a36721c6cb3d81cf988 (patch) | |
| tree | 391f8f7293d8fe4385b512646d187e918d9add17 /include/d/save | |
| parent | 4df6e8edea459eea6b13a0aa5c348d457d15edd5 (diff) | |
d_a_kytag06 fully done / d_msg_class/object work (#300)
* d_a_kytag06 OK and d_msg_class/object wip
* add some GXDraw functions
* cleanup kytag6
* remove asm
Diffstat (limited to 'include/d/save')
| -rw-r--r-- | include/d/save/d_save.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/d/save/d_save.h b/include/d/save/d_save.h index 387be9e51b..8071645b43 100644 --- a/include/d/save/d_save.h +++ b/include/d/save/d_save.h @@ -385,7 +385,7 @@ public: u16 getMaxLife() { return mMaxLife; } u16 getLife() const { return mLife; } - u16 getRupee() { return mRupee; } + u16 getRupee() const { return mRupee; } u16 getOil() { return mOil; } u16 getMaxOil() const { return mMaxOil; } u8& getMagic() { return mMagic; } @@ -678,6 +678,7 @@ class dSv_player_info_c { public: void init(); char* getLinkName() { return mPlayerName; } + char* getHorseName() { return mHorseName; } void setPlayerName(const char* i_name) { strcpy((char*)mPlayerName, i_name); } void setHorseName(const char* i_name) { strcpy((char*)mHorseName, i_name); } void setTotalTime(s64 i_time) { mTotalTime = i_time; } @@ -851,6 +852,9 @@ class dSv_MiniGame_c { public: void init(); + u32 getRaceGameTime() const { return mRaceGameTime; } + u32 getBalloonScore() const { return mBalloonScore; } + private: /* 0x00 */ u8 unk0; /* 0x01 */ u8 unk1[3]; @@ -1040,6 +1044,7 @@ public: dSv_player_c& getPlayer() { return mPlayer; } dSv_event_c& getEvent() { return mEvent; } dSv_memory_c& getSave(int i_stageNo) { return mSave[i_stageNo]; } + dSv_MiniGame_c& getMiniGame() { return mMiniGame; } void putSave(int i_stageNo, dSv_memory_c mem) { mSave[i_stageNo] = mem; } static const int STAGE_MAX = 32; @@ -1084,6 +1089,7 @@ public: dSv_turnRestart_c& getTurnRestart() { return mTurnRestart; } dSv_event_c& getEvent() { return mSavedata.getEvent(); } dSv_danBit_c& getDan() { return mDan; } + dSv_MiniGame_c& getMiniGame() { return mSavedata.getMiniGame(); } s64 getStartTime() const { return mStartTime; } s64 getSaveTotalTime() const { return mSaveTotalTime; } void setStartTime(s64 time) { mStartTime = time; } |
