Go to the documentation of this file.
21 extern void map_path(
const char *
map,
int flags,
char *pathname,
size_t bufsize);
24 int main(
int argc,
char *argv[]) {
26 puts(
"usage: test_mapsave PATH");
33 if (argv[1][0] ==
'~') {
50 const char *path_firstpass = NULL;
51 if (
m->tmpname != NULL) {
void LOG(LogLevel logLevel, const char *format,...)
static const flag_definition flags[]
#define MAP_PLAYER_UNIQUE
static event_registration m
void free_map(mapstruct *m)
void map_path(const char *map, int flags, char *pathname, size_t bufsize)
int main(int argc, char *argv[])
mapstruct * mapfile_load_lowlevel(const char *map, const char *pathname, int flags)
int save_map(mapstruct *m, int flag)
mapstruct * mapfile_load(const char *map, int flags)