#include <help_topic_generators.hpp>
Public Member Functions | |
unit_topic_generator (const unit_type &t, std::string variation="") | |
virtual std::string | operator() () const |
![]() | |
topic_generator ()=default | |
virtual | ~topic_generator () |
Private Member Functions | |
void | push_header (std::vector< help::item > &row, const std::string &name) const |
Private Attributes | |
const unit_type & | type_ |
const std::string | variation_ |
Definition at line 40 of file help_topic_generators.hpp.
|
inline |
Definition at line 46 of file help_topic_generators.hpp.
References help::terrain_topic_generator::operator()().
|
virtual |
Implements help::topic_generator.
Definition at line 248 of file help_topic_generators.cpp.
References _(), help::ability_prefix, t_translation::ALL_OFF_MAP, unit_type::big_profile(), unit_type_data::build_unit_type(), movetype::terrain_defense::capped(), movetype::damage_table(), movetype::defense_modifier(), help::description_type(), movetype::effects, preferences::encountered_terrains(), help::escape(), unit_race::FEMALE, unit_type_data::find(), unit_type::flag_rgb(), t_translation::FOGGED, unit_type::FULL, help::FULL_DESCRIPTION, help::generate_table(), movetype::get_defense(), unit_type::get_gender_unit_type(), CVideo::get_singleton(), unit_type::get_variation(), CVideo::get_width(), translation::gettext(), movetype::has_terrain_defense_caps(), unit_type::HELP_INDEXED, unit_type::hide_help(), terrain_type::hide_if_impassable(), i, terrain_type::id(), unit_type::id(), unit_type::image(), help::image_width(), lg::info(), terrain_type::is_indivisible(), terrain_type::is_nonnull(), movetype::jamming_cost(), help::jump(), font::line_width(), help::load_terrain_types_data(), help::make_link(), unit_race::MALE, movetype::merge(), movetype::movement_cost(), terrain_type::name(), font::nbsp, help::normal_font_size, help::print_trait_list(), help::push_tab_pair(), game_config::red_to_green(), unit_helper::resistance_color(), reverse(), gui2::settings::screen_width, unit_type::show_variations_in_help(), unit_type::small_profile(), utils::split(), editor::start(), string_table, t, t_translation::terrain_matches(), color_t::to_hex_string(), unit_type::type_name(), font::unicode_figure_dash, font::unicode_minus, help::unit_prefix, unit_types, help::unknown_unit_topic, unit_type::variation_name(), help::variation_prefix, unit_type::variations(), movetype::vision_cost(), t_translation::VOID_TERRAIN, font::weapon_numbers_sep, and WRN_HP.
|
private |
Definition at line 881 of file help_topic_generators.cpp.
References help::bold(), font::line_width(), and help::normal_font_size.
|
private |
Definition at line 42 of file help_topic_generators.hpp.
|
private |
Definition at line 43 of file help_topic_generators.hpp.