Crossfire Server, Trunk
test_mapsave.cpp File Reference
#include "global.h"
+ Include dependency graph for test_mapsave.cpp:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 
void map_path (const char *map, int flags, char *pathname, size_t bufsize)
 
mapstructmapfile_load_lowlevel (const char *map, const char *pathname, int flags)
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 6 of file test_mapsave.cpp.

References buf, Settings::debug, flags, free_map(), init_library(), llevInfo, LOG(), m, map_path(), MAP_PLAYER_UNIQUE, mapfile_load(), mapfile_load_lowlevel(), MAX_BUF, save_map(), and settings.

+ Here is the call graph for this function:

◆ map_path()

void map_path ( const char *  map,
int  flags,
char *  pathname,
size_t  bufsize 
)

Definition at line 1199 of file map.cpp.

References create_overlay_pathname(), create_pathname(), flags, Settings::localdir, disinfect::map, MAP_OVERLAY, MAP_PLAYER_UNIQUE, Settings::playerdir, and settings.

Referenced by main(), map_info(), and mapfile_load().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mapfile_load_lowlevel()

mapstruct* mapfile_load_lowlevel ( const char *  map,
const char *  pathname,
int  flags 
)

Definition at line 1209 of file map.cpp.

References allocate_map(), delete_map(), flags, get_linked_map(), HUGE_BUF, llevDebug, llevError, load_map_header(), load_objects(), LOG(), m, disinfect::map, MAP_IN_MEMORY, MAP_LOADING, MAP_PLAYER_UNIQUE, MAP_STYLE, and safe_strncpy.

Referenced by main(), and mapfile_load().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: