The Battle for Wesnoth  1.19.5+dev
Classes | Namespaces | Macros | Typedefs | Functions | Variables
help_topic_generators.cpp File Reference
#include "help/help_topic_generators.hpp"
#include "formula/string_utils.hpp"
#include "game_config.hpp"
#include "gettext.hpp"
#include "language.hpp"
#include "log.hpp"
#include "movetype.hpp"
#include "preferences/preferences.hpp"
#include "units/race.hpp"
#include "serialization/markup.hpp"
#include "terrain/terrain.hpp"
#include "terrain/translation.hpp"
#include "terrain/type_data.hpp"
#include "tstring.hpp"
#include "units/helper.hpp"
#include "units/types.hpp"
#include "utils/optional_fwd.hpp"
#include "video.hpp"
#include <set>
Include dependency graph for help_topic_generators.cpp:

Go to the source code of this file.

Classes

struct  help::terrain_movement_info
 

Namespaces

 help
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-help"
 
#define WRN_HP   LOG_STREAM(warn, log_help)
 
#define DBG_HP   LOG_STREAM(debug, log_help)
 

Typedefs

typedef t_translation::ter_list::const_iterator help::ter_iter
 
typedef std::pair< std::string, std::string > help::trait_data
 

Functions

static std::string help::best_str (bool best)
 
static std::string help::format_mp_entry (const int cost, const int max_cost)
 
static std::string help::print_behavior_description (ter_iter start, ter_iter end, const std::shared_ptr< terrain_type_data > &tdata, bool first_level=true, bool begin_best=true)
 
static void help::print_trait_list (std::stringstream &ss, const std::vector< trait_data > &l)
 

Variables

static lg::log_domain log_help ("help")
 

Macro Definition Documentation

◆ DBG_HP

#define DBG_HP   LOG_STREAM(debug, log_help)

Definition at line 42 of file help_topic_generators.cpp.

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-help"

Definition at line 16 of file help_topic_generators.cpp.

◆ WRN_HP

#define WRN_HP   LOG_STREAM(warn, log_help)

Definition at line 41 of file help_topic_generators.cpp.

Variable Documentation

◆ log_help

lg::log_domain log_help("help") ( "help"  )
static