summary refs log tree commit diff
path: root/src/save.h
diff options
context:
space:
mode:
authorzlago2024-10-26 20:18:41 +0200
committerzlago2024-10-26 20:21:59 +0200
commitd44d411e0eb3800ed883374b29c2863e1a863735 (patch)
tree05721dbc8bc1df747179fcb62120a009f23d86a3 /src/save.h
parentb12606899c98d7fc7a120c2b79797b5c45283ad2 (diff)
move save file code to a separate file
Diffstat (limited to 'src/save.h')
-rw-r--r--src/save.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/save.h b/src/save.h
new file mode 100644
index 0000000..c4e9cf8
--- /dev/null
+++ b/src/save.h
@@ -0,0 +1,4 @@
+// save state to disk
+int game_save(FILE *file);
+// load state from disk
+int game_load(FILE *file);