summaryrefslogtreecommitdiffstats
path: root/src/core/PCSave.h
blob: 4223974418ceafd46be365d89f7fb015228573b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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;

const char TopLineEmptyFile[] = "THIS FILE IS NOT VALID YET";