summaryrefslogtreecommitdiffstats
path: root/src/core/PCSave.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-07 13:09:11 +0200
committeraap <aap@papnet.eu>2019-07-07 13:09:11 +0200
commit53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb (patch)
treefc65a6c40fa719f9d43be9e0e15be79c490135e0 /src/core/PCSave.h
parentfinished CPhysical (diff)
downloadre3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.gz
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.bz2
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.lz
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.xz
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.zst
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.zip
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;