#include "deprecation.hpp"
#include "formula/string_utils.hpp"
#include "log.hpp"
#include "preferences/preferences.hpp"
#include "game_version.hpp"
Go to the source code of this file.
Functions | |
std::string | deprecated_message (const std::string &elem_name, DEP_LEVEL level, const version_info &version, const std::string &detail) |
Variables | |
static lg::log_domain | log_deprecate ("deprecation", lg::severity::LG_ERROR) |
std::string deprecated_message | ( | const std::string & | elem_name, |
DEP_LEVEL | level, | ||
const version_info & | version, | ||
const std::string & | detail | ||
) |
Definition at line 29 of file deprecation.cpp.
References lg::logger::dont_log(), lg::err(), FOR_REMOVAL, FORCE_LOG_TO, lg::general(), prefs::get(), INDEFINITE, lg::info(), game_config::images::level, log_deprecate, LOG_STREAM, lg::log_to_chat(), wfl::msg(), PREEMPTIVE, REMOVED, version_info::str(), VGETTEXT, lg::warn(), and game_config::wesnoth_version.
Referenced by unit::apply_builtin_effect(), attack_type::apply_modification(), unit::apply_modifications(), saved_game::expand_map_file(), ai::configuration::expand_simplified_aspects(), unit_creator::find_location(), gui2::dialogs::generate_difficulty_config(), preprocessor_data::get_chunk(), config::get_deprecated_attribute(), config::get_deprecated_child(), config::get_deprecated_child_range(), config::get_old_attribute(), wfl::team_callable::get_value(), unit::init(), intf_add_modification(), game_lua_kernel::intf_add_time_area(), intf_default_generate_height_map(), intf_deprecated_message(), game_lua_kernel::intf_find_path(), game_lua_kernel::intf_find_reach(), game_lua_kernel::intf_gamestate_inspector(), intf_name_generator(), ai::lua_candidate_action_wrapper_external::lua_candidate_action_wrapper_external(), matches_simple_filter(), attack_type::overwrite_special_checking(), storyscreen::story_parser::resolve_wml(), show_deprecated_warnings(), terrain_type::terrain_type(), UNIT_GETTER(), game_events::wml_menu_item::update(), game_events::WML_HANDLER_FUNCTION(), and game_events::wml_menu_item::wml_menu_item().
|
static |
Referenced by deprecated_message().