131 const struct unit *caravan);
136#define caravan_parameter_log(parameter, loglevel) \
137 if (log_do_output_for_level(loglevel)) { \
138 caravan_parameter_log_real(parameter, loglevel, __FILE__, \
139 __FUNCTION__, __FC_LINE__); \
147 const struct unit *caravan,
void caravan_find_best_destination(const struct civ_map *nmap, const struct unit *caravan, const struct caravan_parameter *parameter, struct caravan_result *result, bool omniscient)
bool caravan_parameter_is_legal(const struct caravan_parameter *parameter)
void caravan_result_init_zero(struct caravan_result *result)
int caravan_result_compare(const struct caravan_result *a, const struct caravan_result *b)
void caravan_parameter_log_real(const struct caravan_parameter *parameter, enum log_level level, const char *file, const char *function, int line)
void caravan_parameter_init_default(struct caravan_parameter *parameter)
void caravan_parameter_init_from_unit(struct caravan_parameter *parameter, const struct unit *caravan)
struct setting_list * level[OLEVELS_NUM]
enum foreign_trade_limit allow_foreign_trade
bool account_for_broken_routes