save.c File Reference

#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>
Include dependency graph for save.c:

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

Function Documentation

char* get_root ( char *  str  ) 

Here is the call graph for this function:

int save ( struct leveldata  ld,
char *  directory 
)

Here is the call graph for this function:

int write_cell ( struct cell  c,
int  id,
char  mode 
)

Here is the call graph for this function:

int write_inv_iteminfo ( struct cell  c,
FILE *  file,
int  id 
)

Here is the call graph for this function:

int write_iteminfo ( struct cell  c,
FILE *  file,
int  id 
)

Here is the call graph for this function:

int write_lcinfo ( struct cell  c,
FILE *  file,
int  id 
)
int write_moninfo ( struct cell  c,
FILE *  file,
int  id 
)

Here is the call graph for this function:

int write_npcinfo ( struct cell  c,
FILE *  file,
int  id 
)

Here is the call graph for this function:

int write_playerinfo ( struct cell  c,
FILE *  file,
int  id 
)

Here is the call graph for this function:

int write_skillboxinfo ( struct cell  c,
FILE *  file,
int  id 
)

Variable Documentation

FILE* inpc
FILE* inv
FILE* iteminfo
FILE* lcinfo
FILE* map
FILE* moninfo
FILE* playerinfo
FILE* skillboxinfo
FILE* tempcell
Generated on Mon Nov 15 10:27:12 2010 for Tales of Paraverse by  doxygen 1.6.3