#include "save.h"
#include "level.h"
#include "item.h"
#include "player.h"
#include "monster.h"
#include "backpack.h"
#include "npc.h"
#include "skillpr.h"
#include "savemgr.h"
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
Functions | |
char * | get_root (char *str) |
int | save (struct leveldata ld, char *directory) |
int | write_cell (struct cell c, int id, char mode) |
int | write_lcinfo (struct cell c, FILE *file, int id) |
int | write_inv_iteminfo (struct cell c, FILE *file, int id) |
int | write_iteminfo (struct cell c, FILE *file, int id) |
int | write_moninfo (struct cell c, FILE *file, int id) |
int | write_playerinfo (struct cell c, FILE *file, int id) |
int | write_npcinfo (struct cell c, FILE *file, int id) |
int | write_skillboxinfo (struct cell c, FILE *file, int id) |
Variables | |
FILE * | tempcell |
FILE * | map |
FILE * | lcinfo |
FILE * | iteminfo |
FILE * | moninfo |
FILE * | playerinfo |
FILE * | inv |
FILE * | inpc |
FILE * | skillboxinfo |
char* get_root | ( | char * | str | ) |
int save | ( | struct leveldata | ld, | |
char * | directory | |||
) |
int write_cell | ( | struct cell | c, | |
int | id, | |||
char | mode | |||
) |
int write_inv_iteminfo | ( | struct cell | c, | |
FILE * | file, | |||
int | id | |||
) |
int write_iteminfo | ( | struct cell | c, | |
FILE * | file, | |||
int | id | |||
) |
int write_lcinfo | ( | struct cell | c, | |
FILE * | file, | |||
int | id | |||
) |
int write_moninfo | ( | struct cell | c, | |
FILE * | file, | |||
int | id | |||
) |
int write_npcinfo | ( | struct cell | c, | |
FILE * | file, | |||
int | id | |||
) |
int write_playerinfo | ( | struct cell | c, | |
FILE * | file, | |||
int | id | |||
) |
int write_skillboxinfo | ( | struct cell | c, | |
FILE * | file, | |||
int | id | |||
) |
FILE* inpc |
FILE* inv |
FILE* iteminfo |
FILE* lcinfo |
FILE* map |
FILE* moninfo |
FILE* playerinfo |
FILE* skillboxinfo |
FILE* tempcell |