#include <help_topic_generators.hpp>
Public Member Functions | |
unit_topic_generator (const unit_type &t, std::string variation="") | |
virtual std::string | operator() () const |
Public Member Functions inherited from help::topic_generator | |
topic_generator () | |
virtual | ~topic_generator () |
Private Types | |
typedef std::pair< std::string, unsigned > | item |
Private Member Functions | |
void | push_header (std::vector< item > &row, const std::string &name) const |
Private Attributes | |
const unit_type & | type_ |
const std::string | variation_ |
Definition at line 43 of file help_topic_generators.hpp.
|
private |
Definition at line 47 of file help_topic_generators.hpp.
|
inline |
Definition at line 52 of file help_topic_generators.hpp.
|
virtual |
Implements help::topic_generator.
Definition at line 232 of file help_topic_generators.cpp.
References _(), unit_type::abilities(), unit_type::adv_abilities(), unit_type::advances_from(), unit_type::advances_to(), unit_type::alignment_description(), unit_type::attacks(), unit_type::big_profile(), unit_type_data::build_unit_type(), unit_type::can_advance(), movetype::terrain_defense::capped(), config::child_range(), unit_type::cost(), movetype::damage_table(), movetype::defense_modifier(), help::description_type(), movetype::effects, preferences::encountered_terrains(), help::escape(), unit_type::experience_needed(), unit_race::FEMALE, unit_type_data::find(), unit_type::flag_rgb(), t_translation::FOGGED, unit_type::FULL, help::FULL_DESCRIPTION, unit_type::genders(), help::generate_table(), unit_type::get_cfg(), movetype::get_defense(), unit_type::get_gender_unit_type(), CVideo::get_singleton(), unit_type::get_variation(), translation::gettext(), CVideo::getx(), movetype::has_jamming_data(), movetype::has_terrain_defense_caps(), movetype::has_vision_data(), unit_type::HELP_INDEXED, unit_type::hide_help(), unit_type::hitpoints(), i, terrain_type::id(), unit_type::id(), unit_type::image(), help::image_width(), lg::info(), terrain_type::is_nonnull(), unit_type::jamming(), movetype::jamming_cost(), help::jump(), unit_type::level(), font::line_width(), help::load_terrain_types_data(), help::make_link(), unit_race::MALE, movetype::merge(), unit_type::movement(), movetype::movement_cost(), unit_type::movement_type(), terrain_type::name(), help::normal_font_size, unit_type::num_traits(), terrain_type::number(), t_translation::OFF_MAP_USER, unit_race::plural_name(), pos, unit_type::possible_traits(), help::print_trait_list(), push_header(), help::push_tab_pair(), unit_type::race(), unit_type::race_id(), unit_helper::resistance_color(), gui2::settings::screen_width, unit_type::show_variations_in_help(), unit_type::small_profile(), utils::split(), string_table, gui2::terrain, type_, unit_type::type_name(), utils::unicode_en_dash, utils::unicode_figure_dash, utils::unicode_minus, terrain_type::union_type(), unit_type::unit_description(), help::unit_prefix, unit_types, help::unknown_unit_topic, variation_, unit_type::variation_name(), help::variation_prefix, unit_type::variations(), unit_type::vision(), movetype::vision_cost(), t_translation::VOID_TERRAIN, and WRN_HP.
|
inlineprivate |
Definition at line 48 of file help_topic_generators.hpp.
References help::bold(), font::line_width(), and help::normal_font_size.
Referenced by operator()().
|
private |
Definition at line 45 of file help_topic_generators.hpp.
Referenced by operator()().
|
private |
Definition at line 46 of file help_topic_generators.hpp.
Referenced by operator()().