summaryrefslogblamecommitdiffstats
path: root/src/core/PCSave.h
blob: 696e158a200c281c083fa373bd12c8795c4aaad6 (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;