From ab32d51871248e0fbf6758a425eda2256712d519 Mon Sep 17 00:00:00 2001 From: citrons Date: Wed, 11 Oct 2023 23:58:12 -0500 Subject: initial commit --- save.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 save.h (limited to 'save.h') diff --git a/save.h b/save.h new file mode 100644 index 0000000..3d67b01 --- /dev/null +++ b/save.h @@ -0,0 +1,14 @@ +#ifndef SAVE_H +#define SAVE_H + +#include + +#include "world.h" + +void save_chunk(world *w, chunk *c); +SDL_bool is_chunk_saved(world *w, SDL_Point chunk_pos); +SDL_bool load_saved_chunk(world *w, chunk *c); +SDL_bool load_world(world *w); +void save_world(world *w); + +#endif -- cgit v1.2.3