#include "deprecation.hpp"
#include "formula/string_utils.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "preferences/general.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", 0) |
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, preferences::get(), INDEFINITE, lg::info(), log_deprecate, LOG_STREAM, wfl::msg(), PREEMPTIVE, REMOVED, version_info::str(), VGETTEXT, lg::warn(), game_config::wesnoth_version, and lg::wml_error().
Referenced by attack_type::apply_modification(), unit::apply_modifications(), unit_abilities::effect::effect(), unit_creator::find_location(), gui2::dialogs::generate_difficulty_config(), preprocessor_data::get_chunk(), config::get_old_attribute(), unit::init(), intf_add_modification(), intf_deprecated_message(), game_lua_kernel::intf_find_path(), intf_modify_ai_old(), game_lua_kernel::intf_select_hex(), intf_set_music(), game_lua_kernel::intf_set_next_scenario(), game_config_manager::load_addons_cfg(), matches_simple_filter(), storyscreen::story_parser::resolve_wml(), filesystem::set_user_data_dir(), terrain_type::terrain_type(), 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().