13#ifndef FC__CITYTOOLS_H
14#define FC__CITYTOOLS_H
21#define LOG_BUILD_TARGET LOG_DEBUG
23#define SPECLIST_TAG trade_route_packet
24#define SPECLIST_TYPE struct packet_trade_route_info
26#define trade_route_packet_list_iterate(ptrlist, ptr) \
27 TYPED_LIST_ITERATE(struct packet_trade_route_info, ptrlist, ptr)
28#define trade_route_packet_list_iterate_end LIST_ITERATE_END
33 struct unit_list *units,
struct city *pcity,
34 struct city *exclude_city,
35 int kill_outside,
bool verbose);
37 int kill_outside,
bool transfer_unit_verbose,
38 bool resolve_stack,
bool raze,
bool build_free);
40 const struct city *pexclcity,
41 const struct player *pplayer,
42 bool only_ocean,
bool only_continent,
43 bool only_known,
bool only_player,
44 bool only_enemy,
const struct unit_class *pclass);
50 struct city *pcity,
struct tile *ptile);
58 struct trade_route_packet_list *
routes,
81 struct impr_type *pimprove,
const char *reason);
84 struct player **oldcity_owner);
86 const char *reason,
struct unit *destroyer);
88 const char *reason,
struct unit *destroyer);
95 enum event_type
event);
98 char *error_buf,
size_t bufsz);
131 const struct player *known_for);
enum announce_type announce
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit * punit
struct trade_route_list * routes