|
Classes |
| struct | dist_feat |
| class | dgn_veto_exception |
| struct | coloured_feature |
| struct | dgn_colour_override_manager |
| struct | coord_comparator |
| struct | nearest_point |
| struct | StairConnectivity |
Defines |
| #define | YOU_DUNGEON_VAULTS_KEY "you_dungeon_vaults_key" |
| #define | YOU_PORTAL_VAULT_MAPS_KEY "you_portal_vault_maps_key" |
Typedefs |
| typedef std::list< coord_def > | coord_list |
typedef FixedArray
< coloured_feature, GXM, GYM > | dungeon_colour_grid |
typedef std::map< std::string,
std::string > | callback_map |
typedef std::set< coord_def,
coord_comparator > | coord_set |
Functions |
| bool | builder (int level_number, level_area_type level_type, bool enable_random_maps) |
| void | level_welcome_messages () |
| void | dgn_clear_vault_placements (vault_placement_refv &vps) |
| void | dgn_erase_unused_vault_placements () |
| void | level_clear_vault_memory () |
| void | dgn_flush_map_memory () |
| bool | set_level_flags (uint32_t flags, bool silent) |
| bool | unset_level_flags (uint32_t flags, bool silent) |
| void | dgn_set_grid_colour_at (const coord_def &c, int colour) |
| void | dgn_register_vault (const map_def &map) |
| bool | dgn_square_travel_ok (const coord_def &c) |
| int | process_disconnected_zones (int x1, int y1, int x2, int y2, bool choose_stairless, dungeon_feature_type fill) |
| int | dgn_count_disconnected_zones (bool choose_stairless, dungeon_feature_type fill) |
| void | dgn_register_place (const vault_placement &place, bool register_vault) |
| bool | dgn_ensure_vault_placed (bool vault_success, bool disable_further_vaults) |
| void | dgn_reset_level (bool enable_random_maps) |
| void | dgn_set_colours_from_monsters () |
| int | count_neighbours (int x, int y, dungeon_feature_type feat) |
| void | dgn_place_stone_stairs (bool maybe_place_hatches) |
| bool | dgn_has_adjacent_feat (coord_def c, dungeon_feature_type feat) |
| coord_def | dgn_random_point_in_margin (int margin) |
| bool | dgn_place_map (const map_def *mdef, bool clobber, bool make_no_exits, const coord_def &where) |
| const map_def * | dgn_safe_place_map (const map_def *mdef, bool clobber, bool make_no_exits, const coord_def &where) |
| vault_placement * | dgn_vault_at (coord_def p) |
| void | dgn_seen_vault_at (coord_def p) |
| int | dgn_item_corpse (const item_spec &ispec) |
| int | dgn_place_item (const item_spec &spec, const coord_def &where, int level) |
| void | dgn_place_multiple_items (item_list &list, const coord_def &where, int level) |
| int | dgn_place_monster (mons_spec &mspec, int monster_level, const coord_def &where, bool force_pos, bool generate_awake, bool patrolling) |
| dungeon_feature_type | map_feature_at (map_def *map, const coord_def &c, int rawfeat) |
| bool | seen_replace_feat (dungeon_feature_type old_feat, dungeon_feature_type new_feat) |
| void | dgn_replace_area (int sx, int sy, int ex, int ey, dungeon_feature_type replace, dungeon_feature_type feature, unsigned mmask, bool needs_update) |
| void | dgn_replace_area (const coord_def &p1, const coord_def &p2, dungeon_feature_type replace, dungeon_feature_type feature, uint32_t mapmask, bool needs_update) |
| bool | map_masked (const coord_def &c, unsigned mask) |
| void | place_spec_shop (int level_number, const coord_def &where, int force_s_type, bool representative) |
| bool | place_specific_trap (const coord_def &where, trap_type spec_type) |
| double | dgn_degrees_to_radians (int degrees) |
| coord_def | dgn_random_point_from (const coord_def &c, int radius, int margin) |
| coord_def | dgn_random_point_visible_from (const coord_def &c, int radius, int margin, int tries) |
| coord_def | dgn_find_feature_marker (dungeon_feature_type feat) |
| coord_def | dgn_find_nearby_stair (dungeon_feature_type stair_to_find, coord_def base_pos, bool find_closest) |
| void | dgn_set_lt_callback (std::string level_type_tag, std::string callback_name) |
| void | init_level_connectivity () |
| void | read_level_connectivity (reader &th) |
| void | write_level_connectivity (writer &th) |
| void | run_map_epilogues () |
| void | remember_vault_placement (std::string key, const vault_placement &place) |
| std::string | dump_vault_maps () |
Variables |
| std::vector< vault_placement > | Temp_Vaults |
| FixedVector< bool, NUM_MONSTERS > | temp_unique_creatures |
FixedVector
< unique_item_status_type,
MAX_UNRANDARTS > | temp_unique_items |
| const map_mask * | Vault_Placement_Mask = NULL |
| bool | Generating_Level = false |
FixedVector< std::vector
< StairConnectivity >
, NUM_BRANCHES > | connectivity |