REDRIVER2/src_rebuild/Game/C/loadsave.h

35 lines
843 B
C
Raw Permalink Normal View History

#ifndef LOADSAVE_H
#define LOADSAVE_H
2021-02-26 18:37:08 +01:00
extern char gCurrentReplayFilename[64];
extern void LoadCurrentProfile(int init);
extern void SaveCurrentProfile(int showMessage);
2021-02-26 18:37:08 +01:00
extern int LoadCurrentGame();
extern void SaveCurrentGame();
2021-02-26 18:37:08 +01:00
#ifndef PSX
extern int LoadReplayFromFile(char* fileName);
2021-02-26 18:37:08 +01:00
extern int SaveReplayToFile(char* filename);
#endif // PSX
2021-02-26 18:37:08 +01:00
//--------
extern int CalcReplayDataSize(); // 0x00057FD4
extern int SaveReplayData(char *buffer); // 0x00057FF4
extern int LoadReplayData(char *buffer); // 0x00058014
extern int CalcGameDataSize(); // 0x00058034
extern int SaveGameData(char *buffer); // 0x0005803C
extern int LoadGameData(char *buffer); // 0x000580CC
extern int CalcConfigDataSize(); // 0x00058164
extern int SaveConfigData(char *buffer); // 0x00057BF0
extern int LoadConfigData(char *buffer); // 0x00057DF0
#endif