Merge branch 'Rainchus:main' into main
This commit is contained in:
commit
94c5d3fc28
20 changed files with 2523 additions and 639 deletions
|
|
@ -58,8 +58,8 @@ void HuAudSndCommonGrpSet(s16 arg0, s32 arg1);
|
|||
void HuAudAUXSet(s32 arg0, s32 arg1);
|
||||
void HuAudAUXVolSet(s8 arg0, s8 arg1);
|
||||
void HuAudVoiceInit(s16 ovl);
|
||||
void HuAudPlayerVoicePlay(s16 arg0, s16 arg1);
|
||||
void HuAudPlayerVoicePlayPos(s16 arg0, s16 arg1, Vec *arg2);
|
||||
s32 HuAudPlayerVoicePlay(s16 arg0, s16 arg1);
|
||||
s32 HuAudPlayerVoicePlayPos(s16 arg0, s16 arg1, Vec *arg2);
|
||||
void HuAudPlayerVoicePlayEntry(s16 arg0, s16 arg1);
|
||||
s32 HuAudCharVoicePlay(s16 arg0, s16 arg1);
|
||||
s32 HuAudCharVoicePlayPos(s16 arg0, s16 arg1, Vec *arg2);
|
||||
|
|
|
|||
|
|
@ -234,6 +234,11 @@ static inline void GWLuckyValueSet(s32 value)
|
|||
GWSystem.lucky_value = value;
|
||||
}
|
||||
|
||||
static inline s16 GWPlayerCoinBattleGet(s32 player)
|
||||
{
|
||||
return GWPlayer[player].coins_battle;
|
||||
}
|
||||
|
||||
static inline s16 GWPlayerCoinCollectGet(s32 player)
|
||||
{
|
||||
return GWPlayer[player].coin_collect;
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ typedef struct save_buf_data {
|
|||
GameStat stat;
|
||||
SystemState system;
|
||||
PlayerState player[4];
|
||||
SystemState systemBackup;
|
||||
PlayerState playerBackup[4];
|
||||
SystemState systemStory;
|
||||
PlayerState playerStory[4];
|
||||
} SaveBufData;
|
||||
|
||||
typedef union save_buf_all {
|
||||
|
|
@ -24,7 +24,12 @@ typedef union save_buf_all {
|
|||
u8 ATTRIBUTE_ALIGN(32) buf[SAVE_BUF_SIZE];
|
||||
} SaveBufAll;
|
||||
|
||||
extern CARDFileInfo curFileInfo;
|
||||
extern SaveBufAll saveBuf;
|
||||
extern u64 SLSerialNo;
|
||||
extern s32 saveExecF;
|
||||
extern u8 curBoxNo;
|
||||
extern s16 curSlotNo;
|
||||
|
||||
s32 SLFileOpen(char *fileName);
|
||||
s32 SLFileCreate(char *fileName, u32 size, void *addr);
|
||||
|
|
@ -39,12 +44,12 @@ void SLSaveDataMake(s32 erase, OSTime *time);
|
|||
void SLSaveDataInfoSet(OSTime *time);
|
||||
void SLCommonSet(void);
|
||||
void SLSaveBoard(void);
|
||||
void SLSaveBoardBackup(void);
|
||||
void SLSaveBoardStory(void);
|
||||
s32 SLSave(void);
|
||||
s32 SLLoad(void);
|
||||
void SLLoadGameStat(void);
|
||||
void SLLoadBoard(void);
|
||||
void SLLoadBoardBackup(void);
|
||||
void SLLoadBoardStory(void);
|
||||
void SLSerialNoGet(void);
|
||||
BOOL SLSerialNoCheck(void);
|
||||
BOOL SLCheckSumCheck(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue