Debian Codegraph @

prboom2/src/dsda/save.h

raw
1 //
2 // Copyright(C) 2020 by Ryan Krafnick
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // DESCRIPTION:
15 // DSDA Save
16 //
17
18 #ifndef __DSDA_SAVE__
19 #define __DSDA_SAVE__
20
21 void dsda_ArchiveAll(void);
22 void dsda_UnArchiveAll(void);
23 void dsda_InitSaveDir(void);
24 char* dsda_SaveDir(void);
25 char* dsda_SaveGameName(int slot, dboolean via_excmd);
26 void dsda_ResetDemoSaveSlots(void);
27 void dsda_SetLastLoadSlot(int slot);
28 void dsda_SetLastSaveSlot(int slot);
29 int dsda_LastSaveSlot(void);
30 void dsda_ResetLastSaveSlot(void);
31 int dsda_AllowAnyMenuSave(void);
32 int dsda_AllowMenuLoad(int slot);
33 int dsda_AllowAnyMenuLoad(void);
34 void dsda_UpdateAutoSaves(void);
35
36 #endif