X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;ds=sidebyside;f=src%2Fmisc.h;h=b6923087b5068f20af114e6d118347d409797207;hb=fb8ddca6abc66eb7e52a007850689309b4cda938;hp=782a6fab0512a23a775515a6b4080f55d3b24669;hpb=550d22ec0c3f530f5d317746f3f7e75251a1de4b;p=plomrogue diff --git a/src/misc.h b/src/misc.h index 782a6fa..b692308 100644 --- a/src/misc.h +++ b/src/misc.h @@ -37,6 +37,13 @@ extern void check_files_xor(char * p1, char * p2, struct World * w); +/* Save / load / unload (free) interface configuration data. */ +extern void save_interface_conf(struct World * world); +extern void load_interface_conf(struct World * world); +extern void unload_interface_conf(struct World * world); + + + /* Update game log by appending "text", or by appending a "." if "text" is the * same as the last one passed. */ @@ -59,8 +66,9 @@ extern void turn_over(struct World * world, char action); -/* Save current game data to file "savefile". */ +/* Save or load current game data to / from file "savefile". */ extern void save_game(struct World * world); +extern void load_game(struct World * world);