diff options
author | gammafunk <gammafunk@gmail.com> | 2014-06-24 23:03:47 -0500 |
---|---|---|
committer | gammafunk <gammafunk@gmail.com> | 2014-06-24 23:03:47 -0500 |
commit | 612c5d83b722ff91a0496d5dcf53dbacebbe1a0e (patch) | |
tree | 8f71c44732deba0ce8590be1a8a189ac5261a9ac /crawl-ref/source/dungeon.cc | |
parent | 912cc7b8de5eb9b1e036a44f1bedeefe2b8647b9 (diff) | |
download | crawl-ref-612c5d83b722ff91a0496d5dcf53dbacebbe1a0e.tar.gz crawl-ref-612c5d83b722ff91a0496d5dcf53dbacebbe1a0e.zip |
Clean up the mapstat function names and variables
The command-line option is -mapstat, so the non-static functions use
the prefix mapstat_ instead of mapgen_ now for consistency. The static
functions and variables have had their mg_ prefixes removed.
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r-- | crawl-ref/source/dungeon.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index 86a712b2ef..d98ccc80a9 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -390,7 +390,7 @@ static bool _build_level_vetoable(bool enable_random_maps, dungeon_feature_type dest_stairs_type) { #ifdef DEBUG_DIAGNOSTICS - mapgen_report_map_build_start(); + mapstat_report_map_build_start(); #endif dgn_reset_level(enable_random_maps); @@ -406,7 +406,7 @@ static bool _build_level_vetoable(bool enable_random_maps, { dprf("<white>VETO</white>: %s: %s", level_id::current().describe().c_str(), e.what()); #ifdef DEBUG_DIAGNOSTICS - mapgen_report_map_veto(); + mapstat_report_map_veto(); #endif return false; } @@ -4340,7 +4340,7 @@ static const vault_placement *_build_vault_impl(const map_def *vault, #ifdef DEBUG_DIAGNOSTICS if (crawl_state.map_stat_gen) - mapgen_report_map_use(place.map); + mapstat_report_map_use(place.map); #endif if (is_layout && place.map.has_tag_prefix("layout_type_")) |