2020-03-27 21:47:29 +01:00
|
|
|
#ifndef LOADSAVE_H
|
|
|
|
#define LOADSAVE_H
|
|
|
|
|
2021-02-26 18:37:08 +01:00
|
|
|
extern char gCurrentReplayFilename[64];
|
|
|
|
|
2021-05-15 16:04:06 +02:00
|
|
|
extern void LoadCurrentProfile(int init);
|
2022-02-04 07:30:13 +01:00
|
|
|
extern void SaveCurrentProfile(int showMessage);
|
2021-02-26 18:37:08 +01:00
|
|
|
|
2020-08-31 09:13:20 +02:00
|
|
|
extern int LoadCurrentGame();
|
|
|
|
extern void SaveCurrentGame();
|
2021-02-26 18:37:08 +01:00
|
|
|
|
2021-05-15 16:04:06 +02:00
|
|
|
#ifndef PSX
|
|
|
|
|
2020-10-23 21:44:21 +02:00
|
|
|
extern int LoadReplayFromFile(char* fileName);
|
2021-02-26 18:37:08 +01:00
|
|
|
extern int SaveReplayToFile(char* filename);
|
|
|
|
|
2021-05-15 16:04:06 +02:00
|
|
|
#endif // PSX
|
|
|
|
|
2021-02-26 18:37:08 +01:00
|
|
|
//--------
|
2020-03-27 21:47:29 +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
|