Freeciv-3.3
|
#include "fc_types.h"
Go to the source code of this file.
Functions | |
int | turns_to_activity_done (const struct tile *ptile, Activity_type_id act, const struct extra_type *tgt, const struct unit *pnewunit) |
const char * | concat_tile_activity_text (struct tile *ptile) |
void | combat_odds_to_astr (struct astring *str, struct unit_list *punits, const struct tile *ptile, const struct unit *punit, const char *pct_str) |
void combat_odds_to_astr | ( | struct astring * | str, |
struct unit_list * | punits, | ||
const struct tile * | ptile, | ||
const struct unit * | punit, | ||
const char * | pct_str | ||
) |
Add lines about the combat odds to the str.
Definition at line 312 of file clientutils.c.
Referenced by popup_info_text().
Creates the activity progress text for the given tile.
Definition at line 237 of file clientutils.c.
Referenced by popup_info_text().
int turns_to_activity_done | ( | const struct tile * | ptile, |
Activity_type_id | act, | ||
const struct extra_type * | tgt, | ||
const struct unit * | pmodunit | ||
) |
How many turns until the activity 'act' on target 'tgt' at 'ptile' would be complete, taking into account existing units and possible contribution from 'pmodunit' if it were also to help with the activity ('pmodunit' may be NULL to just account for current activities).
Definition at line 204 of file clientutils.c.
Referenced by real_menus_update().