X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fmap_objects.h;h=4804033d1002fe17499242046fdd5ff804d12f30;hb=c0a785104a8081e7911647345285da9e9ed22907;hp=015864812c03bc6241499e3c8bf14720b1dd340c;hpb=6ba18516a602b3d4ad95981887ad9c5eb40a335a;p=plomrogue diff --git a/src/map_objects.h b/src/map_objects.h index 0158648..4804033 100644 --- a/src/map_objects.h +++ b/src/map_objects.h @@ -68,6 +68,7 @@ struct ItemDef struct MonsterDef { struct MapObjDef map_obj_def; + uint8_t corpse_id; /* ID of object type killed monster changes to. */ uint8_t hitpoints_start; /* Hitpoints each monster starts with. */ }; @@ -91,7 +92,8 @@ extern void * build_map_objects(struct World * world, void * start, char def_id, */ 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); +extern uint8_t read_map_objects(struct World * world, void * start, + FILE * file);