X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=src%2Fmap_objects.h;h=7fcf1c7df63087df887c2076cffb3cbe7a99c223;hb=b9082c113c43afe5c6a11c2b72f845ee2f8c6aea;hp=9eb055c156ebd3d94090460d1ad8d228216ecdee;hpb=1afe61cf5429407b416177893c7c86424ba31ff4;p=plomrogue diff --git a/src/map_objects.h b/src/map_objects.h index 9eb055c..7fcf1c7 100644 --- a/src/map_objects.h +++ b/src/map_objects.h @@ -81,15 +81,16 @@ extern void init_map_object_defs(struct World * world, char * filename); * "def_id". */ extern void * build_map_objects(struct World * world, void * start, char def_id, - unsigned char n); + unsigned char n); /* Write to/read from file chain of map objects starting/to start in memory at * "start". */ -extern void write_map_objects(struct World * world, void * start, FILE * file); -extern void read_map_objects(struct World * world, void * start, FILE * file); +extern uint8_t write_map_objects(struct World * world, void * start, + FILE * file); +extern uint8_t read_map_objects(struct World * world, void * start, FILE * file);