forked from ForsakenX/forsaken
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloadsave.h
More file actions
executable file
·31 lines (26 loc) · 738 Bytes
/
loadsave.h
File metadata and controls
executable file
·31 lines (26 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef LOADSAVE_INCLUDED
#define LOADSAVE_INCLUDED
/*
* Defines
*/
//#define SAVEGAME_SLOTS
#include "main.h"
#define SAVEGAME_FOLDER "Savegame"
#define SNAPSHOT_FOLDER "ScreenShots"
#define FMVSNAPSHOT_FOLDER "ScreenShots"
#define SAVEGAME_EXTENSION ".SAV"
#define SAVEGAME_FILESPEC "save??"
#define SAVEGAMEPIC_EXTENSION ".PPM"
#define LOADSAVE_VERSION_NUMBER 5
/*
* fn prototypes
*/
void InGameLoad( MENUITEM * MenuItem );
bool InGameSave( MENUITEM * MenuItem );
bool PreInGameLoad( MENUITEM * MenuItem );
char *SaveGameFileName( int slot );
char *SaveGamePicFileName( int slot );
char *SavedGameInfo( int slot );
char *GetMissionName( char *levelname );
bool SaveGameSlotUsed( int slot );
#endif // LOADSAVE_INCLUDED