commit
bf300c37d1
4 changed files with 846 additions and 1 deletions
35
include/game/saveload.h
Normal file
35
include/game/saveload.h
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
#ifndef _GAME_SAVELOAD_H
|
||||
#define _GAME_SAVELOAD_H
|
||||
|
||||
#include "common.h"
|
||||
|
||||
s32 SLFileOpen(char *arg0);
|
||||
s32 SLFileCreate(char *arg0, u32 arg1, void *arg2);
|
||||
s32 SLFileWrite(s32 arg0, void *arg1);
|
||||
s32 SLFileRead(s32 arg0, void *arg1);
|
||||
s32 SLFileClose(void);
|
||||
void SLCurSlotNoSet(s16 arg0);
|
||||
void SLCurBoxNoSet(s8 arg0);
|
||||
void SLSaveFlagSet(s32 arg0);
|
||||
s32 SLSaveFlagGet(void);
|
||||
void SLSaveDataMake(s32 arg0, OSTime *arg1);
|
||||
void SLSaveDataInfoSet(OSTime *arg0);
|
||||
void SLCommonSet(void);
|
||||
void SLSaveBoard(void);
|
||||
void SLSaveBoardBackup(void);
|
||||
s32 SLSave(void);
|
||||
s32 SLLoad(void);
|
||||
void SLLoadGameStat(void);
|
||||
void SLLoadBoard(void);
|
||||
void SLLoadBoardBackup(void);
|
||||
void SLSerialNoGet(void);
|
||||
BOOL SLSerialNoCheck(void);
|
||||
BOOL SLCheckSumCheck(void);
|
||||
u16 SLCheckSumGet(void);
|
||||
void SLCheckSumSet(void);
|
||||
s32 SLStatSet(s32 arg0);
|
||||
s32 SLCardMount(s16 arg0);
|
||||
s32 SLFormat(s16 arg0);
|
||||
s16 SLMessOut(s16 arg0);
|
||||
|
||||
#endif
|
||||
|
|
@ -75,6 +75,8 @@ typedef struct {
|
|||
/* 0x160 */ u8 ATTRIBUTE_ALIGN(32) mess_pal[10][3];
|
||||
} WindowData; // Size 0x180
|
||||
|
||||
extern WindowData winData[32];
|
||||
|
||||
void HuWindowInit(void);
|
||||
void HuWinInit(s32 mess_data_no);
|
||||
s16 HuWinCreate(float x, float y, s16 w, s16 h, s16 frame);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue