summaryrefslogtreecommitdiff
path: root/src/loadsave.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/loadsave.h')
-rw-r--r--src/loadsave.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/loadsave.h b/src/loadsave.h
new file mode 100644
index 00000000..52782dac
--- /dev/null
+++ b/src/loadsave.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "h-basic.h"
+
+// C linkage required for these functions since main-* code uses them.
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void save_dungeon();
+bool_ save_player();
+
+#ifdef __cplusplus
+} // extern "C"
+#endif