Crossfire Server, Trunk
|
#include "global.h"
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) |
mapstruct * | mapfile_load_lowlevel (const char *map, const char *pathname, int flags) |
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.
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().
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().