summaryrefslogtreecommitdiffstats
path: root/src/PCSave.h
blob: 696e158a200c281c083fa373bd12c8795c4aaad6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

class C_PcSave
{
public:
	int32 m_nHelper;

	static void SetSaveDirectory(const char *path);
	int8 PopulateSlotInfo();
	int8 DeleteSlot(int);
	int8 SaveSlot(int);
};

extern int8 CheckSlotDataValid(int);
extern wchar *GetNameOfSavedGame(int counter);
extern wchar *GetSavedGameDateAndTime(int counter);

extern C_PcSave PcSaveHelper;
extern int *Slots;
extern int *SlotFileName;
extern int *SlotSaveDate;