#include <vector>
#include "mapdef.h"
Go to the source code of this file.
typedef std::map<std::string, map_file_place> map_load_info_t |
typedef bool(* map_place_check_t)(const map_def &, const coord_def &c, const coord_def &size) |
typedef std::vector<map_def> map_vector |
typedef std::vector<const map_def *> mapref_vector |
typedef std::vector<coord_def> point_vector |
typedef std::vector<std::string> string_vector |
void add_parsed_map | ( | const map_def & | md | ) |
void dump_map | ( | const map_def & | map | ) |
const map_def* find_map_by_name | ( | const std::string & | name | ) |
std::vector<std::string> find_map_matches | ( | const std::string & | name | ) |
mapref_vector find_maps_for_tag | ( | const std::string | tag, | |
bool | check_depth = false , |
|||
bool | check_used = true | |||
) |
std::string get_descache_path | ( | const std::string & | file, | |
const std::string & | ext | |||
) |
const map_def* map_by_index | ( | int | index | ) |
int map_count | ( | ) |
int map_count_for_tag | ( | const std::string & | tag, | |
bool | check_depth = false | |||
) |
mapref_vector random_chance_maps_in_depth | ( | const level_id & | place | ) |
const map_def* random_map_for_tag | ( | const std::string & | tag, | |
bool | check_depth = false , |
|||
bool | check_chance = false | |||
) |
void read_map | ( | const std::string & | file | ) |
void read_maps | ( | ) |
void reread_maps | ( | ) |
void reset_map_parser | ( | ) |
bool resolve_subvault | ( | map_def & | vault | ) |
void run_map_global_preludes | ( | ) |
void run_map_local_preludes | ( | ) |
void sanity_check_maps | ( | ) |
void strip_all_maps | ( | ) |
map_section_type vault_main | ( | vault_placement & | vp, | |
const map_def * | vault, | |||
bool | check_place = false | |||
) |
int weight_map_vector | ( | std::vector< map_def > | maps | ) |
const int MAP_CACHE_VERSION = 1017 |