blob: 3d67b013453d641c67964fcdb7842b2577919ad8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
|