29 const struct city *pdest);
36 const std::vector<unit *> &punits);
42 const struct unit *actor_unit,
43 const struct city *target_city);
QString text_happiness_wonders(const struct city *pcity)
Describing wonders that affect happiness.
QString get_score_text(const struct player *pplayer)
Return text giving the score of the player.
const QString get_nearest_city_text(struct city *pcity, int sq_dist)
Returns the text describing the city and its distance.
const QString science_dialog_text()
Returns the text to display in the science dialog.
const QString get_act_sel_action_custom_text(struct action *paction, const struct act_prob prob, const struct unit *actor_unit, const struct city *target_city)
Returns custom part of the action selection dialog button text for the specified action (given that t...
const QString get_science_target_text()
Get the short science-target text.
const QString unit_description(const unit *punit)
Returns the unit description.
int get_bulbs_per_turn(int *pours, bool *pteam, int *ptheirs)
Return total expected bulbs.
const QString act_sel_action_tool_tip(const struct action *paction, const struct act_prob prob)
Get information about starting the action in the current situation.
QString text_happiness_luxuries(const struct city *pcity)
Describing luxuries that affect happiness.
const QString popup_info_text(struct tile *ptile)
Text to popup on a middle-click in the mapview.
QString text_happiness_cities(const struct city *pcity)
Describing city factors that affect happiness.
QString text_happiness_buildings(const struct city *pcity)
Describe buildings that affect happiness (or rather, anything with a Make_Content effect).
bool get_units_upgrade_info(char *buf, size_t bufsz, const std::vector< unit * > &punits)
Return text about upgrading these unit lists.
const QString get_spaceship_descr(struct player_spaceship *pship)
Returns a description of the given spaceship.
const QString get_info_label_text_popup()
Return the text for the popup label on the info panel.
const QString get_tile_output_text(const struct tile *ptile)
Return a (static) string with a tile's food/prod/trade.
QString text_happiness_nationality(const struct city *pcity)
Describing nationality effects that affect happiness.
int turns_to_research_done(const struct research *presearch, int per_turn)
Return turns until research complete.
const QString get_info_label_text(bool moreinfo)
Return the text for the label on the info panel.
const QString get_science_goal_text(Tech_type_id goal)
Set the science-goal-label text as if we're researching the given goal.
QString text_happiness_units(const struct city *pcity)
Describe units that affect happiness.
const QString get_airlift_text(const std::vector< unit * > &units, const struct city *pdest)
Describe the airlift capacity of a city for the given units (from their current positions).