From d44d411e0eb3800ed883374b29c2863e1a863735 Mon Sep 17 00:00:00 2001 From: zlago Date: Sat, 26 Oct 2024 20:18:41 +0200 Subject: move save file code to a separate file --- src/save.h | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/save.h (limited to 'src/save.h') 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); -- cgit 1.4.1-2-gfad0