diff options
| author | citrons <citrons@mondecitronne.com> | 2023-10-11 23:58:12 -0500 |
|---|---|---|
| committer | citrons <citrons@mondecitronne.com> | 2023-10-11 23:58:12 -0500 |
| commit | ab32d51871248e0fbf6758a425eda2256712d519 (patch) | |
| tree | ba48813a3a75f79eea5c867496d77fdb8a3251db /save.h | |
initial commit
Diffstat (limited to 'save.h')
| -rw-r--r-- | save.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +#ifndef SAVE_H +#define SAVE_H + +#include <SDL.h> + +#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 |
