summaryrefslogblamecommitdiffstats
path: root/src/core/PCSave.h
blob: 4223974418ceafd46be365d89f7fb015228573b6 (plain) (tree)
1
2
3
4
5
6
7
8




              

                        
                                                       


                                

  
                                    


                                                   
                             


                         

                                                             
#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";