From e36571c70ca3abb639ef64bf6f5c924ca19e4ffa Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 20 Dec 2016 12:41:28 +0100 Subject: Implement map postprocessing fully. Postprocessing removes info_* and team_* entities from all maps but the master (the first one in the command line) and (optionally) prefixes all targets and targetnames with a prefix (set by mapcat_prefix in the master worldspawn). --- src/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index b005e2b..8acf3ba 100644 --- a/src/common.h +++ b/src/common.h @@ -132,5 +132,6 @@ void map_init(map_t *map); void map_free(map_t *map); int map_read(map_t *map, const char *path); int map_write(const map_t *map, const char *path); +int map_postprocess(map_t *map, bool filter_team_ents); int map_merge(map_t *master, map_t *slave); void map_print_stats(const char *path, const map_t *map); -- cgit