nexus/save.h

25 lines
773 B
C
Executable File

#include "defs.h"
int loadall(void);
int loadflagpile(FILE *f, flagpile_t *fp);
int loadknowledge(FILE *f);
lifeform_t *loadlf(FILE *f, cell_t *where);
map_t *loadmap(FILE *f);
int loadob(FILE *f, obpile_t *op, long *id);
int loadregions(FILE *f);
int loadsavegame(void);
int loadworlddata(FILE *f);
int removevaultfile(char *filename);
int savebones(map_t *m, room_t *r);
int saveflagpile(FILE *f, flagpile_t *fp);
int saveknowledge(FILE *f);
int savelf(FILE *f, lifeform_t *l);
int savegame(void);
int savemap(FILE *f, map_t *m);
int saveob(FILE *f, object_t *o);
int saveobtobones(object_t *o, FILE *f, int x, int y);
int saveregions(FILE *f);
int saveworlddata(FILE *f);
int showhiscores(lifeform_t *lf, int min, int max);
int writehiscore(lifeform_t *lf, int *rank);