summaryrefslogtreecommitdiffstats
path: root/src/core/PCSave.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/PCSave.h')
-rw-r--r--src/core/PCSave.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/core/PCSave.h b/src/core/PCSave.h
new file mode 100644
index 00000000..696e158a
--- /dev/null
+++ b/src/core/PCSave.h
@@ -0,0 +1,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;