diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2016-12-20 12:41:28 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2016-12-20 12:41:28 +0100 |
commit | e36571c70ca3abb639ef64bf6f5c924ca19e4ffa (patch) | |
tree | 3d28e63c8710477c3314f2bb9ba44bf3942b463a /src/common.h | |
parent | 30330c305545e1b93acd2ec7b72df7673bde9181 (diff) |
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).
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |